From 763045513d6227a59bdb2a3a772740c3be97ac01 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 29 Apr 2023 22:29:21 +0800 Subject: [PATCH] ci(bundle): detach `git.vim` --- .ci/detach_plugin.sh | 58 +++++++++++++++++++++++++++++++++++++ .github/workflows/async.yml | 2 +- bundle/git.vim/README.md | 6 +--- 3 files changed, 60 insertions(+), 6 deletions(-) diff --git a/.ci/detach_plugin.sh b/.ci/detach_plugin.sh index aa6b62155..c5bdb3f33 100755 --- a/.ci/detach_plugin.sh +++ b/.ci/detach_plugin.sh @@ -288,6 +288,64 @@ EOT rm -rf detach/$1 exit 0 ;; + git.vim) + git clone https://github.com/wsdjeg/git.vim.git detach/$1 + cd detach/$1 + _checkdir autoload/SpaceVim/api + _detact autoload/SpaceVim/api.vim + _detact autoload/SpaceVim/api/job.vim + _detact_bundle git.vim LICENSE + _detact_bundle git.vim LICENSE + _detact_bundle git.vim README.md + _detact_bundle git.vim README.md + _detact_bundle git.vim addon-info.json + _checkdir autoload/git/branch + _detact_bundle git.vim autoload/git.vim + _detact_bundle git.vim autoload/git/add.vim + _detact_bundle git.vim autoload/git/blame.vim + _detact_bundle git.vim autoload/git/branch.vim + _detact_bundle git.vim autoload/git/branch/manager.vim + _detact_bundle git.vim autoload/git/checkout.vim + _detact_bundle git.vim autoload/git/cherry_pick.vim + _detact_bundle git.vim autoload/git/clean.vim + _detact_bundle git.vim autoload/git/commit.vim + _detact_bundle git.vim autoload/git/config.vim + _detact_bundle git.vim autoload/git/diff.vim + _detact_bundle git.vim autoload/git/fetch.vim + _detact_bundle git.vim autoload/git/log.vim + _detact_bundle git.vim autoload/git/logger.vim + _detact_bundle git.vim autoload/git/merge.vim + _detact_bundle git.vim autoload/git/mv.vim + _detact_bundle git.vim autoload/git/pull.vim + _detact_bundle git.vim autoload/git/push.vim + _detact_bundle git.vim autoload/git/rebase.vim + _detact_bundle git.vim autoload/git/reflog.vim + _detact_bundle git.vim autoload/git/remote.vim + _detact_bundle git.vim autoload/git/reset.vim + _detact_bundle git.vim autoload/git/rm.vim + _detact_bundle git.vim autoload/git/stash.vim + _detact_bundle git.vim autoload/git/status.vim + _checkdir doc + _detact_bundle git.vim doc/git.txt + _checkdir plugin + _detact_bundle git.vim plugin/git.vim + _checkdir syntax + _detact_bundle git.vim syntax/git-blame.vim + _detact_bundle git.vim syntax/git-commit.vim + _detact_bundle git.vim syntax/git-config.vim + _detact_bundle git.vim syntax/git-log.vim + _detact_bundle git.vim syntax/git-rebase.vim + _detact_bundle git.vim syntax/git-reflog.vim + git add . + git config user.email "wsdjeg@qq.com" + git config user.name "SpaceVimBot" + git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" + git remote add wsdjeg_git_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/git.vim.git + git push wsdjeg_git_vim master + cd - + rm -rf detach/$1 + exit 0 + ;; vim-cheat) git clone https://github.com/wsdjeg/vim-cheat.git detach/$1 cd detach/$1 diff --git a/.github/workflows/async.yml b/.github/workflows/async.yml index 0f82fb2d2..232b14db9 100644 --- a/.github/workflows/async.yml +++ b/.github/workflows/async.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - detachPlugin: ["flygrep", "dein-ui", "vim-todo", "iedit", "scrollbar.vim", "vim-chat", "vim-cheat", "xmake.vim", "github.vim", "JavaUnit.vim"] + detachPlugin: ["flygrep", "dein-ui", "vim-todo", "iedit", "scrollbar.vim", "vim-chat", "vim-cheat", "xmake.vim", "github.vim", "JavaUnit.vim", "git.vim"] runs-on: ubuntu-latest steps: - name: Checkout diff --git a/bundle/git.vim/README.md b/bundle/git.vim/README.md index 0f86a2b90..fdff8f7e8 100644 --- a/bundle/git.vim/README.md +++ b/bundle/git.vim/README.md @@ -56,8 +56,4 @@ This plugin adds extensive support for [git](https://git-scm.com/). ## Feedback -This plugin is based on SpaceVim's API, make sure your SpaceVim is the latest version. - -To report bug or request new features about git.vim, please send me email. - -wsdjeg@outlook.com +The development of this plugin is in [`SpaceVim/bundle/git.vim`](https://github.com/SpaceVim/SpaceVim/tree/master/bundle/git.vim) directory.