Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions bitfuckit/integrations/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,18 @@ regedit /s integrations/tortoisegit/bitfuckit-context-menu.reg

=== git-cola

git-cola supports custom actions in its config.
git-cola reads `guitool.*` entries from git config and lists them in its
Actions menu (no plugin code required).

*Install integration:*
[source,bash]
----
mkdir -p ~/.config/git-cola
cp integrations/git-cola/actions.py ~/.config/git-cola/
git config --global include.path "$(pwd)/integrations/git-cola/guitool.config"
----

Or copy the `[guitool "..."]` sections from `integrations/git-cola/guitool.config`
into `~/.gitconfig`.

=== Gittyup

Gittyup can be extended with custom plugins.
Expand Down
105 changes: 0 additions & 105 deletions bitfuckit/integrations/git-cola/actions.py

This file was deleted.

36 changes: 36 additions & 0 deletions bitfuckit/integrations/git-cola/guitool.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# SPDX-License-Identifier: MPL-2.0-or-later
# git-cola custom actions for bitfuckit integration
#
# git-cola reads `guitool.*` entries from git config and shows them in its
# Actions menu (no Python plugin required). Names use `Bitbucket/<Action>`
# so they appear under a single "Bitbucket" submenu.
#
# Install (one of):
# git config --global include.path "$(pwd)/integrations/git-cola/guitool.config"
# or copy these sections into ~/.gitconfig (or a repo's .git/config).

[guitool "Bitbucket/Create PR"]
cmd = bitfuckit pr create --branch $(git rev-parse --abbrev-ref HEAD)
noconsole = false
norescan = true

[guitool "Bitbucket/List PRs"]
cmd = bitfuckit pr list
noconsole = false
norescan = true

[guitool "Bitbucket/Mirror Repository"]
cmd = bitfuckit mirror $(basename $(git rev-parse --show-toplevel))
confirm = true
noconsole = false
norescan = true

[guitool "Bitbucket/Pipeline Status"]
cmd = bitfuckit pipeline status
noconsole = false
norescan = true

[guitool "Bitbucket/Auth Status"]
cmd = bitfuckit auth status
noconsole = false
norescan = true
Loading