diff options
author | sudoforge <no-reply@sudoforge.com> | 2024-08-24 08:08:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-24 08:08:00 -0700 |
commit | 2004fa79e6ae7645d964a03e2ae2dd808f7d486a (patch) | |
tree | 64f3d5291d6957bd57fdb168b6aa10452f0fa1cb /bridge/gitlab | |
parent | 63295b1106e0ad01bc1e0d682b71df14558b293a (diff) | |
download | git-bug-2004fa79e6ae7645d964a03e2ae2dd808f7d486a.tar.gz |
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
Diffstat (limited to 'bridge/gitlab')
-rw-r--r-- | bridge/gitlab/config.go | 10 | ||||
-rw-r--r-- | bridge/gitlab/config_test.go | 22 | ||||
-rw-r--r-- | bridge/gitlab/event.go | 2 | ||||
-rw-r--r-- | bridge/gitlab/export.go | 14 | ||||
-rw-r--r-- | bridge/gitlab/export_test.go | 14 | ||||
-rw-r--r-- | bridge/gitlab/gitlab.go | 4 | ||||
-rw-r--r-- | bridge/gitlab/gitlab_api.go | 2 | ||||
-rw-r--r-- | bridge/gitlab/import.go | 10 | ||||
-rw-r--r-- | bridge/gitlab/import_test.go | 20 |
9 files changed, 49 insertions, 49 deletions
diff --git a/bridge/gitlab/config.go b/bridge/gitlab/config.go index 9411ba2e..13864771 100644 --- a/bridge/gitlab/config.go +++ b/bridge/gitlab/config.go @@ -10,11 +10,11 @@ import ( "github.com/pkg/errors" "github.com/xanzy/go-gitlab" - "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/input" - "github.com/MichaelMure/git-bug/repository" + "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/input" + "github.com/git-bug/git-bug/repository" ) var ( diff --git a/bridge/gitlab/config_test.go b/bridge/gitlab/config_test.go index 43ed649a..2814b482 100644 --- a/bridge/gitlab/config_test.go +++ b/bridge/gitlab/config_test.go @@ -22,57 +22,57 @@ func TestProjectPath(t *testing.T) { { name: "default url", args: args{ - url: "https://gitlab.com/MichaelMure/git-bug", + url: "https://gitlab.com/git-bug/git-bug", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "multiple sub groups", args: args{ - url: "https://gitlab.com/MichaelMure/group/subgroup/git-bug", + url: "https://gitlab.com/git-bug/group/subgroup/git-bug", }, want: want{ - path: "MichaelMure/group/subgroup/git-bug", + path: "git-bug/group/subgroup/git-bug", err: nil, }, }, { name: "default url with git extension", args: args{ - url: "https://gitlab.com/MichaelMure/git-bug.git", + url: "https://gitlab.com/git-bug/git-bug.git", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "url with git protocol", args: args{ - url: "git://gitlab.com/MichaelMure/git-bug.git", + url: "git://gitlab.com/git-bug/git-bug.git", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "ssh url", args: args{ - url: "git@gitlab.com/MichaelMure/git-bug.git", + url: "git@gitlab.com/git-bug/git-bug.git", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "bad url", args: args{ - url: "---,%gitlab.com/MichaelMure/git-bug.git", + url: "---,%gitlab.com/git-bug/git-bug.git", }, want: want{ err: ErrBadProjectURL, diff --git a/bridge/gitlab/event.go b/bridge/gitlab/event.go index 0653269d..92592e4d 100644 --- a/bridge/gitlab/event.go +++ b/bridge/gitlab/event.go @@ -7,7 +7,7 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" ) // Event represents a unified GitLab event (note, label or state event). diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go index 8cf8decf..040ace41 100644 --- a/bridge/gitlab/export.go +++ b/bridge/gitlab/export.go @@ -10,13 +10,13 @@ import ( "github.com/pkg/errors" "github.com/xanzy/go-gitlab" - "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/entities/bug" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "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/entities/bug" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) var ( diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go index 7c826822..bbc2b11c 100644 --- a/bridge/gitlab/export_test.go +++ b/bridge/gitlab/export_test.go @@ -11,16 +11,16 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" "github.com/stretchr/testify/require" - "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/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "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/repository" + "github.com/git-bug/git-bug/util/interrupt" ) const ( diff --git a/bridge/gitlab/gitlab.go b/bridge/gitlab/gitlab.go index 3625a9bb..864d60c9 100644 --- a/bridge/gitlab/gitlab.go +++ b/bridge/gitlab/gitlab.go @@ -5,8 +5,8 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" ) const ( diff --git a/bridge/gitlab/gitlab_api.go b/bridge/gitlab/gitlab_api.go index c00baf9d..79d2bfef 100644 --- a/bridge/gitlab/gitlab_api.go +++ b/bridge/gitlab/gitlab_api.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" "github.com/xanzy/go-gitlab" ) diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go index e4330b4c..43289e0d 100644 --- a/bridge/gitlab/import.go +++ b/bridge/gitlab/import.go @@ -8,11 +8,11 @@ import ( "github.com/xanzy/go-gitlab" - "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/entity" - "github.com/MichaelMure/git-bug/util/text" + "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/entity" + "github.com/git-bug/git-bug/util/text" ) // gitlabImporter implement the Importer interface diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go index bed93a80..2190369b 100644 --- a/bridge/gitlab/import_test.go +++ b/bridge/gitlab/import_test.go @@ -9,15 +9,15 @@ import ( "github.com/stretchr/testify/require" - "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/entities/bug" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "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/entities/bug" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) func TestGitlabImport(t *testing.T) { @@ -73,7 +73,7 @@ func TestGitlabImport(t *testing.T) { bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "complex issue", "initial comment", nil), - bug.NewAddCommentOp(author, 0, "### header\n\n**bold**\n\n_italic_\n\n> with quote\n\n`inline code`\n\n```\nmultiline code\n```\n\n- bulleted\n- list\n\n1. numbered\n1. list\n\n- [ ] task\n- [x] list\n\n@MichaelMure mention\n\n#2 reference issue\n#3 auto-reference issue", nil), + bug.NewAddCommentOp(author, 0, "### header\n\n**bold**\n\n_italic_\n\n> with quote\n\n`inline code`\n\n```\nmultiline code\n```\n\n- bulleted\n- list\n\n1. numbered\n1. list\n\n- [ ] task\n- [x] list\n\n@git-bug mention\n\n#2 reference issue\n#3 auto-reference issue", nil), bug.NewSetTitleOp(author, 0, "complex issue edited", "complex issue"), bug.NewSetTitleOp(author, 0, "complex issue", "complex issue edited"), bug.NewSetStatusOp(author, 0, common.ClosedStatus), |