From 2004fa79e6ae7645d964a03e2ae2dd808f7d486a Mon Sep 17 00:00:00 2001 From: sudoforge Date: Sat, 24 Aug 2024 08:08:00 -0700 Subject: feat: update references to the git-bug organization (#1249) The repository was recently moved to the git-bug organization on github. This change refactors references to the repository to ensure that they use the updated owner URI. Closes: #1243 Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff --- commands/bridge/bridge.go | 4 ++-- commands/bridge/bridge_auth.go | 6 +++--- commands/bridge/bridge_auth_addtoken.go | 12 ++++++------ commands/bridge/bridge_auth_rm.go | 6 +++--- commands/bridge/bridge_auth_show.go | 6 +++--- commands/bridge/bridge_new.go | 27 +++++++++++++-------------- commands/bridge/bridge_pull.go | 10 +++++----- commands/bridge/bridge_push.go | 10 +++++----- commands/bridge/bridge_rm.go | 6 +++--- commands/bug/bug.go | 18 +++++++++--------- commands/bug/bug_comment.go | 4 ++-- commands/bug/bug_comment_add.go | 6 +++--- commands/bug/bug_comment_add_test.go | 2 +- commands/bug/bug_comment_edit.go | 4 ++-- commands/bug/bug_comment_edit_test.go | 2 +- commands/bug/bug_comment_test.go | 6 +++--- commands/bug/bug_deselect.go | 6 +++--- commands/bug/bug_label.go | 2 +- commands/bug/bug_label_new.go | 4 ++-- commands/bug/bug_label_rm.go | 4 ++-- commands/bug/bug_new.go | 6 +++--- commands/bug/bug_new_test.go | 2 +- commands/bug/bug_rm.go | 2 +- commands/bug/bug_rm_test.go | 2 +- commands/bug/bug_select.go | 8 ++++---- commands/bug/bug_show.go | 10 +++++----- commands/bug/bug_status.go | 2 +- commands/bug/bug_status_close.go | 2 +- commands/bug/bug_status_open.go | 2 +- commands/bug/bug_test.go | 4 ++-- commands/bug/bug_title.go | 2 +- commands/bug/bug_title_edit.go | 6 +++--- commands/bug/completion.go | 10 +++++----- commands/bug/input/input.go | 4 ++-- commands/bug/testenv/testenv.go | 6 +++--- commands/cmdjson/bug.go | 4 ++-- commands/cmdjson/json_common.go | 6 +++--- commands/commands.go | 2 +- commands/completion/helper_completion.go | 6 +++--- commands/execenv/env.go | 4 ++-- commands/execenv/env_testing.go | 4 ++-- commands/execenv/loading.go | 8 ++++---- commands/input/input.go | 2 +- commands/input/prompt.go | 6 +++--- commands/label.go | 2 +- commands/pull.go | 6 +++--- commands/push.go | 4 ++-- commands/root.go | 8 ++++---- commands/select/select.go | 4 ++-- commands/select/select_test.go | 4 ++-- commands/termui.go | 4 ++-- commands/user/user.go | 10 +++++----- commands/user/user_adopt.go | 4 ++-- commands/user/user_new.go | 4 ++-- commands/user/user_new_test.go | 2 +- commands/user/user_show.go | 6 +++--- commands/version.go | 2 +- commands/webui.go | 16 ++++++++-------- commands/wipe.go | 2 +- 59 files changed, 166 insertions(+), 167 deletions(-) (limited to 'commands') diff --git a/commands/bridge/bridge.go b/commands/bridge/bridge.go index 9f7c5e50..17e64ac6 100644 --- a/commands/bridge/bridge.go +++ b/commands/bridge/bridge.go @@ -3,8 +3,8 @@ package bridgecmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/commands/execenv" ) func NewBridgeCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_auth.go b/commands/bridge/bridge_auth.go index f27004e0..4a2d2cc1 100644 --- a/commands/bridge/bridge_auth.go +++ b/commands/bridge/bridge_auth.go @@ -7,9 +7,9 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/colors" ) func newBridgeAuthCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_auth_addtoken.go b/commands/bridge/bridge_auth_addtoken.go index 5af27728..69f8ceea 100644 --- a/commands/bridge/bridge_auth_addtoken.go +++ b/commands/bridge/bridge_auth_addtoken.go @@ -10,12 +10,12 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) type bridgeAuthAddTokenOptions struct { diff --git a/commands/bridge/bridge_auth_rm.go b/commands/bridge/bridge_auth_rm.go index 33253e26..bc5101f5 100644 --- a/commands/bridge/bridge_auth_rm.go +++ b/commands/bridge/bridge_auth_rm.go @@ -3,9 +3,9 @@ package bridgecmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newBridgeAuthRm(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_auth_show.go b/commands/bridge/bridge_auth_show.go index 25c517d3..3d5630b5 100644 --- a/commands/bridge/bridge_auth_show.go +++ b/commands/bridge/bridge_auth_show.go @@ -8,9 +8,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newBridgeAuthShow(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_new.go b/commands/bridge/bridge_new.go index 07a555da..2f1363d9 100644 --- a/commands/bridge/bridge_new.go +++ b/commands/bridge/bridge_new.go @@ -9,12 +9,12 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/repository" ) type bridgeNewOptions struct { @@ -43,8 +43,7 @@ target: 1 name [default]: default Detected projects: -[1]: github.com/a-hilaly/git-bug -[2]: github.com/MichaelMure/git-bug +[1]: github.com/git-bug/git-bug [0]: Another project @@ -70,9 +69,9 @@ Successfully configured bridge: default git bug bridge new \ --name=default \ --target=github \ - --owner=$(OWNER) \ - --project=$(PROJECT) \ - --token=$(TOKEN) + --owner=example-owner + --project=example-repo \ + --token=$TOKEN # For Launchpad git bug bridge new \ @@ -83,9 +82,9 @@ git bug bridge new \ # For Gitlab git bug bridge new \ --name=default \ - --target=github \ - --url=https://github.com/michaelmure/git-bug \ - --token=$(TOKEN)`, + --target=gitlab \ + --url=https://github.com/example-org/example-repo \ + --token=$TOKEN`, PreRunE: execenv.LoadBackend(env), RunE: execenv.CloseBackend(env, func(cmd *cobra.Command, args []string) error { return runBridgeNew(env, options) diff --git a/commands/bridge/bridge_pull.go b/commands/bridge/bridge_pull.go index 03f4929a..5e9419b9 100644 --- a/commands/bridge/bridge_pull.go +++ b/commands/bridge/bridge_pull.go @@ -11,11 +11,11 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/interrupt" ) type bridgePullOptions struct { diff --git a/commands/bridge/bridge_push.go b/commands/bridge/bridge_push.go index 08f9b872..f432f6f4 100644 --- a/commands/bridge/bridge_push.go +++ b/commands/bridge/bridge_push.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/interrupt" ) func newBridgePushCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_rm.go b/commands/bridge/bridge_rm.go index f6279ade..94258e14 100644 --- a/commands/bridge/bridge_rm.go +++ b/commands/bridge/bridge_rm.go @@ -3,9 +3,9 @@ package bridgecmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newBridgeRm(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug.go b/commands/bug/bug.go index 55a1fa59..4cf18ab9 100644 --- a/commands/bug/bug.go +++ b/commands/bug/bug.go @@ -9,15 +9,15 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/cmdjson" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/cmdjson" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" + "github.com/git-bug/git-bug/util/colors" ) type bugOptions struct { diff --git a/commands/bug/bug_comment.go b/commands/bug/bug_comment.go index b037f688..68ae0af6 100644 --- a/commands/bug/bug_comment.go +++ b/commands/bug/bug_comment.go @@ -4,8 +4,8 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/colors" ) func newBugCommentCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_comment_add.go b/commands/bug/bug_comment_add.go index 132de233..dbf1e790 100644 --- a/commands/bug/bug_comment_add.go +++ b/commands/bug/bug_comment_add.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) type bugCommentNewOptions struct { diff --git a/commands/bug/bug_comment_add_test.go b/commands/bug/bug_comment_add_test.go index 55e285f4..b6a5ba61 100644 --- a/commands/bug/bug_comment_add_test.go +++ b/commands/bug/bug_comment_add_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugCommentNew(t *testing.T) { diff --git a/commands/bug/bug_comment_edit.go b/commands/bug/bug_comment_edit.go index e6f8d667..f1e10e02 100644 --- a/commands/bug/bug_comment_edit.go +++ b/commands/bug/bug_comment_edit.go @@ -3,8 +3,8 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" ) type bugCommentEditOptions struct { diff --git a/commands/bug/bug_comment_edit_test.go b/commands/bug/bug_comment_edit_test.go index 9e110a3b..21407ac6 100644 --- a/commands/bug/bug_comment_edit_test.go +++ b/commands/bug/bug_comment_edit_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugCommentEdit(t *testing.T) { diff --git a/commands/bug/bug_comment_test.go b/commands/bug/bug_comment_test.go index add48b21..e54cdab1 100644 --- a/commands/bug/bug_comment_test.go +++ b/commands/bug/bug_comment_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" - "github.com/MichaelMure/git-bug/commands/cmdtest" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/cmdtest" + "github.com/git-bug/git-bug/commands/execenv" ) func TestBugComment(t *testing.T) { diff --git a/commands/bug/bug_deselect.go b/commands/bug/bug_deselect.go index 5e9acc60..5a318274 100644 --- a/commands/bug/bug_deselect.go +++ b/commands/bug/bug_deselect.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - _select "github.com/MichaelMure/git-bug/commands/select" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/commands/execenv" + _select "github.com/git-bug/git-bug/commands/select" + "github.com/git-bug/git-bug/entities/bug" ) func newBugDeselectCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_label.go b/commands/bug/bug_label.go index ec076922..dfb1f879 100644 --- a/commands/bug/bug_label.go +++ b/commands/bug/bug_label.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugLabelCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_label_new.go b/commands/bug/bug_label_new.go index 9fff851c..20586ba8 100644 --- a/commands/bug/bug_label_new.go +++ b/commands/bug/bug_label_new.go @@ -3,8 +3,8 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) func newBugLabelNewCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_label_rm.go b/commands/bug/bug_label_rm.go index d389830f..91b24ccf 100644 --- a/commands/bug/bug_label_rm.go +++ b/commands/bug/bug_label_rm.go @@ -3,8 +3,8 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) func newBugLabelRmCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_new.go b/commands/bug/bug_new.go index e66967f9..2c5f5e19 100644 --- a/commands/bug/bug_new.go +++ b/commands/bug/bug_new.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) type bugNewOptions struct { diff --git a/commands/bug/bug_new_test.go b/commands/bug/bug_new_test.go index 210a4b0b..3a4a535f 100644 --- a/commands/bug/bug_new_test.go +++ b/commands/bug/bug_new_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugNew(t *testing.T) { diff --git a/commands/bug/bug_rm.go b/commands/bug/bug_rm.go index b9d3d525..5f3cc803 100644 --- a/commands/bug/bug_rm.go +++ b/commands/bug/bug_rm.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugRmCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_rm_test.go b/commands/bug/bug_rm_test.go index e0c2bbc5..2cc4d034 100644 --- a/commands/bug/bug_rm_test.go +++ b/commands/bug/bug_rm_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugRm(t *testing.T) { diff --git a/commands/bug/bug_select.go b/commands/bug/bug_select.go index c93cd7b1..ed0f3354 100644 --- a/commands/bug/bug_select.go +++ b/commands/bug/bug_select.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/execenv" - _select "github.com/MichaelMure/git-bug/commands/select" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/execenv" + _select "github.com/git-bug/git-bug/commands/select" + "github.com/git-bug/git-bug/entities/bug" ) func ResolveSelected(repo *cache.RepoCache, args []string) (*cache.BugCache, []string, error) { diff --git a/commands/bug/bug_show.go b/commands/bug/bug_show.go index ef20df2a..cc00b5ef 100644 --- a/commands/bug/bug_show.go +++ b/commands/bug/bug_show.go @@ -7,11 +7,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/cmdjson" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/commands/cmdjson" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/util/colors" ) type bugShowOptions struct { diff --git a/commands/bug/bug_status.go b/commands/bug/bug_status.go index c8542240..5323b276 100644 --- a/commands/bug/bug_status.go +++ b/commands/bug/bug_status.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugStatusCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_status_close.go b/commands/bug/bug_status_close.go index 7a8ae4de..c9a935bf 100644 --- a/commands/bug/bug_status_close.go +++ b/commands/bug/bug_status_close.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugStatusCloseCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_status_open.go b/commands/bug/bug_status_open.go index 0c0c02f0..d09584cd 100644 --- a/commands/bug/bug_status_open.go +++ b/commands/bug/bug_status_open.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugStatusOpenCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_test.go b/commands/bug/bug_test.go index c13e8db7..377936f7 100644 --- a/commands/bug/bug_test.go +++ b/commands/bug/bug_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" - . "github.com/MichaelMure/git-bug/commands/cmdtest" + "github.com/git-bug/git-bug/commands/bug/testenv" + . "github.com/git-bug/git-bug/commands/cmdtest" ) func Test_repairQuery(t *testing.T) { diff --git a/commands/bug/bug_title.go b/commands/bug/bug_title.go index af959fb7..6c81161d 100644 --- a/commands/bug/bug_title.go +++ b/commands/bug/bug_title.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugTitleCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_title_edit.go b/commands/bug/bug_title_edit.go index 2d6bafca..1d18a4f9 100644 --- a/commands/bug/bug_title_edit.go +++ b/commands/bug/bug_title_edit.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) type bugTitleEditOptions struct { diff --git a/commands/bug/completion.go b/commands/bug/completion.go index 62bf658a..d313ef37 100644 --- a/commands/bug/completion.go +++ b/commands/bug/completion.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - _select "github.com/MichaelMure/git-bug/commands/select" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + _select "github.com/git-bug/git-bug/commands/select" + "github.com/git-bug/git-bug/entities/bug" ) // BugCompletion complete a bug id diff --git a/commands/bug/input/input.go b/commands/bug/input/input.go index 23c20acb..93b7391e 100644 --- a/commands/bug/input/input.go +++ b/commands/bug/input/input.go @@ -7,8 +7,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/commands/input" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/commands/input" + "github.com/git-bug/git-bug/repository" ) const messageFilename = "BUG_MESSAGE_EDITMSG" diff --git a/commands/bug/testenv/testenv.go b/commands/bug/testenv/testenv.go index ffa428d4..6ffd1c62 100644 --- a/commands/bug/testenv/testenv.go +++ b/commands/bug/testenv/testenv.go @@ -6,8 +6,8 @@ import ( "github.com/fatih/color" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entity" ) const ( @@ -28,7 +28,7 @@ func NewTestEnvAndUser(t *testing.T) (*execenv.Env, entity.Id) { // git-bug command output is consistent in all test scenarios. // // See: - // - https://github.com/MichaelMure/git-bug/issues/926 + // - https://github.com/git-bug/git-bug/issues/926 // - https://github.com/golang/go/issues/57671 // - https://github.com/golang/go/blob/f721fa3be9bb52524f97b409606f9423437535e8/src/cmd/go/internal/test/test.go#L1180-L1208 // - https://github.com/golang/go/issues/34877 diff --git a/commands/cmdjson/bug.go b/commands/cmdjson/bug.go index c5489caa..a7f894ed 100644 --- a/commands/cmdjson/bug.go +++ b/commands/cmdjson/bug.go @@ -1,8 +1,8 @@ package cmdjson import ( - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/bug" ) type BugSnapshot struct { diff --git a/commands/cmdjson/json_common.go b/commands/cmdjson/json_common.go index 34077915..813d09b7 100644 --- a/commands/cmdjson/json_common.go +++ b/commands/cmdjson/json_common.go @@ -3,9 +3,9 @@ package cmdjson import ( "time" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/util/lamport" ) type Identity struct { diff --git a/commands/commands.go b/commands/commands.go index 173a0904..00c7b2dc 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) type commandOptions struct { diff --git a/commands/completion/helper_completion.go b/commands/completion/helper_completion.go index db6d8969..75d74423 100644 --- a/commands/completion/helper_completion.go +++ b/commands/completion/helper_completion.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/execenv" ) type ValidArgsFunction func(cmd *cobra.Command, args []string, toComplete string) (completions []string, directives cobra.ShellCompDirective) diff --git a/commands/execenv/env.go b/commands/execenv/env.go index e693807e..eea704cd 100644 --- a/commands/execenv/env.go +++ b/commands/execenv/env.go @@ -9,8 +9,8 @@ import ( "github.com/mattn/go-isatty" "golang.org/x/term" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) const RootCommandName = "git-bug" diff --git a/commands/execenv/env_testing.go b/commands/execenv/env_testing.go index 15d7b646..c7a0af42 100644 --- a/commands/execenv/env_testing.go +++ b/commands/execenv/env_testing.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) var _ In = &TestIn{} diff --git a/commands/execenv/loading.go b/commands/execenv/loading.go index 7838ea6a..3d63887a 100644 --- a/commands/execenv/loading.go +++ b/commands/execenv/loading.go @@ -8,10 +8,10 @@ import ( "github.com/vbauerster/mpb/v8" "github.com/vbauerster/mpb/v8/decor" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) // LoadRepo is a pre-run function that load the repository for use in a command diff --git a/commands/input/input.go b/commands/input/input.go index 90c3cf51..51d080b6 100644 --- a/commands/input/input.go +++ b/commands/input/input.go @@ -15,7 +15,7 @@ import ( "github.com/go-git/go-billy/v5/util" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/repository" ) // LaunchEditorWithTemplate will launch an editor as LaunchEditor do, but with a diff --git a/commands/input/prompt.go b/commands/input/prompt.go index 576d45bb..4acf83cf 100644 --- a/commands/input/prompt.go +++ b/commands/input/prompt.go @@ -13,9 +13,9 @@ import ( "golang.org/x/crypto/ssh/terminal" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/util/colors" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/util/colors" + "github.com/git-bug/git-bug/util/interrupt" ) // PromptValidator is a validator for a user entry diff --git a/commands/label.go b/commands/label.go index d59479b4..675101c0 100644 --- a/commands/label.go +++ b/commands/label.go @@ -3,7 +3,7 @@ package commands import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newLabelCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/pull.go b/commands/pull.go index 91eadcf8..90f23bfa 100644 --- a/commands/pull.go +++ b/commands/pull.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entity" ) func newPullCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/push.go b/commands/push.go index 254bbb27..38492517 100644 --- a/commands/push.go +++ b/commands/push.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newPushCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/root.go b/commands/root.go index 01c817ee..e966751c 100644 --- a/commands/root.go +++ b/commands/root.go @@ -8,10 +8,10 @@ import ( "github.com/spf13/cobra" - bridgecmd "github.com/MichaelMure/git-bug/commands/bridge" - bugcmd "github.com/MichaelMure/git-bug/commands/bug" - "github.com/MichaelMure/git-bug/commands/execenv" - usercmd "github.com/MichaelMure/git-bug/commands/user" + bridgecmd "github.com/git-bug/git-bug/commands/bridge" + bugcmd "github.com/git-bug/git-bug/commands/bug" + "github.com/git-bug/git-bug/commands/execenv" + usercmd "github.com/git-bug/git-bug/commands/user" ) // These variables are initialized externally during the build. See the Makefile. diff --git a/commands/select/select.go b/commands/select/select.go index cd12250e..0e6ee872 100644 --- a/commands/select/select.go +++ b/commands/select/select.go @@ -8,8 +8,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entity" ) type ErrNoValidId struct { diff --git a/commands/select/select_test.go b/commands/select/select_test.go index 4425c275..9ac18689 100644 --- a/commands/select/select_test.go +++ b/commands/select/select_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) func TestSelect(t *testing.T) { diff --git a/commands/termui.go b/commands/termui.go index 08eba1d6..d82343fc 100644 --- a/commands/termui.go +++ b/commands/termui.go @@ -3,8 +3,8 @@ package commands import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/termui" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/termui" ) func newTermUICommand(env *execenv.Env) *cobra.Command { diff --git a/commands/user/user.go b/commands/user/user.go index de5c1ccd..99833ba9 100644 --- a/commands/user/user.go +++ b/commands/user/user.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/cmdjson" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/cmdjson" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/colors" ) type userOptions struct { diff --git a/commands/user/user_adopt.go b/commands/user/user_adopt.go index 47f0f04e..a5fe68c5 100644 --- a/commands/user/user_adopt.go +++ b/commands/user/user_adopt.go @@ -3,8 +3,8 @@ package usercmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newUserAdoptCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/user/user_new.go b/commands/user/user_new.go index ba4198f8..9cc04fa7 100644 --- a/commands/user/user_new.go +++ b/commands/user/user_new.go @@ -3,8 +3,8 @@ package usercmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/commands/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/input" ) type userNewOptions struct { diff --git a/commands/user/user_new_test.go b/commands/user/user_new_test.go index 619e5de6..865f76a7 100644 --- a/commands/user/user_new_test.go +++ b/commands/user/user_new_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestUserNewCommand(t *testing.T) { diff --git a/commands/user/user_show.go b/commands/user/user_show.go index 049eee93..0fbed190 100644 --- a/commands/user/user_show.go +++ b/commands/user/user_show.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) type userShowOptions struct { diff --git a/commands/version.go b/commands/version.go index 957cc653..189a2e35 100644 --- a/commands/version.go +++ b/commands/version.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) type versionOptions struct { diff --git a/commands/webui.go b/commands/webui.go index 96cdbad6..db69d7d3 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -21,14 +21,14 @@ import ( "github.com/skratchdot/open-golang/open" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/api/auth" - "github.com/MichaelMure/git-bug/api/graphql" - httpapi "github.com/MichaelMure/git-bug/api/http" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/webui" + "github.com/git-bug/git-bug/api/auth" + "github.com/git-bug/git-bug/api/graphql" + httpapi "github.com/git-bug/git-bug/api/http" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/webui" ) const webUIOpenConfigKey = "git-bug.webui.open" diff --git a/commands/wipe.go b/commands/wipe.go index ce9da032..2f378e90 100644 --- a/commands/wipe.go +++ b/commands/wipe.go @@ -3,7 +3,7 @@ package commands import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newWipeCommand(env *execenv.Env) *cobra.Command { -- cgit