From 2004fa79e6ae7645d964a03e2ae2dd808f7d486a Mon Sep 17 00:00:00 2001 From: sudoforge Date: Sat, 24 Aug 2024 08:08:00 -0700 Subject: [PATCH] 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 --- CONTRIBUTING.md | 2 +- Makefile | 2 +- README.md | 18 ++--- api/auth/context.go | 4 +- api/auth/middleware.go | 2 +- .../connections/connection_template.go | 2 +- api/graphql/connections/edges.go | 2 +- api/graphql/connections/gen_comment.go | 4 +- api/graphql/connections/gen_identity.go | 2 +- api/graphql/connections/gen_label.go | 4 +- api/graphql/connections/gen_lazy_bug.go | 4 +- api/graphql/connections/gen_lazy_identity.go | 4 +- api/graphql/connections/gen_operation.go | 4 +- api/graphql/connections/gen_timeline.go | 4 +- api/graphql/gqlgen.yml | 20 ++--- api/graphql/graph/bug.generated.go | 10 +-- api/graphql/graph/identity.generated.go | 4 +- api/graphql/graph/label.generated.go | 4 +- api/graphql/graph/mutations.generated.go | 4 +- api/graphql/graph/operations.generated.go | 12 +-- api/graphql/graph/prelude.generated.go | 2 +- api/graphql/graph/repository.generated.go | 2 +- api/graphql/graph/root.generated.go | 2 +- api/graphql/graph/root_.generated.go | 2 +- api/graphql/graph/timeline.generated.go | 10 +-- api/graphql/graph/types.generated.go | 8 +- api/graphql/graphql_test.go | 8 +- api/graphql/handler.go | 6 +- api/graphql/models/gen_models.go | 6 +- api/graphql/models/lazy_bug.go | 10 +-- api/graphql/models/lazy_identity.go | 6 +- api/graphql/models/models.go | 2 +- api/graphql/resolvers/bug.go | 10 +-- api/graphql/resolvers/color.go | 2 +- api/graphql/resolvers/comment.go | 8 +- api/graphql/resolvers/identity.go | 4 +- api/graphql/resolvers/label.go | 4 +- api/graphql/resolvers/mutation.go | 12 +-- api/graphql/resolvers/operations.go | 6 +- api/graphql/resolvers/query.go | 6 +- api/graphql/resolvers/repo.go | 14 ++-- api/graphql/resolvers/root.go | 4 +- api/graphql/resolvers/timeline.go | 8 +- api/graphql/tracer.go | 2 +- api/http/git_file_handler.go | 4 +- api/http/git_file_handlers_test.go | 6 +- api/http/git_file_upload_handler.go | 4 +- bridge/bridges.go | 14 ++-- bridge/core/auth/credential.go | 4 +- bridge/core/auth/credential_base.go | 4 +- bridge/core/auth/credential_test.go | 4 +- bridge/core/auth/login.go | 2 +- bridge/core/auth/login_password.go | 2 +- bridge/core/auth/token.go | 2 +- bridge/core/bridge.go | 4 +- bridge/core/config.go | 6 +- bridge/core/export.go | 2 +- bridge/core/import.go | 2 +- bridge/core/interfaces.go | 2 +- bridge/github/client.go | 2 +- bridge/github/config.go | 10 +-- bridge/github/config_test.go | 46 ++++++------ bridge/github/export.go | 14 ++-- bridge/github/export_test.go | 14 ++-- bridge/github/github.go | 4 +- bridge/github/import.go | 10 +-- bridge/github/import_integration_test.go | 10 +-- bridge/github/import_test.go | 73 +++++++++++++------ bridge/gitlab/config.go | 10 +-- bridge/gitlab/config_test.go | 22 +++--- bridge/gitlab/event.go | 2 +- bridge/gitlab/export.go | 14 ++-- bridge/gitlab/export_test.go | 14 ++-- bridge/gitlab/gitlab.go | 4 +- bridge/gitlab/gitlab_api.go | 2 +- bridge/gitlab/import.go | 10 +-- bridge/gitlab/import_test.go | 20 ++--- bridge/jira/client.go | 2 +- bridge/jira/config.go | 12 +-- bridge/jira/export.go | 12 +-- bridge/jira/import.go | 16 ++-- bridge/jira/jira.go | 6 +- bridge/launchpad/config.go | 6 +- bridge/launchpad/import.go | 8 +- bridge/launchpad/launchpad.go | 2 +- cache/bug_cache.go | 10 +-- cache/bug_excerpt.go | 8 +- cache/bug_subcache.go | 10 +-- cache/cached.go | 8 +- cache/filter.go | 6 +- cache/identity_cache.go | 6 +- cache/identity_excerpt.go | 2 +- cache/identity_subcache.go | 6 +- cache/lru_id_cache.go | 2 +- cache/multi_repo_cache.go | 2 +- cache/repo_cache.go | 8 +- cache/repo_cache_common.go | 8 +- cache/repo_cache_test.go | 12 +-- cache/subcache.go | 6 +- cache/with_snapshot.go | 4 +- 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 +- doc/feature_matrix.md | 2 +- doc/gen_docs.go | 2 +- doc/howto-github.md | 14 ++-- doc/man/git-bug-bridge-new.1 | 4 +- doc/md/git-bug_bridge_new.md | 6 +- entities/bug/bug.go | 10 +-- entities/bug/bug_actions.go | 8 +- entities/bug/comment.go | 8 +- entities/bug/label.go | 2 +- entities/bug/op_add_comment.go | 12 +-- entities/bug/op_add_comment_test.go | 8 +- entities/bug/op_create.go | 12 +-- entities/bug/op_create_test.go | 10 +-- entities/bug/op_edit_comment.go | 12 +-- entities/bug/op_edit_comment_test.go | 8 +- entities/bug/op_label_change.go | 8 +- entities/bug/op_label_change_test.go | 6 +- entities/bug/op_set_metadata.go | 6 +- entities/bug/op_set_status.go | 10 +-- entities/bug/op_set_status_test.go | 8 +- entities/bug/op_set_title.go | 10 +-- entities/bug/op_set_title_test.go | 6 +- entities/bug/operation.go | 4 +- entities/bug/operation_test.go | 8 +- entities/bug/resolver.go | 4 +- entities/bug/snapshot.go | 8 +- entities/bug/timeline.go | 8 +- entities/identity/identity.go | 8 +- entities/identity/identity_actions.go | 4 +- entities/identity/identity_actions_test.go | 4 +- entities/identity/identity_stub.go | 8 +- entities/identity/identity_test.go | 6 +- entities/identity/identity_user.go | 4 +- entities/identity/interface.go | 8 +- entities/identity/key.go | 2 +- entities/identity/key_test.go | 2 +- entities/identity/resolver.go | 4 +- entities/identity/version.go | 8 +- entities/identity/version_test.go | 6 +- entity/dag/clock.go | 2 +- entity/dag/common_test.go | 6 +- entity/dag/entity.go | 8 +- entity/dag/entity_actions.go | 6 +- entity/dag/entity_actions_test.go | 4 +- entity/dag/example_test.go | 10 +-- entity/dag/interface.go | 6 +- entity/dag/op_noop.go | 4 +- entity/dag/op_noop_test.go | 4 +- entity/dag/op_set_metadata.go | 6 +- entity/dag/op_set_metadata_test.go | 6 +- entity/dag/operation.go | 6 +- entity/dag/operation_pack.go | 8 +- entity/dag/operation_pack_test.go | 6 +- entity/dag/operation_testing.go | 6 +- entity/err.go | 4 +- entity/id.go | 2 +- entity/id_interleaved.go | 2 +- git-bug.go | 2 +- go.mod | 2 +- misc/completion/gen_completion.go | 2 +- misc/random_bugs/cmd/main.go | 6 +- misc/random_bugs/create_random_bugs.go | 6 +- query/parser.go | 2 +- query/parser_test.go | 2 +- query/query.go | 2 +- repository/gogit.go | 2 +- repository/mock_repo.go | 4 +- repository/repo.go | 2 +- repository/repo_testing.go | 2 +- termui/bug_table.go | 8 +- termui/help_bar.go | 2 +- termui/label_select.go | 4 +- termui/show_bug.go | 10 +-- termui/termui.go | 10 +-- tests/read_bugs_test.go | 6 +- webui/src/__tests__/query.ts | 8 +- 235 files changed, 784 insertions(+), 756 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e929d6721c9ca3c7bf6aa2e76222089b4daef194..4d3fd58aec936fc76bc49860f8bf1da6c5577c10 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ show a command that [clones the repository][how-to-clone] using SSH, and places it in `~/code/git-bug`. ``` -git clone git@github.com:MichaelMure/git-bug ~/code/git-bug +git clone git@github.com:git-bug/git-bug ~/code/git-bug ``` > [!IMPORTANT] diff --git a/Makefile b/Makefile index cfc59984f65a12ce471a69c55f0596594fecf6de..8acd2c654715c36250b39e169496cddece4ff601 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ ifeq ($(UNAME_S),Darwin) XARGS:=xargs endif -COMMANDS_PATH:=github.com/MichaelMure/git-bug/commands +COMMANDS_PATH:=github.com/git-bug/git-bug/commands LDFLAGS:=-X ${COMMANDS_PATH}.GitCommit=${GIT_COMMIT} \ -X ${COMMANDS_PATH}.GitLastTag=${GIT_LAST_TAG} \ -X ${COMMANDS_PATH}.GitExactTag=${GIT_EXACT_TAG} diff --git a/README.md b/README.md index 41b5e72a9a65e7b24231939a4a4b4e5bf82766ab..66505178f256466e3e24747ad9480e077ae155c7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

git-bug

@@ -8,8 +8,8 @@ [![Backers on Open Collective](https://opencollective.com/git-bug/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/git-bug/sponsors/badge.svg)](#sponsors) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3+-blue.svg)](http://www.gnu.org/licenses/gpl-3.0) -[![GoDoc](https://godoc.org/github.com/MichaelMure/git-bug?status.svg)](https://godoc.org/github.com/MichaelMure/git-bug) -[![Go Report Card](https://goreportcard.com/badge/github.com/MichaelMure/git-bug)](https://goreportcard.com/report/github.com/MichaelMure/git-bug) +[![GoDoc](https://godoc.org/github.com/git-bug/git-bug?status.svg)](https://godoc.org/github.com/git-bug/git-bug) +[![Go Report Card](https://goreportcard.com/badge/github.com/git-bug/git-bug)](https://goreportcard.com/report/github.com/git-bug/git-bug) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/the-git-bug/Lobby) @@ -38,7 +38,7 @@ Individually, those pieces are not especially complex but doing everything make
Pre-compiled binaries -1. Go to the [release page](https://github.com/MichaelMure/git-bug/releases/latest) and download the appropriate binary for your system. +1. Go to the [release page](https://github.com/git-bug/git-bug/releases/latest) and download the appropriate binary for your system. 2. Copy the binary anywhere in your $PATH 3. Rename the binary to `git-bug` (or `git-bug.exe` on windows) @@ -88,7 +88,7 @@ Or from the ports collection
Compile from git (unstable) ```shell -git clone https://github.com/MichaelMure/git-bug.git +git clone https://github.com/git-bug/git-bug.git cd git-bug make install ``` @@ -110,7 +110,7 @@ There are multiple ways to use `git-bug`: Native workflow

-This is the pure `git-bug` experience. In a similar fashion as with code, use `git bug push` and `git bug pull` to push and pull your bugs between git remotes and collaborate with your teammate. +This is the pure `git-bug` experience. In a similar fashion as with code, use `git bug push` and `git bug pull` to push and pull your bugs between git remotes and collaborate with your teammate.
@@ -236,7 +236,7 @@ Or manually: git bug bridge new \ --name= \ --target=github \ - --url=https://github.com/MichaelMure/git-bug \ + --url=https://github.com/git-bug/git-bug \ --login= \ --token= ``` @@ -285,7 +285,7 @@ Additional planned feature: PRs accepted. Drop by the [Gitter lobby](https://gitter.im/the-git-bug/Lobby) or the [Matrix room](https://matrix.to/#/#the-git-bug_Lobby:gitter.im) for a chat, look at the [feature matrix](doc/feature_matrix.md) or browse the issues to see what is worked on or discussed. ```shell -git clone git@github.com:MichaelMure/git-bug.git +git clone git@github.com:git-bug/git-bug.git ``` You can now run `make` to build the project, or `make install` to install the binary in `$GOPATH/bin/`. @@ -303,7 +303,7 @@ go test ./commands -update ## Contributors :heart: This project exists thanks to all the people who contribute. - + ## Backers diff --git a/api/auth/context.go b/api/auth/context.go index 2547aaca2d983a7cf7b6ff9126e78c083007b2b0..1119e00f9cd8b5c527876880af985dddd23359cd 100644 --- a/api/auth/context.go +++ b/api/auth/context.go @@ -4,8 +4,8 @@ package auth import ( "context" - "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" ) // identityCtxKey is a unique context key, accessible only in this package. diff --git a/api/auth/middleware.go b/api/auth/middleware.go index d1d654cea60d51056c63285b29cb652f95d86f8f..d72354fe71c8c13bff1369cf44e987d01d70f61b 100644 --- a/api/auth/middleware.go +++ b/api/auth/middleware.go @@ -3,7 +3,7 @@ package auth import ( "net/http" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) func Middleware(fixedUserId entity.Id) func(http.Handler) http.Handler { diff --git a/api/graphql/connections/connection_template.go b/api/graphql/connections/connection_template.go index 037c3da58ffa4b4ca826a76e6927504dff866112..b97d1ece905cc83528ac467429e3716c91259eed 100644 --- a/api/graphql/connections/connection_template.go +++ b/api/graphql/connections/connection_template.go @@ -5,7 +5,7 @@ import ( "github.com/cheekybits/genny/generic" - "github.com/MichaelMure/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/api/graphql/models" ) // Name define the name of the connection diff --git a/api/graphql/connections/edges.go b/api/graphql/connections/edges.go index 4e37fcd9109afba9d512a827fdc4846c51a0b468..bb8f04ec416e5dd51a8751a1fecd573d2bcc9611 100644 --- a/api/graphql/connections/edges.go +++ b/api/graphql/connections/edges.go @@ -1,6 +1,6 @@ package connections -import "github.com/MichaelMure/git-bug/entity" +import "github.com/git-bug/git-bug/entity" // LazyBugEdge is a special relay edge used to implement a lazy loading connection type LazyBugEdge struct { diff --git a/api/graphql/connections/gen_comment.go b/api/graphql/connections/gen_comment.go index b7ee1601413bb8bc4bd0440832501dc6d0f452ff..1994aced18bd02e22582dc4036381a220ae00d68 100644 --- a/api/graphql/connections/gen_comment.go +++ b/api/graphql/connections/gen_comment.go @@ -7,8 +7,8 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" ) // BugCommentEdgeMaker define a function that take a bug.Comment and an offset and diff --git a/api/graphql/connections/gen_identity.go b/api/graphql/connections/gen_identity.go index 28a2b0199914f6a0dba40e4174109d8da6996575..cdd9c077fac54f79f811e558c98f671a9f1e20c5 100644 --- a/api/graphql/connections/gen_identity.go +++ b/api/graphql/connections/gen_identity.go @@ -7,7 +7,7 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/api/graphql/models" ) // IdentityEdgeMaker define a function that take a models.IdentityWrapper and an offset and diff --git a/api/graphql/connections/gen_label.go b/api/graphql/connections/gen_label.go index 6f265a8e62585b819d95e7108656bcb75b72a394..238305b4c39e047afa73ec999cd5911909fb42db 100644 --- a/api/graphql/connections/gen_label.go +++ b/api/graphql/connections/gen_label.go @@ -7,8 +7,8 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" ) // BugLabelEdgeMaker define a function that take a bug.Label and an offset and diff --git a/api/graphql/connections/gen_lazy_bug.go b/api/graphql/connections/gen_lazy_bug.go index a1f06a0ede596407cce9de706120d31a85431490..5a7af08f09468a4d01fa17a624c3f784711a672a 100644 --- a/api/graphql/connections/gen_lazy_bug.go +++ b/api/graphql/connections/gen_lazy_bug.go @@ -7,8 +7,8 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entity" ) // LazyBugEdgeMaker define a function that take a entity.Id and an offset and diff --git a/api/graphql/connections/gen_lazy_identity.go b/api/graphql/connections/gen_lazy_identity.go index 64ce5f4bbcbd6cebc977dafca298b1c895ae97fd..acb1d0486c45ac97fcabed03fa4daf1756df556f 100644 --- a/api/graphql/connections/gen_lazy_identity.go +++ b/api/graphql/connections/gen_lazy_identity.go @@ -7,8 +7,8 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entity" ) // LazyIdentityEdgeMaker define a function that take a entity.Id and an offset and diff --git a/api/graphql/connections/gen_operation.go b/api/graphql/connections/gen_operation.go index 848cebd6253cfd269e10e98c6a877e8baf87ed40..bfdf349167851e36823e96d59163595c2f386d98 100644 --- a/api/graphql/connections/gen_operation.go +++ b/api/graphql/connections/gen_operation.go @@ -7,8 +7,8 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entity/dag" ) // DagOperationEdgeMaker define a function that take a dag.Operation and an offset and diff --git a/api/graphql/connections/gen_timeline.go b/api/graphql/connections/gen_timeline.go index d3e10cec785c92014f2756583de7c35de39142f2..ea24f44c4c4801f63f7ed5766a11c45a972eec9d 100644 --- a/api/graphql/connections/gen_timeline.go +++ b/api/graphql/connections/gen_timeline.go @@ -7,8 +7,8 @@ package connections import ( "fmt" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" ) // BugTimelineItemEdgeMaker define a function that take a bug.TimelineItem and an offset and diff --git a/api/graphql/gqlgen.yml b/api/graphql/gqlgen.yml index 6ed6e52f1b289af9a9ea255b224ca6e61794aa8d..c20b7618326dd89041451f22ade1b36e898b43db 100644 --- a/api/graphql/gqlgen.yml +++ b/api/graphql/gqlgen.yml @@ -7,22 +7,22 @@ model: filename: models/gen_models.go autobind: - - "github.com/MichaelMure/git-bug/api/graphql/models" - - "github.com/MichaelMure/git-bug/repository" - - "github.com/MichaelMure/git-bug/entity" - - "github.com/MichaelMure/git-bug/entity/dag" - - "github.com/MichaelMure/git-bug/entities/common" - - "github.com/MichaelMure/git-bug/entities/bug" - - "github.com/MichaelMure/git-bug/entities/identity" + - "github.com/git-bug/git-bug/api/graphql/models" + - "github.com/git-bug/git-bug/repository" + - "github.com/git-bug/git-bug/entity" + - "github.com/git-bug/git-bug/entity/dag" + - "github.com/git-bug/git-bug/entities/common" + - "github.com/git-bug/git-bug/entities/bug" + - "github.com/git-bug/git-bug/entities/identity" omit_getters: true models: ID: - model: github.com/MichaelMure/git-bug/entity.Id + model: github.com/git-bug/git-bug/entity.Id Color: model: image/color.RGBA Identity: - model: github.com/MichaelMure/git-bug/api/graphql/models.IdentityWrapper + model: github.com/git-bug/git-bug/api/graphql/models.IdentityWrapper Bug: - model: github.com/MichaelMure/git-bug/api/graphql/models.BugWrapper + model: github.com/git-bug/git-bug/api/graphql/models.BugWrapper diff --git a/api/graphql/graph/bug.generated.go b/api/graphql/graph/bug.generated.go index a5685942ce241ba866d0862b3b1ae7eacbc75796..4d12cc8472cc9736424b5885fc2aab3f48a5e917 100644 --- a/api/graphql/graph/bug.generated.go +++ b/api/graphql/graph/bug.generated.go @@ -12,11 +12,11 @@ import ( "time" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "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/repository" + "github.com/git-bug/git-bug/api/graphql/models" + "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/repository" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/identity.generated.go b/api/graphql/graph/identity.generated.go index 1fe6ac236c91ee26aaae52d660c5ff331bbf5920..b65cf1abd238ed433279ed870f541359bad27b97 100644 --- a/api/graphql/graph/identity.generated.go +++ b/api/graphql/graph/identity.generated.go @@ -11,8 +11,8 @@ import ( "sync/atomic" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entity" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/label.generated.go b/api/graphql/graph/label.generated.go index c5ebe0e07ea9996082b055fb76c17d64adb44d36..7941db71e517e285d550fb2e6d3d36531c981002 100644 --- a/api/graphql/graph/label.generated.go +++ b/api/graphql/graph/label.generated.go @@ -12,8 +12,8 @@ import ( "sync/atomic" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/mutations.generated.go b/api/graphql/graph/mutations.generated.go index 6b3755baefe02cacf20809ea6ef90d36e4aeff49..1316b407790300e28dd4058728e21c15f9a3469a 100644 --- a/api/graphql/graph/mutations.generated.go +++ b/api/graphql/graph/mutations.generated.go @@ -11,8 +11,8 @@ import ( "sync/atomic" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/operations.generated.go b/api/graphql/graph/operations.generated.go index 838f16b0a7ef7f9cd9519d862614b8e294bf07cf..feb8878d11d0c1ba50eb8b3d840fcea736f3d378 100644 --- a/api/graphql/graph/operations.generated.go +++ b/api/graphql/graph/operations.generated.go @@ -12,12 +12,12 @@ import ( "time" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "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/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/api/graphql/models" + "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" + "github.com/git-bug/git-bug/repository" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/prelude.generated.go b/api/graphql/graph/prelude.generated.go index bb1d2c763f9c700919f5c59fce719f17fa68bb8e..6600b36450c9d933bc9cc42f32abf0d763793d87 100644 --- a/api/graphql/graph/prelude.generated.go +++ b/api/graphql/graph/prelude.generated.go @@ -12,7 +12,7 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/repository.generated.go b/api/graphql/graph/repository.generated.go index c72c6e45181e5761831a24e9858f8c8628b02c22..99cbbcb6a118c6b33d0f5e53d069161a9092b677 100644 --- a/api/graphql/graph/repository.generated.go +++ b/api/graphql/graph/repository.generated.go @@ -10,7 +10,7 @@ import ( "sync/atomic" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/api/graphql/models" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/root.generated.go b/api/graphql/graph/root.generated.go index 61357c74c0c03893fbf1c41f5a689deda7f6c330..764a221db11c0d5b58274cf5dd1bdd0546079171 100644 --- a/api/graphql/graph/root.generated.go +++ b/api/graphql/graph/root.generated.go @@ -10,7 +10,7 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" - "github.com/MichaelMure/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/api/graphql/models" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/root_.generated.go b/api/graphql/graph/root_.generated.go index 85e447b33f5fdaaf19fb7840d4740f989a2e0533..db7dc82b4b4c2309bf037b26a2558cd7d973b24b 100644 --- a/api/graphql/graph/root_.generated.go +++ b/api/graphql/graph/root_.generated.go @@ -10,7 +10,7 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" - "github.com/MichaelMure/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/api/graphql/models" gqlparser "github.com/vektah/gqlparser/v2" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/timeline.generated.go b/api/graphql/graph/timeline.generated.go index f0c4b06d3eb36b4c665aa7a5fb7b5855efe07e4d..2433ccd2271b69665c4c8ac6d7fab6ec6e3bb2c0 100644 --- a/api/graphql/graph/timeline.generated.go +++ b/api/graphql/graph/timeline.generated.go @@ -12,11 +12,11 @@ import ( "time" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "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/repository" + "github.com/git-bug/git-bug/api/graphql/models" + "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/repository" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graph/types.generated.go b/api/graphql/graph/types.generated.go index 7326d929cff51bc2fa47a13e29dec0f8a4f6ff28..014ec58a1d80578a7ffe4304284c50f02d210e17 100644 --- a/api/graphql/graph/types.generated.go +++ b/api/graphql/graph/types.generated.go @@ -12,10 +12,10 @@ import ( "time" "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" "github.com/vektah/gqlparser/v2/ast" ) diff --git a/api/graphql/graphql_test.go b/api/graphql/graphql_test.go index b9ced7035a09a6c8f48aa5f8ca3ae2d532ccc14e..41e43ec8244bc7c0baef00ed91414c69f5f40c64 100644 --- a/api/graphql/graphql_test.go +++ b/api/graphql/graphql_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/misc/random_bugs" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/misc/random_bugs" + "github.com/git-bug/git-bug/repository" ) func TestQueries(t *testing.T) { diff --git a/api/graphql/handler.go b/api/graphql/handler.go index 1d30bf72f57c4072b6d37ef74f800690f01b3113..e35ec48cd060a92c95c653459163efe7f7b49f64 100644 --- a/api/graphql/handler.go +++ b/api/graphql/handler.go @@ -9,9 +9,9 @@ import ( "github.com/99designs/gqlgen/graphql/handler" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/resolvers" - "github.com/MichaelMure/git-bug/cache" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/resolvers" + "github.com/git-bug/git-bug/cache" ) // Handler is the root GraphQL http handler diff --git a/api/graphql/models/gen_models.go b/api/graphql/models/gen_models.go index 000f4a10ccfa95baa1d17160c458cff105fff253..a63233a13920859a6254a98cc95e971e34a8502f 100644 --- a/api/graphql/models/gen_models.go +++ b/api/graphql/models/gen_models.go @@ -3,9 +3,9 @@ package models import ( - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) // An object that has an author. diff --git a/api/graphql/models/lazy_bug.go b/api/graphql/models/lazy_bug.go index 4b0b598ef129185d0bd6973a049e7c35f1abd95f..a843c97a0a51a6787ba120e1bd180894640228a3 100644 --- a/api/graphql/models/lazy_bug.go +++ b/api/graphql/models/lazy_bug.go @@ -4,11 +4,11 @@ import ( "sync" "time" - "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/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" ) // BugWrapper is an interface used by the GraphQL resolvers to handle a bug. diff --git a/api/graphql/models/lazy_identity.go b/api/graphql/models/lazy_identity.go index c19d077bdab4604cbd80182815e689ed2d35845e..a131d450e7c81a092dbc568e3347b1262dcb6188 100644 --- a/api/graphql/models/lazy_identity.go +++ b/api/graphql/models/lazy_identity.go @@ -4,9 +4,9 @@ import ( "fmt" "sync" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" ) // IdentityWrapper is an interface used by the GraphQL resolvers to handle an identity. diff --git a/api/graphql/models/models.go b/api/graphql/models/models.go index 816a04a878c3a79da658fc019446e4aaede891c0..5355b7229b66d5c504681d99dfd563b0c491e875 100644 --- a/api/graphql/models/models.go +++ b/api/graphql/models/models.go @@ -2,7 +2,7 @@ package models import ( - "github.com/MichaelMure/git-bug/cache" + "github.com/git-bug/git-bug/cache" ) type ConnectionInput struct { diff --git a/api/graphql/resolvers/bug.go b/api/graphql/resolvers/bug.go index c40949fac7918aa7b514bf7b3b23778ae46e8a95..d5c13e06a8272323e61e990f719ea9681732adcc 100644 --- a/api/graphql/resolvers/bug.go +++ b/api/graphql/resolvers/bug.go @@ -3,11 +3,11 @@ package resolvers import ( "context" - "github.com/MichaelMure/git-bug/api/graphql/connections" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/api/graphql/connections" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entity/dag" ) var _ graph.BugResolver = &bugResolver{} diff --git a/api/graphql/resolvers/color.go b/api/graphql/resolvers/color.go index cfa411f8f1a7068a08cc4106493009919fdc262c..75936f980a361fa8263405eed9b54e7ba7589251 100644 --- a/api/graphql/resolvers/color.go +++ b/api/graphql/resolvers/color.go @@ -4,7 +4,7 @@ import ( "context" "image/color" - "github.com/MichaelMure/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/graph" ) var _ graph.ColorResolver = &colorResolver{} diff --git a/api/graphql/resolvers/comment.go b/api/graphql/resolvers/comment.go index 7dddc3c8c0fa3faa036a3325ae08267376ec370f..01c174162d883841e963f1d5062a917142a74f45 100644 --- a/api/graphql/resolvers/comment.go +++ b/api/graphql/resolvers/comment.go @@ -3,10 +3,10 @@ package resolvers import ( "context" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entity" ) var _ graph.CommentResolver = &commentResolver{} diff --git a/api/graphql/resolvers/identity.go b/api/graphql/resolvers/identity.go index 69a32c98c97f335c6d114c327c4c0c40e5b34e6f..6e81df36f11f971b24793ffd8b82610e6e44f929 100644 --- a/api/graphql/resolvers/identity.go +++ b/api/graphql/resolvers/identity.go @@ -3,8 +3,8 @@ package resolvers import ( "context" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" ) var _ graph.IdentityResolver = &identityResolver{} diff --git a/api/graphql/resolvers/label.go b/api/graphql/resolvers/label.go index 5210dcc9ce8644cd58b8a0b8a3f066bf4c4b59aa..8fe6c8e522e73e9d34286d28a57267e026bac297 100644 --- a/api/graphql/resolvers/label.go +++ b/api/graphql/resolvers/label.go @@ -4,8 +4,8 @@ import ( "context" "image/color" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/entities/bug" ) var _ graph.LabelResolver = &labelResolver{} diff --git a/api/graphql/resolvers/mutation.go b/api/graphql/resolvers/mutation.go index 32e1fa7cf1e82eedceb5c116652ef58ad7ccb3bb..ab00fb4c649af5fc4579384d810127b8d4c5d1b6 100644 --- a/api/graphql/resolvers/mutation.go +++ b/api/graphql/resolvers/mutation.go @@ -4,12 +4,12 @@ import ( "context" "time" - "github.com/MichaelMure/git-bug/api/auth" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/api/auth" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/util/text" ) var _ graph.MutationResolver = &mutationResolver{} diff --git a/api/graphql/resolvers/operations.go b/api/graphql/resolvers/operations.go index 911942136ac4104dc3e4acf5c91422d9ff0996e5..4bb486edc630866e0be1e902e5b2dccaeb3d4a03 100644 --- a/api/graphql/resolvers/operations.go +++ b/api/graphql/resolvers/operations.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" ) var _ graph.CreateOperationResolver = createOperationResolver{} diff --git a/api/graphql/resolvers/query.go b/api/graphql/resolvers/query.go index b20035555a12054be441fe848bafdaff45e2fd6f..b08d98251ff9b5ea3e03073c45619df78b45893f 100644 --- a/api/graphql/resolvers/query.go +++ b/api/graphql/resolvers/query.go @@ -3,9 +3,9 @@ package resolvers import ( "context" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/cache" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/cache" ) var _ graph.QueryResolver = &rootQueryResolver{} diff --git a/api/graphql/resolvers/repo.go b/api/graphql/resolvers/repo.go index 67b03628a92905f6ee0e0d022a1a13f031822c48..bfec95fbad516e7c59ab56f9e08fc61120c41af1 100644 --- a/api/graphql/resolvers/repo.go +++ b/api/graphql/resolvers/repo.go @@ -3,13 +3,13 @@ package resolvers import ( "context" - "github.com/MichaelMure/git-bug/api/auth" - "github.com/MichaelMure/git-bug/api/graphql/connections" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" + "github.com/git-bug/git-bug/api/auth" + "github.com/git-bug/git-bug/api/graphql/connections" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" ) var _ graph.RepositoryResolver = &repoResolver{} diff --git a/api/graphql/resolvers/root.go b/api/graphql/resolvers/root.go index 44ae010ec35a24d12d7e748c239133d6e1f5657e..ca0fb8eacd9d2820f26e6ff3559626fe2f9ede81 100644 --- a/api/graphql/resolvers/root.go +++ b/api/graphql/resolvers/root.go @@ -2,8 +2,8 @@ package resolvers import ( - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/cache" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/cache" ) var _ graph.ResolverRoot = &RootResolver{} diff --git a/api/graphql/resolvers/timeline.go b/api/graphql/resolvers/timeline.go index 2d691173d4890d0179cfef96d1533af0da6fd7d6..b710c32ce4b8e9f163cb23001c75255cbccbc71c 100644 --- a/api/graphql/resolvers/timeline.go +++ b/api/graphql/resolvers/timeline.go @@ -4,10 +4,10 @@ import ( "context" "time" - "github.com/MichaelMure/git-bug/api/graphql/graph" - "github.com/MichaelMure/git-bug/api/graphql/models" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/api/graphql/graph" + "github.com/git-bug/git-bug/api/graphql/models" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entity" ) var _ graph.CommentHistoryStepResolver = commentHistoryStepResolver{} diff --git a/api/graphql/tracer.go b/api/graphql/tracer.go index 11448a3ae7b845585aade85e6fee7cd09f6f961c..4dc66c37983811b65ec75696cb18be76ee84c64e 100644 --- a/api/graphql/tracer.go +++ b/api/graphql/tracer.go @@ -9,7 +9,7 @@ import ( "github.com/99designs/gqlgen/graphql" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/util/colors" ) // adapted from https://github.com/99designs/gqlgen/blob/master/graphql/handler/debug/tracer.go diff --git a/api/http/git_file_handler.go b/api/http/git_file_handler.go index b5676970ab69fd219f8820a02d5f5a51a0ff0f46..5db54a5228c8f1604a4815733e03b0364d583be9 100644 --- a/api/http/git_file_handler.go +++ b/api/http/git_file_handler.go @@ -7,8 +7,8 @@ import ( "github.com/gorilla/mux" - "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" ) // implement a http.Handler that will read and server git blob. diff --git a/api/http/git_file_handlers_test.go b/api/http/git_file_handlers_test.go index 8319da32f1e6584758fe7040ef9f1c52f9b177dd..830e035e402379aa788e2c7727ad6f8c72616d8b 100644 --- a/api/http/git_file_handlers_test.go +++ b/api/http/git_file_handlers_test.go @@ -13,9 +13,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/api/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/api/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) func TestGitFileHandlers(t *testing.T) { diff --git a/api/http/git_file_upload_handler.go b/api/http/git_file_upload_handler.go index 2f02baf10af7c4e7e866005e4b42c2ec1937aab0..9aa95def87dbff88786be1ee00a405f71f79bcf9 100644 --- a/api/http/git_file_upload_handler.go +++ b/api/http/git_file_upload_handler.go @@ -8,8 +8,8 @@ import ( "github.com/gorilla/mux" - "github.com/MichaelMure/git-bug/api/auth" - "github.com/MichaelMure/git-bug/cache" + "github.com/git-bug/git-bug/api/auth" + "github.com/git-bug/git-bug/cache" ) // implement a http.Handler that will accept and store content into git blob. diff --git a/bridge/bridges.go b/bridge/bridges.go index d74a58fa7b2967c6e4aa834567f8c8e550c86ec4..5fe0c395d059d7976e52986abcb2bace1337c572 100644 --- a/bridge/bridges.go +++ b/bridge/bridges.go @@ -2,13 +2,13 @@ package bridge import ( - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/github" - "github.com/MichaelMure/git-bug/bridge/gitlab" - "github.com/MichaelMure/git-bug/bridge/jira" - "github.com/MichaelMure/git-bug/bridge/launchpad" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/github" + "github.com/git-bug/git-bug/bridge/gitlab" + "github.com/git-bug/git-bug/bridge/jira" + "github.com/git-bug/git-bug/bridge/launchpad" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) func init() { diff --git a/bridge/core/auth/credential.go b/bridge/core/auth/credential.go index 20343c9c437742a0ef5520eb03c40643fdf25acc..cb8e2bafd7ae87a2b27dac4532599ab747f17348 100644 --- a/bridge/core/auth/credential.go +++ b/bridge/core/auth/credential.go @@ -10,8 +10,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) const ( diff --git a/bridge/core/auth/credential_base.go b/bridge/core/auth/credential_base.go index f9d1bf67d8e2c663007e9eb7c14abbf00e164f7c..9b6c1828e150f81b80e057a39ec91f753cce7ea4 100644 --- a/bridge/core/auth/credential_base.go +++ b/bridge/core/auth/credential_base.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/repository" ) type credentialBase struct { diff --git a/bridge/core/auth/credential_test.go b/bridge/core/auth/credential_test.go index 8bb258356f02d5ae7f97f6e1b6eec2eb6ce35866..b35576d04469da09cbc53d13b2d901173cc64b09 100644 --- a/bridge/core/auth/credential_test.go +++ b/bridge/core/auth/credential_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) func TestCredential(t *testing.T) { diff --git a/bridge/core/auth/login.go b/bridge/core/auth/login.go index 496f2412fa666194cb307fb7557b854353e966ce..9111446312acd2a3fdb267ee7e9483bccfb0c52e 100644 --- a/bridge/core/auth/login.go +++ b/bridge/core/auth/login.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "fmt" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) const ( diff --git a/bridge/core/auth/login_password.go b/bridge/core/auth/login_password.go index 166e37fb7f0d7392ca542eb137cfb04f19ca41ee..fd5d730b6cee0a2a8e65dcdeef578badbbd4bc7b 100644 --- a/bridge/core/auth/login_password.go +++ b/bridge/core/auth/login_password.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "fmt" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) const ( diff --git a/bridge/core/auth/token.go b/bridge/core/auth/token.go index 84d6ac13e804188e3c0b3513e649c60b41bc0c68..0b28326c9d01164983266280bb312e94d9a455cb 100644 --- a/bridge/core/auth/token.go +++ b/bridge/core/auth/token.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "fmt" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) const ( diff --git a/bridge/core/bridge.go b/bridge/core/bridge.go index 1fc631f0e0681ee41b524376ec2cc5bd703a333f..63f5d44ad2f3556c1b087223617350c22aa0776b 100644 --- a/bridge/core/bridge.go +++ b/bridge/core/bridge.go @@ -13,8 +13,8 @@ import ( "github.com/pkg/errors" - "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 ErrImportNotSupported = errors.New("import is not supported") diff --git a/bridge/core/config.go b/bridge/core/config.go index ed079eb8e1fab6edd9d08604e0eeb59fe05e8999..4fc9501d55d83c6336f8aa2ab474317daf2bceb8 100644 --- a/bridge/core/config.go +++ b/bridge/core/config.go @@ -3,9 +3,9 @@ package core import ( "fmt" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" ) func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error { diff --git a/bridge/core/export.go b/bridge/core/export.go index 9a2487391bf3c7cbd6079eb8752496b741e228ba..11f903530eac59a5265239c4ab08d796e4d20426 100644 --- a/bridge/core/export.go +++ b/bridge/core/export.go @@ -3,7 +3,7 @@ package core import ( "fmt" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) type ExportEvent int diff --git a/bridge/core/import.go b/bridge/core/import.go index 8fab476e6e90b1499974cf76247ecdfa3778d359..a072d24a4106d9350948fba15fd8d2ea62969ed8 100644 --- a/bridge/core/import.go +++ b/bridge/core/import.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) type ImportEvent int diff --git a/bridge/core/interfaces.go b/bridge/core/interfaces.go index 3d212f29cfe578c1f44ac063e3c9e19d0f5fd5d6..00b7a70ea95f6f6a5a07590a1d04835c506d7617 100644 --- a/bridge/core/interfaces.go +++ b/bridge/core/interfaces.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/MichaelMure/git-bug/cache" + "github.com/git-bug/git-bug/cache" ) type Configuration map[string]string diff --git a/bridge/github/client.go b/bridge/github/client.go index e33b28d43162c1a02f8520945bac8ad1ac519984..1072d7cb1362feb344a5dfb2577476784cd7979d 100644 --- a/bridge/github/client.go +++ b/bridge/github/client.go @@ -9,7 +9,7 @@ import ( "github.com/shurcooL/githubv4" - "github.com/MichaelMure/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core" ) var _ Client = &githubv4.Client{} diff --git a/bridge/github/config.go b/bridge/github/config.go index 9ae1d18710384ea1b78fe051a930f6686942a607..401149a837e5984335a25f306e21a292e27cfb73 100644 --- a/bridge/github/config.go +++ b/bridge/github/config.go @@ -15,11 +15,11 @@ import ( "github.com/pkg/errors" - "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" ) const githubClientID = "ce3600aa56c2e69f18a5" // git-bug org diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go index 01907435d4aaca08071fef9a308203a0a69a9158..a2043404eb0075de196de316eb5359848967351c 100644 --- a/bridge/github/config_test.go +++ b/bridge/github/config_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/MichaelMure/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/bridge/core/auth" ) func TestSplitURL(t *testing.T) { @@ -26,10 +26,10 @@ func TestSplitURL(t *testing.T) { { name: "default url", args: args{ - url: "https://github.com/MichaelMure/git-bug", + url: "https://github.com/git-bug/git-bug", }, want: want{ - owner: "MichaelMure", + owner: "git-bug", project: "git-bug", err: nil, }, @@ -37,10 +37,10 @@ func TestSplitURL(t *testing.T) { { name: "default issues url", args: args{ - url: "https://github.com/MichaelMure/git-bug/issues", + url: "https://github.com/git-bug/git-bug/issues", }, want: want{ - owner: "MichaelMure", + owner: "git-bug", project: "git-bug", err: nil, }, @@ -48,10 +48,10 @@ func TestSplitURL(t *testing.T) { { name: "default url with git extension", args: args{ - url: "https://github.com/MichaelMure/git-bug.git", + url: "https://github.com/git-bug/git-bug.git", }, want: want{ - owner: "MichaelMure", + owner: "git-bug", project: "git-bug", err: nil, }, @@ -59,10 +59,10 @@ func TestSplitURL(t *testing.T) { { name: "url with git protocol", args: args{ - url: "git://github.com/MichaelMure/git-bug.git", + url: "git://github.com/git-bug/git-bug.git", }, want: want{ - owner: "MichaelMure", + owner: "git-bug", project: "git-bug", err: nil, }, @@ -70,10 +70,10 @@ func TestSplitURL(t *testing.T) { { name: "ssh url", args: args{ - url: "git@github.com:MichaelMure/git-bug.git", + url: "git@github.com:git-bug/git-bug.git", }, want: want{ - owner: "MichaelMure", + owner: "git-bug", project: "git-bug", err: nil, }, @@ -81,7 +81,7 @@ func TestSplitURL(t *testing.T) { { name: "bad url", args: args{ - url: "https://githb.com/MichaelMure/git-bug.git", + url: "https://githb.com/git-bug/git-bug.git", }, want: want{ err: ErrBadProjectURL, @@ -115,26 +115,26 @@ func TestValidateUsername(t *testing.T) { }{ { name: "existing username", - input: "MichaelMure", - fixed: "MichaelMure", + input: "git-bug", + fixed: "git-bug", ok: true, }, { name: "existing username with bad case", - input: "MicHaelmurE", - fixed: "MichaelMure", + input: "GiT-bUg", + fixed: "git-bug", ok: true, }, { name: "existing organisation", - input: "ipfs", - fixed: "ipfs", + input: "git-bug", + fixed: "git-bug", ok: true, }, { name: "existing organisation with bad case", - input: "iPfS", - fixed: "ipfs", + input: "gIt-BuG", + fixed: "git-bug", ok: true, }, { @@ -183,7 +183,7 @@ func TestValidateProject(t *testing.T) { name: "public repository and token with scope 'public_repo'", args: args{ project: "git-bug", - owner: "MichaelMure", + owner: "git-bug", token: tokenPublic, }, want: true, @@ -192,7 +192,7 @@ func TestValidateProject(t *testing.T) { name: "private repository and token with scope 'repo'", args: args{ project: "git-bug-test-github-bridge", - owner: "MichaelMure", + owner: "git-bug", token: tokenPrivate, }, want: true, @@ -201,7 +201,7 @@ func TestValidateProject(t *testing.T) { name: "private repository and token with scope 'public_repo'", args: args{ project: "git-bug-test-github-bridge", - owner: "MichaelMure", + owner: "git-bug", token: tokenPublic, }, want: false, diff --git a/bridge/github/export.go b/bridge/github/export.go index 30e064c0938615d9df20b5315a0970cd355e4205..6f882637adae42b1b2252bb27aceec3e97ca4431 100644 --- a/bridge/github/export.go +++ b/bridge/github/export.go @@ -15,13 +15,13 @@ import ( "github.com/shurcooL/githubv4" "golang.org/x/sync/errgroup" - "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/github/export_test.go b/bridge/github/export_test.go index e06457d4f9bd58f45b986d2387918aca6a839d23..9b10020dc101222bd1490ac97679c763e9c85af2 100644 --- a/bridge/github/export_test.go +++ b/bridge/github/export_test.go @@ -13,13 +13,13 @@ 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/entity" - "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/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) const ( diff --git a/bridge/github/github.go b/bridge/github/github.go index cbeb03ebbe978abf2668f079c01a7ee591882000..09a352a8fd488d5e2ee0e33bd8986d7a7574c761 100644 --- a/bridge/github/github.go +++ b/bridge/github/github.go @@ -7,8 +7,8 @@ import ( "golang.org/x/oauth2" - "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/github/import.go b/bridge/github/import.go index 4a51d117d770e045101079022fc607c229f276f7..2268d9e713cf2ef83cda32b126f930fa23639e4f 100644 --- a/bridge/github/import.go +++ b/bridge/github/import.go @@ -7,11 +7,11 @@ import ( "github.com/shurcooL/githubv4" - "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" ) const EmptyTitlePlaceholder = "" diff --git a/bridge/github/import_integration_test.go b/bridge/github/import_integration_test.go index 8c411d8dde48be7c9dfe530b9619d248dcfbb9e2..a642d374a710dd7cf75f9cd17aae91c3a183b76a 100644 --- a/bridge/github/import_integration_test.go +++ b/bridge/github/import_integration_test.go @@ -11,11 +11,11 @@ import ( m "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/bridge/github/mocks" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge/github/mocks" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) // using testify/mock and mockery diff --git a/bridge/github/import_test.go b/bridge/github/import_test.go index b0ff2f99c647208d3982cc774a20d31bedc03f50..80be5116bdd25c46e57272beb676303117fd40eb 100644 --- a/bridge/github/import_test.go +++ b/bridge/github/import_test.go @@ -4,20 +4,21 @@ import ( "context" "fmt" "os" + "strings" "testing" "time" "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 TestGithubImporter(t *testing.T) { @@ -34,7 +35,10 @@ func TestGithubImporter(t *testing.T) { defer backend.Close() interrupt.RegisterCleaner(backend.Close) - author, err := identity.NewIdentity(repo, "Michael Muré", "batolettre@gmail.com") + author, err := identity.NewIdentity(repo, "Michael Muré", "no-reply@git-bug.test") + require.NoError(t, err) + + complexIssueEditAuthor, err := identity.NewIdentity(repo, "sudoforge", "no-reply@git-bug.test") require.NoError(t, err) tests := []struct { @@ -44,7 +48,7 @@ func TestGithubImporter(t *testing.T) { }{ { name: "simple issue", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/1", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/1", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "simple issue", "initial comment", nil), @@ -55,7 +59,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "empty issue", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/2", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/2", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "empty issue", "", nil), @@ -64,14 +68,41 @@ func TestGithubImporter(t *testing.T) { }, { name: "complex issue", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/3", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/3", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "complex issue", "initial comment", nil), bug.NewLabelChangeOperation(author, 0, []bug.Label{"bug"}, []bug.Label{}), bug.NewLabelChangeOperation(author, 0, []bug.Label{"duplicate"}, []bug.Label{}), bug.NewLabelChangeOperation(author, 0, []bug.Label{}, []bug.Label{"duplicate"}), - 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\n\n![image](https://user-images.githubusercontent.com/294669/56870222-811faf80-6a0c-11e9-8f2c-f0beb686303f.png)", nil), + bug.NewAddCommentOp(author, 0, strings.Join([]string{ + "### header", + "**bold**", + "_italic_", + "> with quote", + "`inline code`", + "```\nmultiline code\n```", + "- bulleted\n- list", + "1. numbered\n1. list", + "- [ ] task\n- [x] list", + "@MichaelMure mention", + "#2 reference issue\n#3 auto-reference issue", + "![image](https://user-images.githubusercontent.com/294669/56870222-811faf80-6a0c-11e9-8f2c-f0beb686303f.png)", + }, "\n\n"), nil), + bug.NewEditCommentOp(complexIssueEditAuthor, 0, "", strings.Join([]string{ + "### header", + "**bold**", + "_italic_", + "> with quote", + "`inline code`", + "```\nmultiline code\n```", + "- bulleted\n- list", + "1. numbered\n1. list", + "- [ ] task\n- [x] list", + "@git-bug/maintainers mention", + "#2 reference issue\n#3 auto-reference issue", + "![image](https://user-images.githubusercontent.com/294669/56870222-811faf80-6a0c-11e9-8f2c-f0beb686303f.png)", + }, "\n\n"), 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), @@ -81,7 +112,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "editions", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/4", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/4", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "editions", "initial comment edited", nil), @@ -93,7 +124,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "comment deletion", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/5", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/5", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "comment deletion", "", nil), @@ -102,7 +133,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "edition deletion", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/6", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/6", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "edition deletion", "initial comment", nil), @@ -114,7 +145,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "hidden comment", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/7", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/7", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "hidden comment", "initial comment", nil), @@ -124,7 +155,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "transferred issue", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/8", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/8", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "transfered issue", "", nil), @@ -133,7 +164,7 @@ func TestGithubImporter(t *testing.T) { }, { name: "unicode control characters", - url: "https://github.com/MichaelMure/git-bug-test-github-bridge/issues/10", + url: "https://github.com/git-bug/git-bug-test-github-bridge/issues/10", bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "unicode control characters", "u0000: \nu0001: \nu0002: \nu0003: \nu0004: \nu0005: \nu0006: \nu0007: \nu0008: \nu0009: \t\nu0010: \nu0011: \nu0012: \nu0013: \nu0014: \nu0015: \nu0016: \nu0017: \nu0018: \nu0019:", nil), @@ -154,7 +185,7 @@ func TestGithubImporter(t *testing.T) { importer := &githubImporter{} err = importer.Init(ctx, backend, core.Configuration{ - confKeyOwner: "MichaelMure", + confKeyOwner: "git-bug", confKeyProject: "git-bug-test-github-bridge", confKeyDefaultLogin: login, }) diff --git a/bridge/gitlab/config.go b/bridge/gitlab/config.go index 9411ba2eccf8ca537c684d0e08f0f79862a6cccf..1386477140c2b122f0ece51a0e95bd2e91a316ce 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 43ed649ae74dfd82a3e31d80a8e11d0c08234a51..2814b482c9f88d8d0c750afabe15b811a4cd9f3f 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 0653269d81c8136c884c3cc8ff8467477ca28d07..92592e4de753482a59eafd732d67974b36ac5c4f 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 8cf8decfcadf9ac0be87d6a9daf38181e6f509ab..040ace41f6907b6645d77025154c58b864edf552 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 7c82682242a41bc4a8a5f20e13a9db0259e4aeaf..bbc2b11c942a7b6a1e6a8002209cba9fc00a7152 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 3625a9bb1da22eaddabd7c4697b68f520bcb02a7..864d60c90c5db659a23c134e2bef3555fb53dd67 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 c00baf9db788ae04305c2b30d7bb9b7dbb44210c..79d2bfeffb851a96a2b236efdf0701cf437503bc 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 e4330b4c8a5f089beda85cfbe94cae8e9cb1d9c1..43289e0de48dc519fa2ae28a23cb9f48cb7f652d 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 bed93a800e2bba4c646df1e4c7f18762eb1d2ea8..2190369bb77f60e460a1bc7c690c44f89571bd6c 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), diff --git a/bridge/jira/client.go b/bridge/jira/client.go index 3ceffff28fadbb0de6916658f0dae3360530c5ed..53dfad6e53daf6af4e5b57916ef0ea753ed1b3e8 100644 --- a/bridge/jira/client.go +++ b/bridge/jira/client.go @@ -16,7 +16,7 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/bug" ) var errDone = errors.New("Iteration Done") diff --git a/bridge/jira/config.go b/bridge/jira/config.go index 4fb267db67dad4678eccbbefdf918a86bfca5b58..22ce1dcaddefe4615b9ae7e0457b80a114510f2a 100644 --- a/bridge/jira/config.go +++ b/bridge/jira/config.go @@ -4,18 +4,18 @@ import ( "context" "fmt" - "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" ) const moreConfigText = ` NOTE: There are a few optional configuration values that you can additionally set in your git configuration to influence the behavior of the bridge. Please see the notes at: -https://github.com/MichaelMure/git-bug/blob/master/doc/jira_bridge.md +https://github.com/git-bug/git-bug/blob/master/doc/jira_bridge.md ` const credTypeText = ` diff --git a/bridge/jira/export.go b/bridge/jira/export.go index 95f9e28c1e00096e93ff51e6b06d621620e8c5e9..2ea34196fad0834dcd161cd44352c554f9a1f4cb 100644 --- a/bridge/jira/export.go +++ b/bridge/jira/export.go @@ -10,12 +10,12 @@ import ( "github.com/pkg/errors" - "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/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/entity" + "github.com/git-bug/git-bug/entity/dag" ) var ( diff --git a/bridge/jira/import.go b/bridge/jira/import.go index d8a5f8ddffb364c3fde256a90405069d7749f903..0d7d1f1e7e6fc3d284c91fe593d6fd61177dee14 100644 --- a/bridge/jira/import.go +++ b/bridge/jira/import.go @@ -9,14 +9,14 @@ import ( "strings" "time" - "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/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/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" + "github.com/git-bug/git-bug/util/text" ) const ( diff --git a/bridge/jira/jira.go b/bridge/jira/jira.go index 024bf9a241a58ddce461664b20696f63022a5d2c..eaf420659d6652e47122873d690b551a551a754d 100644 --- a/bridge/jira/jira.go +++ b/bridge/jira/jira.go @@ -7,9 +7,9 @@ import ( "sort" "time" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/input" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/input" ) const ( diff --git a/bridge/launchpad/config.go b/bridge/launchpad/config.go index 669d36bf307073dcf9055d49045b38894a388fb8..835c0d07b3f3a869a6ff9fbf445eab86f3a71684 100644 --- a/bridge/launchpad/config.go +++ b/bridge/launchpad/config.go @@ -6,9 +6,9 @@ import ( "net/http" "regexp" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/input" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/input" ) var ErrBadProjectURL = errors.New("bad Launchpad project URL") diff --git a/bridge/launchpad/import.go b/bridge/launchpad/import.go index 6a20217c980ef60841f40d070ec58bb43b7a5206..67c67b5527c29da570767bd98c4b624004a97836 100644 --- a/bridge/launchpad/import.go +++ b/bridge/launchpad/import.go @@ -5,10 +5,10 @@ import ( "fmt" "time" - "github.com/MichaelMure/git-bug/bridge/core" - "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/cache" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/util/text" ) type launchpadImporter struct { diff --git a/bridge/launchpad/launchpad.go b/bridge/launchpad/launchpad.go index 51ee79d2bcee4a2da7b66af90b5828fa25468065..6538aaee72ec641f3d87189c6bfd7790de5cbd90 100644 --- a/bridge/launchpad/launchpad.go +++ b/bridge/launchpad/launchpad.go @@ -4,7 +4,7 @@ package launchpad import ( "time" - "github.com/MichaelMure/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core" ) const ( diff --git a/cache/bug_cache.go b/cache/bug_cache.go index 3466f18626953b6547e03f28fa57f567a9f7cd0c..a06709596d245c097f4ac82caa5f680d4fcc7d5f 100644 --- a/cache/bug_cache.go +++ b/cache/bug_cache.go @@ -4,11 +4,11 @@ import ( "fmt" "time" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) var ErrNoMatchingOp = fmt.Errorf("no matching operation found") diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index 26b7ec742bcb0d58bce60f11aa163a2413293634..12331b628ee9eb1b165a3d71c4580d6b55e13879 100644 --- a/cache/bug_excerpt.go +++ b/cache/bug_excerpt.go @@ -4,10 +4,10 @@ import ( "encoding/gob" "time" - "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/util/lamport" + "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/util/lamport" ) // Package initialisation used to register the type for (de)serialization diff --git a/cache/bug_subcache.go b/cache/bug_subcache.go index 21c9a6d28e31eab2e749797ab749b775d12a77a6..a1f4498a77f29db3930143574b74f4344acdbf72 100644 --- a/cache/bug_subcache.go +++ b/cache/bug_subcache.go @@ -5,11 +5,11 @@ import ( "sort" "time" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" + "github.com/git-bug/git-bug/repository" ) type RepoCacheBug struct { diff --git a/cache/cached.go b/cache/cached.go index 9f9e170d4580c16d9861d7b3843e277d6cc440fd..dc40d9480835534e70942d7b096095c267a93c87 100644 --- a/cache/cached.go +++ b/cache/cached.go @@ -3,10 +3,10 @@ package cache import ( "sync" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" ) var _ CacheEntity = &CachedEntityBase[dag.Snapshot, dag.Operation]{} diff --git a/cache/filter.go b/cache/filter.go index 5a15e40240dc292f9a9232a52cd3b931b7d11169..199e17b3380ce09652d76342d4cf9f43f9479bcb 100644 --- a/cache/filter.go +++ b/cache/filter.go @@ -3,9 +3,9 @@ package cache import ( "strings" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" ) // Filter is a predicate that match a subset of bugs diff --git a/cache/identity_cache.go b/cache/identity_cache.go index 466b6150be6a8f991c38b4016f5382c5a8b3a147..60659a4cc544f4a9ef997b2409cf49ab2ff87c9b 100644 --- a/cache/identity_cache.go +++ b/cache/identity_cache.go @@ -3,9 +3,9 @@ package cache import ( "sync" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) var _ identity.Interface = &IdentityCache{} diff --git a/cache/identity_excerpt.go b/cache/identity_excerpt.go index 79d88537e3716c919dcb06c7364c97965b0bd696..8e654c86af2e2481184671e0c02aebf0a2fc18d4 100644 --- a/cache/identity_excerpt.go +++ b/cache/identity_excerpt.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) // Package initialisation used to register the type for (de)serialization diff --git a/cache/identity_subcache.go b/cache/identity_subcache.go index 05a9135852efa956abf03db12b267e60a8992fd3..42b4d6865078a56c3361b82fd482b281d7b2ea3e 100644 --- a/cache/identity_subcache.go +++ b/cache/identity_subcache.go @@ -3,9 +3,9 @@ package cache import ( "fmt" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) type RepoCacheIdentity struct { diff --git a/cache/lru_id_cache.go b/cache/lru_id_cache.go index b76f531210e0d3f45b226a8ea07c39c4968efc91..0b551c23679d23c3a4b014e2b352f9372e8872b0 100644 --- a/cache/lru_id_cache.go +++ b/cache/lru_id_cache.go @@ -5,7 +5,7 @@ import ( lru "github.com/hashicorp/golang-lru/v2" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entity" ) type lruIdCache struct { diff --git a/cache/multi_repo_cache.go b/cache/multi_repo_cache.go index da9544cf1f4b033beeab882c519a104fdc257790..91ca34b41c4a23c6fc902c36d79d899038667512 100644 --- a/cache/multi_repo_cache.go +++ b/cache/multi_repo_cache.go @@ -3,7 +3,7 @@ package cache import ( "fmt" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/repository" ) const lockfile = "lock" diff --git a/cache/repo_cache.go b/cache/repo_cache.go index 19b6e266001bceee6661efef1a76b236855b09a2..eb441d9e6acc2d2843030aa19034584787235004 100644 --- a/cache/repo_cache.go +++ b/cache/repo_cache.go @@ -7,10 +7,10 @@ import ( "strconv" "sync" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/multierr" - "github.com/MichaelMure/git-bug/util/process" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/multierr" + "github.com/git-bug/git-bug/util/process" ) // 1: original format diff --git a/cache/repo_cache_common.go b/cache/repo_cache_common.go index 759536bd6928fc350c8e2369e0f2ae2c73787e1b..17568c27a8d808da3a7b72d9865aa8ae4e01beb6 100644 --- a/cache/repo_cache_common.go +++ b/cache/repo_cache_common.go @@ -5,10 +5,10 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/multierr" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/multierr" ) func (c *RepoCache) Name() string { diff --git a/cache/repo_cache_test.go b/cache/repo_cache_test.go index e3a9cc15920f81176edcd742ef546f0a37b0d3bf..4870478317d030dd5324c5a4df42773426e37ba1 100644 --- a/cache/repo_cache_test.go +++ b/cache/repo_cache_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" + "github.com/git-bug/git-bug/repository" ) func TestCache(t *testing.T) { @@ -331,7 +331,7 @@ func TestCacheEviction(t *testing.T) { } func TestLongDescription(t *testing.T) { - // See https://github.com/MichaelMure/git-bug/issues/606 + // See https://github.com/git-bug/git-bug/issues/606 text := strings.Repeat("x", 65536) diff --git a/cache/subcache.go b/cache/subcache.go index 1306428f9c24b376d539cf832cbe4a30ddf20e9f..d9b6db8d4e875c8a62920bec05f3f491bc081325 100644 --- a/cache/subcache.go +++ b/cache/subcache.go @@ -9,9 +9,9 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) type Excerpt interface { diff --git a/cache/with_snapshot.go b/cache/with_snapshot.go index 674b6923b0f78ea3c3c23c28966fcea8d554423e..af61971af4ca61ce6eda6b19d794d9afa9547418 100644 --- a/cache/with_snapshot.go +++ b/cache/with_snapshot.go @@ -3,8 +3,8 @@ package cache import ( "sync" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) var _ dag.Interface[dag.Snapshot, dag.OperationWithApply[dag.Snapshot]] = &withSnapshot[dag.Snapshot, dag.OperationWithApply[dag.Snapshot]]{} diff --git a/commands/bridge/bridge.go b/commands/bridge/bridge.go index 9f7c5e504234aeb003b2670075d4ac6d5b509574..17e64ac60cdaaecf1b18e28f35b61ac15dcba70b 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 f27004e098f0eeba3e9fbe390c4e83bf1e9e61cd..4a2d2cc10a76439174d0c3154fb79451e9205d71 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 5af2772803e963d3586ed9d07afb348be14e5b8d..69f8ceea3cedd2a4902fe486ab1217ee4528ea57 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 33253e26a2ce60d677eb7cd77059d34b7136e49c..bc5101f53ce9c1ae79e39cb89ed0bb8dd6421a6e 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 25c517d33d16ea3ba815da29cb8154f9a706c49b..3d5630b57f7f1160d6c0e3ac5db3af5f207bc36a 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 07a555dafd8b3affcf4e16a784e56e40ae8ba2d3..2f1363d9362b9540a12097fbeb124823d226a075 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 03f4929aad813c04bab96033916cafb2794eebf7..5e9419b96aeccddabf37a86514432648a7accf94 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 08f9b872a8dd8827296ead887b1183fe6493e34d..f432f6f4b1fa9913b53c5ba196e982c78c02f30f 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 f6279ade38e3087c91db52e9220689e483e98c78..94258e1415edc5bb187e90811f65ab31f8f324a9 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 55a1fa59e9563d7b331917a080d9ab824c21d628..4cf18ab93ba63510f775511493fc76be4a76ff2e 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 b037f688b54a55a0e890ae937a560448986b03b0..68ae0af639ee4657f7e4af204068e7347bba9e1e 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 132de2339c640d03da746b7743e415d82ef1ad5a..dbf1e7908b8840d3a7232d19990ce534ff798541 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 55e285f445e052dee203acf7d3b2cffbaaead541..b6a5ba61cd23f06dd41977acfa78df0180344f60 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 e6f8d667c5271a0c254613b9e891677fbf98c716..f1e10e026aee6d0a8aee3b0bb14f9f81eb5294fa 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 9e110a3b31b51a47d9410e7869d18b4756677e20..21407ac6e0bef18dbe9eed6186f916deee088bdd 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 add48b218b04dbc5ab553d489446e60dea6df7de..e54cdab1c6c2675ad890b35063521777f80aa53b 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 5e9acc60ad68ae7cbbe9f64f2844cf577669512a..5a318274eb67bbd63beea0ac5bd467e8bad9f6d2 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 ec076922d015506214abbbf4d3c340cf6f5590d0..dfb1f879228af72ec85cbab0df246ab7bfa95e24 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 9fff851c3502413b00c361121e78366a3a731c2e..20586ba88be201ce1fe917c5a71b61250fcc336a 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 d389830f3554ea102bca86f1cf9306687d74402d..91b24ccfb482c42ff1a401004efc878149d2e455 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 e66967f9ff294d6767ce1dd9e07136970a9ced0a..2c5f5e19849d4d084c55fb923d6a0f48e79b5472 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 210a4b0b439a2d798c0ad72bbade890b886c5101..3a4a535fe40ccac47c5b6d47d33278f25b35aa32 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 b9d3d525309b3ac93b54f97f90d635a77010306c..5f3cc803b93f3fad7a991d0733213c02f9cc8072 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 e0c2bbc579cd0eb44228c002fa73272d3e6169dc..2cc4d034b171873e40ea1d3f01df7a90fe548e9c 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 c93cd7b1a23868d0b27040d38c999014f35fe81f..ed0f33548f4f0913986f5c09c3eebfe06342b7a3 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 ef20df2a3954bff9f8613e121f9e2bb214b3134a..cc00b5efedf598bb13b949b83f2a61edf8fb0004 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 c8542240b72294e8c23a34ede567700308d4b6e6..5323b276251d44cdf181d939c70397e48ba18390 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 7a8ae4de5f6773ee3d50fab05586c849b0af4ffe..c9a935bfd9bf223d491347b79567ef3c91cca561 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 0c0c02f088e9e71f513bb920642466628ffac2f0..d09584cd29c55809d0a2404e8472afbf1ac01110 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 c13e8db75e63148cd2b41b3ca3ad1cda59a082dd..377936f7d3010b83f7666ac466f926852078f268 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 af959fb734efb3824fa66377d48e14a6ad3050b1..6c81161db6f857af2c35216d131b51892492f3de 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 2d6bafca1d12bd4a32194d84d0c9818f57fd8683..1d18a4f9b58754fdf71a3dd5b2a323b3db281fcd 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 62bf658a77d61a32e6cb4222054d5f89e063dedf..d313ef37cfb53da6aeaff027b9e140ecd028dd95 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 23c20acbc7a2f155031be9a650127c50439fb198..93b7391e91ca46798f5f862c2bf8ee629f985c42 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 ffa428d43cc2d37c0784f1a78f19159f1605f9c5..6ffd1c62fc3fbbe7a16b13c704a351cffdde04af 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 c5489caa31687c52b576ee8e9f921b2319e78b05..a7f894ed7bed3742c19163ea727f74255f93c760 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 34077915f1701123a0987a0492746eff4be685cc..813d09b7906f922edff2256070f102d39bbcdaf8 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 173a0904485ec60e842bd9fceebd81c439214ac7..00c7b2dc7fe680a8f9d0911c230a069a689cdaec 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 db6d8969811b0780c85ad30dac5292ae7d3d6c10..75d7442388b0e5440d3055c79a8ce87b0db0b57d 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 e693807e6ddecc44737c4e9cb874242f9741700d..eea704cd9eba7e4ccb0e58a980c47c9fe8f3fc1a 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 15d7b646fda8d9b72e3784509cfaf7b73f6f6c65..c7a0af422801eaac5c6bc3be29fa7f6dfb6031b5 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 7838ea6a21001bc5e8d1ca710560e7909c9bc7c6..3d63887a9914f58f64beb7ec11e0f5d5c9eb1cef 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 90c3cf51c3edb72c77467797348a2f1215bf5dbb..51d080b6e7292215ba076a94254658c7c568afdc 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 576d45bbe58f0cc0469326a45348b99c2299abe8..4acf83cf6893811dc274ca1590052a4f51ece0c6 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 d59479b417e560ae00142c0196410a0103f133e8..675101c02c599501476d9719f6b01568bcdec6b9 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 91eadcf8f02e13df2fb1bf13f798e414bb82f187..90f23bfae9ada1cd1c88bb0c33e6c56be282b118 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 254bbb27a382f233feba50cc293db56dac3d1f66..384925178a4cbc608d5820e9776081788fd35828 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 01c817ee78e5137d244fcd0a668aa75d2e6f0e12..e966751c7be196714ac8f9620f285b56e2d5e119 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 cd12250efce78fa89ef0079947df78816e083af2..0e6ee8723345f56153330219775e451d10696fc3 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 4425c275b20f2a73349868bf62418bfa95ddaadf..9ac18689672c046c517fc656b41d26cc6b4bb50e 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 08eba1d699616417ea2a48c70e6259b2be53ad8f..d82343fc00debea2f99833dc8b4dea8a7df6318a 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 de5c1ccdadcefa1a8366c958836e81d6a31e23d2..99833ba9396acbff223affa8842577768078a825 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 47f0f04eaea6cd277021072f38014dade3c3ebea..a5fe68c5887e41a9c0d5ea5146aefdacc21b7a2b 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 ba4198f8a4322426590985906ef77afb377cda3f..9cc04fa786a4d6516c11d5c19798a74b578be85f 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 619e5de6390ace21ca552de39c5607c165d1603c..865f76a75cb7923ed1492e546009e93ba9a4b139 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 049eee93c4e4d460277f6ac05c1e228a052a8ec7..0fbed190feb9538cf4d64189d21d2fc4025b52b7 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 957cc65382bfca3d55524780e5f22f20d5da0ea2..189a2e350f563be8432e9c275544476fb0c143a5 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 96cdbad67f9f94c06c42544569eee4d8fb3b3513..db69d7d37f3127fe6f502e8b19667efe4f7b4790 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 ce9da032ec4d050e1d9c6ad7a18249db03609dc7..2f378e90266437a9ad726b47b22a06d89c036059 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 { diff --git a/doc/feature_matrix.md b/doc/feature_matrix.md index c902408ee6355b91860e0898f4cad739b1a0c0dd..a0e1923272410f974fffab901ab38208d9dff23d 100644 --- a/doc/feature_matrix.md +++ b/doc/feature_matrix.md @@ -18,7 +18,7 @@ Some goals don't really fit below, so I'll mention them here: - privileged roles (admin, ...) and enforcing the corresponding rules - package the webui as a desktop app -Additionally, some other are captured as [Github issues](https://github.com/MichaelMure/git-bug/issues) or [Discussions](https://github.com/MichaelMure/git-bug/discussions). +Additionally, some other are captured as [Github issues](https://github.com/git-bug/git-bug/issues) or [Discussions](https://github.com/git-bug/git-bug/discussions). ## Entities diff --git a/doc/gen_docs.go b/doc/gen_docs.go index 482abd8e95162ab83e40c91c3f4f59bf54dc9ba6..ac5417d8af126c1e9bd5409073d3d8d78a28fa68 100644 --- a/doc/gen_docs.go +++ b/doc/gen_docs.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/cobra/doc" - "github.com/MichaelMure/git-bug/commands" + "github.com/git-bug/git-bug/commands" ) func main() { diff --git a/doc/howto-github.md b/doc/howto-github.md index 47d9343482d524bb3baf985303775d212ed1c565..c5668e8218f3ff0730f9dc6bb3d2a9c914dbd482 100644 --- a/doc/howto-github.md +++ b/doc/howto-github.md @@ -1,6 +1,6 @@ # How-to: Read and edit offline your Github/Gitlab/Jira issues with git-bug -[git-bug](https://github.com/MichaelMure/git-bug) is a standalone distributed bug-tracker that is embedded in git. In short, if you have a git repository you can use it to store bugs alongside your code (without mixing them though!), push and pull them to/from a normal git remote to collaborate. +[git-bug](https://github.com/git-bug/git-bug) is a standalone distributed bug-tracker that is embedded in git. In short, if you have a git repository you can use it to store bugs alongside your code (without mixing them though!), push and pull them to/from a normal git remote to collaborate.

Native workflow @@ -22,7 +22,7 @@ Note: at the moment, Gitlab and Jira are also fully supported. ## Installation -Follow the [installation instruction](https://github.com/MichaelMure/git-bug#installation). The simplest way is to download a pre-compiled binary from [the latest release](https://github.com/MichaelMure/git-bug/releases/latest) and to put it anywhere in your `$PATH`. +Follow the [installation instruction](https://github.com/git-bug/git-bug#installation). The simplest way is to download a pre-compiled binary from [the latest release](https://github.com/git-bug/git-bug/releases/latest) and to put it anywhere in your `$PATH`. Check that `git-bug` is properly installed by running `git bug version`. If everything is alright, the version of the binary will be displayed. @@ -31,7 +31,7 @@ Check that `git-bug` is properly installed by running `git bug version`. If ever 1. From within the git repository you care about, run `git bug bridge configure` and follow the wizard's steps: 1. Choose `github`. 1. Type a name for the bridge configuration. As you can configure multiple bridges, this name will allow you to choose when there is an ambiguity. - 1. Setup the remote Github project. The wizard is smart enough to inspect the git remote and detect the potential project. Otherwise, enter the project URL like this: `https://github.com/MichaelMure/git-bug` + 1. Setup the remote Github project. The wizard is smart enough to inspect the git remote and detect the potential project. Otherwise, enter the project URL like this: `https://github.com/git-bug/git-bug` 1. Enter your login on Github 1. Setup an authentication token. You can either use the interactive token creation, enter your own token or select an existing token, if any. 1. Run `git bug bridge pull` and let it run to import the issues and identities. @@ -73,8 +73,8 @@ For a richer and more user friendly UI, `git-bug` proposes a web UI (read-only a ## Want more? If you interested to read more about `git-bug`, have a look at the following: -- [the project itself, with a more complete readme](https://github.com/MichaelMure/git-bug) -- [a bird view of the internals](https://github.com/MichaelMure/git-bug/blob/master/doc/architecture.md) -- [a description of the data model](https://github.com/MichaelMure/git-bug/blob/master/doc/model.md) +- [the project itself, with a more complete readme](https://github.com/git-bug/git-bug) +- [a bird view of the internals](https://github.com/git-bug/git-bug/blob/master/doc/architecture.md) +- [a description of the data model](https://github.com/git-bug/git-bug/blob/master/doc/model.md) -Of course, if you want to contribute the door is way open :-) \ No newline at end of file +Of course, if you want to contribute the door is way open :-) diff --git a/doc/man/git-bug-bridge-new.1 b/doc/man/git-bug-bridge-new.1 index ffc8c4694adcadef81f4737dd3837c1d3c0fcf1c..73d01ada3760fb5585f94d9fe79796d645ea10d9 100644 --- a/doc/man/git-bug-bridge-new.1 +++ b/doc/man/git-bug-bridge-new.1 @@ -82,7 +82,7 @@ name [default]: default Detected projects: [1]: github.com/a-hilaly/git-bug -[2]: github.com/MichaelMure/git-bug +[2]: github.com/git-bug/git-bug [0]: Another project @@ -122,7 +122,7 @@ git bug bridge new \\ git bug bridge new \\ --name=default \\ --target=github \\ - --url=https://github.com/michaelmure/git-bug \\ + --url=https://gitlab.com/git-bug/git-bug \\ --token=$(TOKEN) .fi diff --git a/doc/md/git-bug_bridge_new.md b/doc/md/git-bug_bridge_new.md index 5e5724f573a0cca2b301431b049392dd9e080eb4..46dcb900eeed690f20c2a8243de7068171208161 100644 --- a/doc/md/git-bug_bridge_new.md +++ b/doc/md/git-bug_bridge_new.md @@ -24,7 +24,7 @@ name [default]: default Detected projects: [1]: github.com/a-hilaly/git-bug -[2]: github.com/MichaelMure/git-bug +[2]: github.com/git-bug/git-bug [0]: Another project @@ -63,8 +63,8 @@ git bug bridge new \ # For Gitlab git bug bridge new \ --name=default \ - --target=github \ - --url=https://github.com/michaelmure/git-bug \ + --target=gitlab \ + --url=https://gitlab.com/git-bug/git-bug \ --token=$(TOKEN) ``` diff --git a/entities/bug/bug.go b/entities/bug/bug.go index deb00c7cb8612744dc513fe334ee0ee42d9f361d..8958fbd0e1b93498dd46631b3f3696fb421bf5b7 100644 --- a/entities/bug/bug.go +++ b/entities/bug/bug.go @@ -4,11 +4,11 @@ package bug import ( "fmt" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) var _ Interface = &Bug{} diff --git a/entities/bug/bug_actions.go b/entities/bug/bug_actions.go index 651d24dc0af1c59a4d997958d5831a03b3b02021..c20b81f3578907e11ba4d5473ecb0eda99bad7bd 100644 --- a/entities/bug/bug_actions.go +++ b/entities/bug/bug_actions.go @@ -1,10 +1,10 @@ package bug import ( - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) // Fetch retrieve updates from a remote diff --git a/entities/bug/comment.go b/entities/bug/comment.go index 7835c5a8a75db094fae4e5b7321c5931aa1016f1..99da635d0e8f3038fcc25c40de41d3b21244faac 100644 --- a/entities/bug/comment.go +++ b/entities/bug/comment.go @@ -3,10 +3,10 @@ package bug import ( "github.com/dustin/go-humanize" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/timestamp" ) // Comment represent a comment in a Bug diff --git a/entities/bug/label.go b/entities/bug/label.go index 79b5f5911a8d1df01d4f8c076e9c4631cdcc2c11..948a5b473d8fa759afc8ef78f58a2f5ca482bec8 100644 --- a/entities/bug/label.go +++ b/entities/bug/label.go @@ -7,7 +7,7 @@ import ( fcolor "github.com/fatih/color" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" ) type Label string diff --git a/entities/bug/op_add_comment.go b/entities/bug/op_add_comment.go index 5edef9d06b2d8f42bd9caae7a435c6c40d0d41e8..ea7093972bc2f2887ae8d81cae1fe3b8555020f5 100644 --- a/entities/bug/op_add_comment.go +++ b/entities/bug/op_add_comment.go @@ -3,12 +3,12 @@ package bug import ( "fmt" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/text" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/text" + "github.com/git-bug/git-bug/util/timestamp" ) var _ Operation = &AddCommentOperation{} diff --git a/entities/bug/op_add_comment_test.go b/entities/bug/op_add_comment_test.go index fee9e785cb2796cacc6acd299ce8c74d52433a5f..901ed6f1ed384adb9b61ec4a0c58f95474a8019c 100644 --- a/entities/bug/op_add_comment_test.go +++ b/entities/bug/op_add_comment_test.go @@ -3,10 +3,10 @@ package bug import ( "testing" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) func TestAddCommentSerialize(t *testing.T) { diff --git a/entities/bug/op_create.go b/entities/bug/op_create.go index 2afea4061f86fa9ab001054fb84f6b376ad8f1be..c7b6bada38d290110cab186c35bd979d6b59ae69 100644 --- a/entities/bug/op_create.go +++ b/entities/bug/op_create.go @@ -3,12 +3,12 @@ package bug import ( "fmt" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/text" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/text" + "github.com/git-bug/git-bug/util/timestamp" ) var _ Operation = &CreateOperation{} diff --git a/entities/bug/op_create_test.go b/entities/bug/op_create_test.go index d8bde46f138c8753436f47812c1b04832637c8a1..a7367acc892e569555bbdbf9070852460cf1f103 100644 --- a/entities/bug/op_create_test.go +++ b/entities/bug/op_create_test.go @@ -6,11 +6,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) func TestCreate(t *testing.T) { diff --git a/entities/bug/op_edit_comment.go b/entities/bug/op_edit_comment.go index 6ac09fd7ad578761edef1c0eee45509ba239fdca..18f130f9829d61a171c3bf4dc80bdf70815ecc58 100644 --- a/entities/bug/op_edit_comment.go +++ b/entities/bug/op_edit_comment.go @@ -5,13 +5,13 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/timestamp" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" ) var _ Operation = &EditCommentOperation{} diff --git a/entities/bug/op_edit_comment_test.go b/entities/bug/op_edit_comment_test.go index 2ca1345e29fbd569852f8ed23bb769e1925586b9..8a1f70d998fc81dbb87196e33d84813440d6a5e0 100644 --- a/entities/bug/op_edit_comment_test.go +++ b/entities/bug/op_edit_comment_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) func TestEdit(t *testing.T) { diff --git a/entities/bug/op_label_change.go b/entities/bug/op_label_change.go index 0d13fe9e04a6c32d03a984d25df073dc31bb1434..b65b8ffb96c07a4b7efb942beb71debf6b52c2e9 100644 --- a/entities/bug/op_label_change.go +++ b/entities/bug/op_label_change.go @@ -8,10 +8,10 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/util/timestamp" ) var _ Operation = &LabelChangeOperation{} diff --git a/entities/bug/op_label_change_test.go b/entities/bug/op_label_change_test.go index e6dc880359ccbcf876fc15c36d09e78224adcd8e..d184e47a534607890d4620b252df1fc0fae6b35e 100644 --- a/entities/bug/op_label_change_test.go +++ b/entities/bug/op_label_change_test.go @@ -3,9 +3,9 @@ package bug import ( "testing" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) func TestLabelChangeSerialize(t *testing.T) { diff --git a/entities/bug/op_set_metadata.go b/entities/bug/op_set_metadata.go index b4aab78c7f30eb1aa1e87a8a0476895238b42693..fd5cc94b595834d237b5fd2326e9e5fe8fb0a137 100644 --- a/entities/bug/op_set_metadata.go +++ b/entities/bug/op_set_metadata.go @@ -1,9 +1,9 @@ package bug import ( - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) func NewSetMetadataOp(author identity.Interface, unixTime int64, target entity.Id, newMetadata map[string]string) *dag.SetMetadataOperation[*Snapshot] { diff --git a/entities/bug/op_set_status.go b/entities/bug/op_set_status.go index 68199129d57d64def78eebf42fe6faeee7732996..641065a03879a0ac5803251e68c34ae7f487c3ec 100644 --- a/entities/bug/op_set_status.go +++ b/entities/bug/op_set_status.go @@ -3,11 +3,11 @@ package bug import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/util/timestamp" ) var _ Operation = &SetStatusOperation{} diff --git a/entities/bug/op_set_status_test.go b/entities/bug/op_set_status_test.go index 0f6d358a19571923321bb7d7e3f7d33fbbaded01..449e40cae50e0e064ce93f5107b15914ebb55feb 100644 --- a/entities/bug/op_set_status_test.go +++ b/entities/bug/op_set_status_test.go @@ -3,10 +3,10 @@ package bug import ( "testing" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) func TestSetStatusSerialize(t *testing.T) { diff --git a/entities/bug/op_set_title.go b/entities/bug/op_set_title.go index 6e445aa6490971bf411f4b2df9bba9003c844a9d..7ec98281cd7234e19bb94f7ae2415f7df94ac91d 100644 --- a/entities/bug/op_set_title.go +++ b/entities/bug/op_set_title.go @@ -3,12 +3,12 @@ package bug import ( "fmt" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/util/timestamp" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" ) var _ Operation = &SetTitleOperation{} diff --git a/entities/bug/op_set_title_test.go b/entities/bug/op_set_title_test.go index 82425ab49208cb9262a1a18655d2535a279701b0..60157c6cac1e704d91e0b4fbb655facdbed6eb0c 100644 --- a/entities/bug/op_set_title_test.go +++ b/entities/bug/op_set_title_test.go @@ -3,9 +3,9 @@ package bug import ( "testing" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) func TestSetTitleSerialize(t *testing.T) { diff --git a/entities/bug/operation.go b/entities/bug/operation.go index 04365046cbbaab4460a62a341df829304e542aa7..9c8d20168a2ef5dbfc42981c2a7305eef4bcc37a 100644 --- a/entities/bug/operation.go +++ b/entities/bug/operation.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "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" ) const ( diff --git a/entities/bug/operation_test.go b/entities/bug/operation_test.go index 4bec49ae7fef034c3e7736a9aaf72a60855e4ad3..d24faa7afec0e44ade42e244d8cf7ee2c692d6bf 100644 --- a/entities/bug/operation_test.go +++ b/entities/bug/operation_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "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/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" ) // TODO: move to entity/dag? diff --git a/entities/bug/resolver.go b/entities/bug/resolver.go index b0a0591760ef97466b67087f72fb91177e56c198..07ff66f590512c5edaa00d4a1ee2d619934429ff 100644 --- a/entities/bug/resolver.go +++ b/entities/bug/resolver.go @@ -1,8 +1,8 @@ package bug import ( - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) var _ entity.Resolver = &SimpleResolver{} diff --git a/entities/bug/snapshot.go b/entities/bug/snapshot.go index 5c260d85f87099447810ae30e41cb379d86e3937..ca3522848f70d2ea437c8d256967f5b19d349719 100644 --- a/entities/bug/snapshot.go +++ b/entities/bug/snapshot.go @@ -4,10 +4,10 @@ import ( "fmt" "time" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) var _ dag.Snapshot = &Snapshot{} diff --git a/entities/bug/timeline.go b/entities/bug/timeline.go index 84ece2621f85e7589f818f104adedb69ccfb4358..4f3d956e074ad356a7cad1574566e1cdc7be10ce 100644 --- a/entities/bug/timeline.go +++ b/entities/bug/timeline.go @@ -3,10 +3,10 @@ package bug import ( "strings" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/timestamp" ) type TimelineItem interface { diff --git a/entities/identity/identity.go b/entities/identity/identity.go index 91564ffa518f4069a1ccfd72f44e9d91800ed772..9a10098fa21dd798506e9dcd1a364d62277d3313 100644 --- a/entities/identity/identity.go +++ b/entities/identity/identity.go @@ -8,10 +8,10 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/timestamp" ) const identityRefPattern = "refs/identities/" diff --git a/entities/identity/identity_actions.go b/entities/identity/identity_actions.go index 07560dc04231a622e1f518148b6952429c7d1bfd..d381a84e118fd0d27a76c636152d2722a7b96ac6 100644 --- a/entities/identity/identity_actions.go +++ b/entities/identity/identity_actions.go @@ -6,8 +6,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) // Fetch retrieve updates from a remote diff --git a/entities/identity/identity_actions_test.go b/entities/identity/identity_actions_test.go index e9626cb97a8f5783ee5aad48ac95c6728ffd951b..0f222c013feb2c322548895af2bd97e796438334 100644 --- a/entities/identity/identity_actions_test.go +++ b/entities/identity/identity_actions_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) func TestIdentityPushPull(t *testing.T) { diff --git a/entities/identity/identity_stub.go b/entities/identity/identity_stub.go index fb5c90a5c8684356be2b7801f0fa73d184ee31b8..a8631576d0f5adc401180d1005870aebc86395c7 100644 --- a/entities/identity/identity_stub.go +++ b/entities/identity/identity_stub.go @@ -3,10 +3,10 @@ package identity import ( "encoding/json" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/timestamp" ) var _ Interface = &IdentityStub{} diff --git a/entities/identity/identity_test.go b/entities/identity/identity_test.go index 85d5385bc1dac54e26b4265c25d63174f5d21915..ab6a1e2321e0c5efcd95d9bca5a9b56ea7f76261 100644 --- a/entities/identity/identity_test.go +++ b/entities/identity/identity_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" ) // Test the commit and load of an Identity with multiple versions diff --git a/entities/identity/identity_user.go b/entities/identity/identity_user.go index f9e39bb22ad55e38ff563630aa5500d3a36e2be0..66ad582d8e47ad4e0d0f6ca38986d3162e198ed6 100644 --- a/entities/identity/identity_user.go +++ b/entities/identity/identity_user.go @@ -6,8 +6,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) // SetUserIdentity store the user identity's id in the git config diff --git a/entities/identity/interface.go b/entities/identity/interface.go index c6e22e0008dd81c107bff292078e3407c793468a..98fbf1860bbb7f87ac73dac277eae5b72855f42f 100644 --- a/entities/identity/interface.go +++ b/entities/identity/interface.go @@ -1,10 +1,10 @@ package identity import ( - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" - "github.com/MichaelMure/git-bug/util/timestamp" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/timestamp" ) type Interface interface { diff --git a/entities/identity/key.go b/entities/identity/key.go index 5ded31fab57597722a90740e3185b2e54b8d68ba..543fade2dbcf449dbadd443bc5b956a389cb92e6 100644 --- a/entities/identity/key.go +++ b/entities/identity/key.go @@ -13,7 +13,7 @@ import ( "github.com/ProtonMail/go-crypto/openpgp/packet" "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/repository" ) var errNoPrivateKey = fmt.Errorf("no private key") diff --git a/entities/identity/key_test.go b/entities/identity/key_test.go index 6e320dc2056dc35dcc0e4f8de2806a1d277520e9..764e129d8ba087806f65d9802fd34599dd4b6d87 100644 --- a/entities/identity/key_test.go +++ b/entities/identity/key_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/repository" ) func TestPublicKeyJSON(t *testing.T) { diff --git a/entities/identity/resolver.go b/entities/identity/resolver.go index a4b676f349ef4ccae97d0d79017b87696a49b9f5..29f41059ac7c14fd9ae31f40614e3003befe9d3a 100644 --- a/entities/identity/resolver.go +++ b/entities/identity/resolver.go @@ -1,8 +1,8 @@ package identity import ( - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) var _ entity.Resolver = &SimpleResolver{} diff --git a/entities/identity/version.go b/entities/identity/version.go index fe1565cff35276d4d09813732c8f68417c8e8759..5d0bd010971799d0a3dee1670183a523efebc673 100644 --- a/entities/identity/version.go +++ b/entities/identity/version.go @@ -8,10 +8,10 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/text" ) // 1: original format diff --git a/entities/identity/version_test.go b/entities/identity/version_test.go index 385ad4d7ca32d2dc355bb6e17559416c854434d4..cf677ce17221fcef339fe2a5c3f9ab964de40693 100644 --- a/entities/identity/version_test.go +++ b/entities/identity/version_test.go @@ -8,9 +8,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" ) func makeIdentityTestRepo(t *testing.T) repository.ClockedRepo { diff --git a/entity/dag/clock.go b/entity/dag/clock.go index a195df1feefe1bc660db0524118fa8e0d6a76a56..f773e15c4ef831cde04d9ced66285a831cb39de5 100644 --- a/entity/dag/clock.go +++ b/entity/dag/clock.go @@ -5,7 +5,7 @@ import ( "golang.org/x/sync/errgroup" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/repository" ) // ClockLoader is the repository.ClockLoader for Entity diff --git a/entity/dag/common_test.go b/entity/dag/common_test.go index 4c7b59f00a673c947d32f87a0f638526a06f1194..1c6bade738d39a240d077b6f2e7eb839ac5ca9e4 100644 --- a/entity/dag/common_test.go +++ b/entity/dag/common_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) // This file contains an example dummy entity to be used in the tests diff --git a/entity/dag/entity.go b/entity/dag/entity.go index f8dbd53df10b29c8d6e1e5dc2b9180058387e090..bc742254ad81fbb6dd27dedb5af4f55e07a61d40 100644 --- a/entity/dag/entity.go +++ b/entity/dag/entity.go @@ -9,10 +9,10 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" ) const refsPattern = "refs/%s/%s" diff --git a/entity/dag/entity_actions.go b/entity/dag/entity_actions.go index 5f0abec3d92d70996057ae0c9b38e723446cd3aa..fa6e0d2f13bed6a1355c884c355b8aea5b05a1bc 100644 --- a/entity/dag/entity_actions.go +++ b/entity/dag/entity_actions.go @@ -5,9 +5,9 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) // ListLocalIds list all the available local Entity's Id diff --git a/entity/dag/entity_actions_test.go b/entity/dag/entity_actions_test.go index 6181614bcc5794daab893d7fdf99c0ca999a44d1..e51b50bc3130f436c9717a34a5cfcfd61e90ceaf 100644 --- a/entity/dag/entity_actions_test.go +++ b/entity/dag/entity_actions_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) func allEntities(t testing.TB, bugs <-chan entity.StreamedEntity[*Foo]) []*Foo { diff --git a/entity/dag/example_test.go b/entity/dag/example_test.go index a263eb2b73f7c1d45a197f07bb5e7eee753c607d..c9e4f3521f63b638c4e0967c84a7af4ac56a0913 100644 --- a/entity/dag/example_test.go +++ b/entity/dag/example_test.go @@ -6,14 +6,14 @@ import ( "os" "time" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" ) // Note: you can find explanations about the underlying data model here: -// https://github.com/MichaelMure/git-bug/blob/master/doc/model.md +// https://github.com/git-bug/git-bug/blob/master/doc/model.md // This file explains how to define a replicated data structure, stored in and using git as a medium for // synchronisation. To do this, we'll use the entity/dag package, which will do all the complex handling. diff --git a/entity/dag/interface.go b/entity/dag/interface.go index 80abaced0a945a4f69c89301661a1ac2327ad0bd..dfa32a482f450e6bec44fc955d459a6783621376 100644 --- a/entity/dag/interface.go +++ b/entity/dag/interface.go @@ -1,9 +1,9 @@ package dag import ( - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" ) // Interface define the extended interface of a dag.Entity diff --git a/entity/dag/op_noop.go b/entity/dag/op_noop.go index c2d896a644d96902b5b9f849d0a901bfbce198f9..f2feeb97454c42345e7c84c54dc66b7a54932378 100644 --- a/entity/dag/op_noop.go +++ b/entity/dag/op_noop.go @@ -1,8 +1,8 @@ package dag import ( - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" ) var _ Operation = &NoOpOperation[Snapshot]{} diff --git a/entity/dag/op_noop_test.go b/entity/dag/op_noop_test.go index 61497b5b19b85e1effd791e7e8dc8a3b2951f191..4c60a577d9bb373536150581725e7792aba13549 100644 --- a/entity/dag/op_noop_test.go +++ b/entity/dag/op_noop_test.go @@ -4,8 +4,8 @@ import ( "encoding/json" "testing" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" ) func TestNoopSerialize(t *testing.T) { diff --git a/entity/dag/op_set_metadata.go b/entity/dag/op_set_metadata.go index 4d2d0f8c775800560d29ccdbe2dc898b66ac27d4..9ba80259b25238ac85488c84c5fbf43d357deeed 100644 --- a/entity/dag/op_set_metadata.go +++ b/entity/dag/op_set_metadata.go @@ -5,9 +5,9 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/util/text" ) var _ Operation = &SetMetadataOperation[Snapshot]{} diff --git a/entity/dag/op_set_metadata_test.go b/entity/dag/op_set_metadata_test.go index a06f89daf9fb59f2dac106fa8efa8513a24361f1..6408dfa8ec3e630b19cc91d9bb5e79c39645be85 100644 --- a/entity/dag/op_set_metadata_test.go +++ b/entity/dag/op_set_metadata_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" "github.com/stretchr/testify/require" ) diff --git a/entity/dag/operation.go b/entity/dag/operation.go index f50d91b65d43dfc197b56104bd6ba6f298b58699..6dc90c3a772d32bdb3729cd04ab6c345eca1a751 100644 --- a/entity/dag/operation.go +++ b/entity/dag/operation.go @@ -8,9 +8,9 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) // OperationType is an operation type identifier diff --git a/entity/dag/operation_pack.go b/entity/dag/operation_pack.go index 3a871c12d817b8a4680fa203d706af218b8dfd39..1fd4daf7d7c9ef7af17e381b07c95732bd246cfa 100644 --- a/entity/dag/operation_pack.go +++ b/entity/dag/operation_pack.go @@ -9,10 +9,10 @@ import ( "github.com/ProtonMail/go-crypto/openpgp" "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/lamport" ) const opsEntryName = "ops" diff --git a/entity/dag/operation_pack_test.go b/entity/dag/operation_pack_test.go index 09e60cafbdd5dd934d959d766613d04cd92ae121..34470386520c9fc03838c91c26a4799206424dcf 100644 --- a/entity/dag/operation_pack_test.go +++ b/entity/dag/operation_pack_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) func TestOperationPackReadWrite(t *testing.T) { diff --git a/entity/dag/operation_testing.go b/entity/dag/operation_testing.go index 0ca47d4b5dd065454c11e71e84c699e13256745b..de881a10b510e07352e6d5a30657b027147f7f29 100644 --- a/entity/dag/operation_testing.go +++ b/entity/dag/operation_testing.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/repository" ) // SerializeRoundTripTest realize a marshall/unmarshall round-trip in the same condition as with OperationPack, diff --git a/entity/err.go b/entity/err.go index 4453d36ef8224ca6b301135c90a4980ce3213889..012b9a9e9db69e9a03c1867c1a0b7c41bc6cdce4 100644 --- a/entity/err.go +++ b/entity/err.go @@ -75,10 +75,10 @@ func NewErrUnknownFormat(expected uint) *ErrInvalidFormat { func (e ErrInvalidFormat) Error() string { if e.version == 0 { - return fmt.Sprintf("unreadable data, you likely have an outdated repository format, please use https://github.com/MichaelMure/git-bug-migration to upgrade to format version %v", e.expected) + return fmt.Sprintf("unreadable data, you likely have an outdated repository format, please use https://github.com/git-bug/git-bug-migration to upgrade to format version %v", e.expected) } if e.version < e.expected { - return fmt.Sprintf("outdated repository format %v, please use https://github.com/MichaelMure/git-bug-migration to upgrade to format version %v", e.version, e.expected) + return fmt.Sprintf("outdated repository format %v, please use https://github.com/git-bug/git-bug-migration to upgrade to format version %v", e.version, e.expected) } return fmt.Sprintf("your version of git-bug is too old for this repository (format version %v, expected %v), please upgrade to the latest version", e.version, e.expected) } diff --git a/entity/id.go b/entity/id.go index 0949bf924a8aa2b110b3e14fd4e809cb747edb8e..99fc7470f5cf4c676e9b7d047233481bc1cc4dd8 100644 --- a/entity/id.go +++ b/entity/id.go @@ -67,7 +67,7 @@ func (i Id) MarshalGQL(w io.Writer) { func (i Id) Validate() error { // Special case to detect outdated repo if len(i) == 40 { - return fmt.Errorf("outdated repository format, please use https://github.com/MichaelMure/git-bug-migration to upgrade") + return fmt.Errorf("outdated repository format, please use https://github.com/git-bug/git-bug-migration to upgrade") } if len(i) != idLength { return fmt.Errorf("invalid length") diff --git a/entity/id_interleaved.go b/entity/id_interleaved.go index 7ae6d72e94cd623fe0970b0f09c1817630ce782c..68c79c3c7f57091b60aad4e6a780047d5a66100c 100644 --- a/entity/id_interleaved.go +++ b/entity/id_interleaved.go @@ -55,7 +55,7 @@ func (ci CombinedId) MarshalGQL(w io.Writer) { func (ci CombinedId) Validate() error { // Special case to detect outdated repo if len(ci) == 40 { - return fmt.Errorf("outdated repository format, please use https://github.com/MichaelMure/git-bug-migration to upgrade") + return fmt.Errorf("outdated repository format, please use https://github.com/git-bug/git-bug-migration to upgrade") } if len(ci) != idLength { return fmt.Errorf("invalid length") diff --git a/git-bug.go b/git-bug.go index 99fe81c5a20ec5ddc206567c03f219e8f2a93fe7..d60bff96b34a46845941dee8af7796b2ccf0cc9b 100644 --- a/git-bug.go +++ b/git-bug.go @@ -4,7 +4,7 @@ package main import ( - "github.com/MichaelMure/git-bug/commands" + "github.com/git-bug/git-bug/commands" ) func main() { diff --git a/go.mod b/go.mod index ebdf536d90ccc5195e40aedcf636a39fea9dfdec..9d29723319d37d9a39d9a04f8608cd8038794f00 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/MichaelMure/git-bug +module github.com/git-bug/git-bug go 1.22.5 diff --git a/misc/completion/gen_completion.go b/misc/completion/gen_completion.go index 5f64383246b0e63a070f17432132e2ad09cea208..e2a8cc1bfbdab1129945467600de52181ff3ec40 100644 --- a/misc/completion/gen_completion.go +++ b/misc/completion/gen_completion.go @@ -8,7 +8,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands" + "github.com/git-bug/git-bug/commands" ) func main() { diff --git a/misc/random_bugs/cmd/main.go b/misc/random_bugs/cmd/main.go index cc6ad3737f080eebc3e3a892e7e814ee43ce41cd..9a24bbb498f986f38c49229a946893cbbca0b260 100644 --- a/misc/random_bugs/cmd/main.go +++ b/misc/random_bugs/cmd/main.go @@ -3,9 +3,9 @@ package main import ( "os" - "github.com/MichaelMure/git-bug/entities/bug" - rb "github.com/MichaelMure/git-bug/misc/random_bugs" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + rb "github.com/git-bug/git-bug/misc/random_bugs" + "github.com/git-bug/git-bug/repository" ) // This program will randomly generate a collection of bugs in the repository diff --git a/misc/random_bugs/create_random_bugs.go b/misc/random_bugs/create_random_bugs.go index 7e94b61a919d5e294dbebf59d62b7e1947561da9..a7caf931c10a127c1f110e871815859db5a3125b 100644 --- a/misc/random_bugs/create_random_bugs.go +++ b/misc/random_bugs/create_random_bugs.go @@ -7,9 +7,9 @@ import ( "github.com/icrowley/fake" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/repository" ) type opsGenerator func(bug.Interface, identity.Interface, int64) diff --git a/query/parser.go b/query/parser.go index 03b36c0d869a7b064e0bdc35cd98b97736dcdac2..722045f5e3c9a0e3f7daf6247d22d1f4b4ff855c 100644 --- a/query/parser.go +++ b/query/parser.go @@ -3,7 +3,7 @@ package query import ( "fmt" - "github.com/MichaelMure/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/common" ) // Parse parse a query DSL diff --git a/query/parser_test.go b/query/parser_test.go index f2aeb0e9851007fbc71dc0d57a3ccc224ed6e7d5..a75250deb6aa52bc26383919cd566ef5e69716e1 100644 --- a/query/parser_test.go +++ b/query/parser_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/common" ) func TestParse(t *testing.T) { diff --git a/query/query.go b/query/query.go index 6b53ecd95ff35897fb305aec28dacd1fc998c1fa..fecee212dd1299f7b204b5c4548592160f124f59 100644 --- a/query/query.go +++ b/query/query.go @@ -1,7 +1,7 @@ package query import ( - "github.com/MichaelMure/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/common" ) // Query is the intermediary representation of a Bug's query. It is either diff --git a/repository/gogit.go b/repository/gogit.go index 95c5330d0a0425a9f231fcbf8afe0e25c1848ec2..2862eb7df6c1c0e6122f3f24341f80d4ecdd8fea 100644 --- a/repository/gogit.go +++ b/repository/gogit.go @@ -23,7 +23,7 @@ import ( "golang.org/x/sync/errgroup" "golang.org/x/sys/execabs" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/lamport" ) const clockPath = "clocks" diff --git a/repository/mock_repo.go b/repository/mock_repo.go index 6ea5c71ee3f6f57adc39eff7e0d97b99c8930e7a..b9cbe138d6db750baae942c925cabaf7508b58f1 100644 --- a/repository/mock_repo.go +++ b/repository/mock_repo.go @@ -11,7 +11,7 @@ import ( "github.com/ProtonMail/go-crypto/openpgp" "github.com/go-git/go-billy/v5/memfs" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/lamport" ) var _ ClockedRepo = &mockRepo{} @@ -115,7 +115,7 @@ func (r *mockRepoCommon) GetCoreEditor() (string, error) { // GetRemotes returns the configured remotes repositories. func (r *mockRepoCommon) GetRemotes() (map[string]string, error) { return map[string]string{ - "origin": "git://github.com/MichaelMure/git-bug", + "origin": "git://github.com/git-bug/git-bug", }, nil } diff --git a/repository/repo.go b/repository/repo.go index c39051d59e34292c3d49c091c216b3bc2a61c9de..2347427720a014ed1960342ed9c0c30413c3aa55 100644 --- a/repository/repo.go +++ b/repository/repo.go @@ -8,7 +8,7 @@ import ( "github.com/ProtonMail/go-crypto/openpgp" "github.com/go-git/go-billy/v5" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/lamport" ) var ( diff --git a/repository/repo_testing.go b/repository/repo_testing.go index 3dd702f458876c90c8562468573639cc2eb61283..0bf93ceef83f6eadb7e5043b095c0c3e3b73e424 100644 --- a/repository/repo_testing.go +++ b/repository/repo_testing.go @@ -8,7 +8,7 @@ import ( "github.com/ProtonMail/go-crypto/openpgp" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/util/lamport" ) type RepoCreator func(t testing.TB, bare bool) TestedRepo diff --git a/termui/bug_table.go b/termui/bug_table.go index 9db13ada0557f4ef0af5b5140f1891eb10ef605b..ff56e36ace71df0c2df9bea65d763ada4f75dd23 100644 --- a/termui/bug_table.go +++ b/termui/bug_table.go @@ -10,10 +10,10 @@ import ( "github.com/awesome-gocui/gocui" "github.com/dustin/go-humanize" - "github.com/MichaelMure/git-bug/cache" - "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/entity" + "github.com/git-bug/git-bug/query" + "github.com/git-bug/git-bug/util/colors" ) const bugTableView = "bugTableView" diff --git a/termui/help_bar.go b/termui/help_bar.go index 9fc7c152356dc5299778888adb88d58ed0a92440..f5222ea4f8a6a5a6c27e5ed285698e67f0b0e780 100644 --- a/termui/help_bar.go +++ b/termui/help_bar.go @@ -6,7 +6,7 @@ import ( text "github.com/MichaelMure/go-term-text" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/util/colors" ) type helpBar []struct { diff --git a/termui/label_select.go b/termui/label_select.go index 6721165e07efd25734c14fe6cd1ac319cddea483..5ae1c09aef87601775be728dc7cc2252c8e5c7ef 100644 --- a/termui/label_select.go +++ b/termui/label_select.go @@ -7,8 +7,8 @@ import ( "github.com/awesome-gocui/gocui" - "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" ) const labelSelectView = "labelSelectView" diff --git a/termui/show_bug.go b/termui/show_bug.go index 8bcae84221d9c8ad6bd872ff4b5564d81ae38f46..d5071b02ce0e98390bd844d1d6ebd8de00e8f240 100644 --- a/termui/show_bug.go +++ b/termui/show_bug.go @@ -9,11 +9,11 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/awesome-gocui/gocui" - "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/util/colors" + "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/util/colors" ) const showBugView = "showBugView" diff --git a/termui/termui.go b/termui/termui.go index d640ed1c6641f0d357b0728624970144099d66ca..8ca0792f0bb2d9a3d7e7ddb6393f571fa2a9e144 100644 --- a/termui/termui.go +++ b/termui/termui.go @@ -7,11 +7,11 @@ import ( "github.com/awesome-gocui/gocui" "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/cache" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/cache" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" + "github.com/git-bug/git-bug/util/text" ) var errTerminateMainloop = errors.New("terminate gocui mainloop") diff --git a/tests/read_bugs_test.go b/tests/read_bugs_test.go index d6c0447f6313c093430ffc085c089da33b83c0b6..689a64fdd6a7bf60b300b8d6b74ec0ba3e1c0880 100644 --- a/tests/read_bugs_test.go +++ b/tests/read_bugs_test.go @@ -3,9 +3,9 @@ package tests import ( "testing" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/misc/random_bugs" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/misc/random_bugs" + "github.com/git-bug/git-bug/repository" ) func TestReadBugs(t *testing.T) { diff --git a/webui/src/__tests__/query.ts b/webui/src/__tests__/query.ts index 97ec75a6c0da8c73e2f365f4fc4054cce279b166..113fd51d7f7c0fb7e45348e054358bdfcbd20ea7 100644 --- a/webui/src/__tests__/query.ts +++ b/webui/src/__tests__/query.ts @@ -123,11 +123,9 @@ it('parses a complex query', () => { }); it('parses a key:value:value query', () => { - expect(parse(`meta:github:"https://github.com/MichaelMure/git-bug"`)).toEqual( - { - meta: [`github:"https://github.com/MichaelMure/git-bug"`], - } - ); + expect(parse(`meta:github:"https://github.com/git-bug/git-bug"`)).toEqual({ + meta: [`github:"https://github.com/git-bug/git-bug"`], + }); }); it('quotes values', () => {