diff options
author | sudoforge <no-reply@sudoforge.com> | 2024-08-24 08:08:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-24 08:08:00 -0700 |
commit | 2004fa79e6ae7645d964a03e2ae2dd808f7d486a (patch) | |
tree | 64f3d5291d6957bd57fdb168b6aa10452f0fa1cb | |
parent | 63295b1106e0ad01bc1e0d682b71df14558b293a (diff) | |
download | git-bug-2004fa79e6ae7645d964a03e2ae2dd808f7d486a.tar.gz |
feat: update references to the git-bug organization (#1249)
The repository was recently moved to the git-bug organization on github.
This change refactors references to the repository to ensure that they
use the updated owner URI.
Closes: #1243
Change-Id: I799712354c6ba25cdd8b06286275850c52efe6ff
235 files changed, 784 insertions, 756 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e929d672..4d3fd58a 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] @@ -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} @@ -1,5 +1,5 @@ <p align="center"> - <img width="150px" src="https://cdn.rawgit.com/MichaelMure/git-bug/master/misc/logo/logo-alpha-flat-bg.svg"> + <img width="150px" src="https://cdn.rawgit.com/git-bug/git-bug/master/misc/logo/logo-alpha-flat-bg.svg"> </p> <h1 align="center">git-bug</h1> @@ -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) </div> @@ -38,7 +38,7 @@ Individually, those pieces are not especially complex but doing everything make <details><summary>Pre-compiled binaries</summary> -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 <details><summary>Compile from git (unstable)</summary> ```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`: <img src="misc/diagrams/native_workflow.png" alt="Native workflow"> </p> -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. </details> @@ -236,7 +236,7 @@ Or manually: git bug bridge new \ --name=<bridge> \ --target=github \ - --url=https://github.com/MichaelMure/git-bug \ + --url=https://github.com/git-bug/git-bug \ --login=<login> \ --token=<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. -<a href="https://github.com/MichaelMure/git-bug/graphs/contributors"><img src="https://opencollective.com/git-bug/contributors.svg?width=890&button=false" /></a> +<a href="https://github.com/git-bug/git-bug/graphs/contributors"><img src="https://opencollective.com/git-bug/contributors.svg?width=890&button=false" /></a> ## Backers diff --git a/api/auth/context.go b/api/auth/context.go index 2547aaca..1119e00f 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 d1d654ce..d72354fe 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 037c3da5..b97d1ece 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 4e37fcd9..bb8f04ec 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 b7ee1601..1994aced 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 28a2b019..cdd9c077 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 6f265a8e..238305b4 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 a1f06a0e..5a7af08f 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 64ce5f4b..acb1d048 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 848cebd6..bfdf3491 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 d3e10cec..ea24f44c 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 6ed6e52f..c20b7618 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 a5685942..4d12cc84 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 1fe6ac23..b65cf1ab 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 c5ebe0e0..7941db71 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 6b3755ba..1316b407 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 838f16b0..feb8878d 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 bb1d2c76..6600b364 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 c72c6e45..99cbbcb6 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 61357c74..764a221d 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 85e447b3..db7dc82b 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 f0c4b06d..2433ccd2 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 7326d929..014ec58a 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 b9ced703..41e43ec8 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 1d30bf72..e35ec48c 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 000f4a10..a63233a1 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 4b0b598e..a843c97a 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 c19d077b..a131d450 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 816a04a8..5355b722 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 c40949fa..d5c13e06 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 cfa411f8..75936f98 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 7dddc3c8..01c17416 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 69a32c98..6e81df36 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 5210dcc9..8fe6c8e5 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 32e1fa7c..ab00fb4c 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 91194213..4bb486ed 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 b2003555..b08d9825 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 67b03628..bfec95fb 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 44ae010e..ca0fb8ea 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 2d691173..b710c32c 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 11448a3a..4dc66c37 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 b5676970..5db54a52 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 8319da32..830e035e 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 2f02baf1..9aa95def 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 d74a58fa..5fe0c395 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 20343c9c..cb8e2baf 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 f9d1bf67..9b6c1828 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 8bb25835..b35576d0 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 496f2412..91114463 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 166e37fb..fd5d730b 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 84d6ac13..0b28326c 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 1fc631f0..63f5d44a 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 ed079eb8..4fc9501d 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 9a248739..11f90353 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 8fab476e..a072d24a 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 3d212f29..00b7a70e 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 e33b28d4..1072d7cb 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 9ae1d187..401149a8 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 01907435..a2043404 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 30e064c0..6f882637 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 e06457d4..9b10020d 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 cbeb03eb..09a352a8 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 4a51d117..2268d9e7 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 = "<empty string>" diff --git a/bridge/github/import_integration_test.go b/bridge/github/import_integration_test.go index 8c411d8d..a642d374 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 b0ff2f99..80be5116 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 9411ba2e..13864771 100644 --- a/bridge/gitlab/config.go +++ b/bridge/gitlab/config.go @@ -10,11 +10,11 @@ import ( "github.com/pkg/errors" "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/input" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/input" + "github.com/git-bug/git-bug/repository" ) var ( diff --git a/bridge/gitlab/config_test.go b/bridge/gitlab/config_test.go index 43ed649a..2814b482 100644 --- a/bridge/gitlab/config_test.go +++ b/bridge/gitlab/config_test.go @@ -22,57 +22,57 @@ func TestProjectPath(t *testing.T) { { name: "default url", args: args{ - url: "https://gitlab.com/MichaelMure/git-bug", + url: "https://gitlab.com/git-bug/git-bug", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "multiple sub groups", args: args{ - url: "https://gitlab.com/MichaelMure/group/subgroup/git-bug", + url: "https://gitlab.com/git-bug/group/subgroup/git-bug", }, want: want{ - path: "MichaelMure/group/subgroup/git-bug", + path: "git-bug/group/subgroup/git-bug", err: nil, }, }, { name: "default url with git extension", args: args{ - url: "https://gitlab.com/MichaelMure/git-bug.git", + url: "https://gitlab.com/git-bug/git-bug.git", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "url with git protocol", args: args{ - url: "git://gitlab.com/MichaelMure/git-bug.git", + url: "git://gitlab.com/git-bug/git-bug.git", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "ssh url", args: args{ - url: "git@gitlab.com/MichaelMure/git-bug.git", + url: "git@gitlab.com/git-bug/git-bug.git", }, want: want{ - path: "MichaelMure/git-bug", + path: "git-bug/git-bug", err: nil, }, }, { name: "bad url", args: args{ - url: "---,%gitlab.com/MichaelMure/git-bug.git", + url: "---,%gitlab.com/git-bug/git-bug.git", }, want: want{ err: ErrBadProjectURL, diff --git a/bridge/gitlab/event.go b/bridge/gitlab/event.go index 0653269d..92592e4d 100644 --- a/bridge/gitlab/event.go +++ b/bridge/gitlab/event.go @@ -7,7 +7,7 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" ) // Event represents a unified GitLab event (note, label or state event). diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go index 8cf8decf..040ace41 100644 --- a/bridge/gitlab/export.go +++ b/bridge/gitlab/export.go @@ -10,13 +10,13 @@ import ( "github.com/pkg/errors" "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" ) var ( diff --git a/bridge/gitlab/export_test.go b/bridge/gitlab/export_test.go index 7c826822..bbc2b11c 100644 --- a/bridge/gitlab/export_test.go +++ b/bridge/gitlab/export_test.go @@ -11,16 +11,16 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/entity/dag" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/entity/dag" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) const ( diff --git a/bridge/gitlab/gitlab.go b/bridge/gitlab/gitlab.go index 3625a9bb..864d60c9 100644 --- a/bridge/gitlab/gitlab.go +++ b/bridge/gitlab/gitlab.go @@ -5,8 +5,8 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" ) const ( diff --git a/bridge/gitlab/gitlab_api.go b/bridge/gitlab/gitlab_api.go index c00baf9d..79d2bfef 100644 --- a/bridge/gitlab/gitlab_api.go +++ b/bridge/gitlab/gitlab_api.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/util/text" "github.com/xanzy/go-gitlab" ) diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go index e4330b4c..43289e0d 100644 --- a/bridge/gitlab/import.go +++ b/bridge/gitlab/import.go @@ -8,11 +8,11 @@ import ( "github.com/xanzy/go-gitlab" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/util/text" ) // gitlabImporter implement the Importer interface diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go index bed93a80..2190369b 100644 --- a/bridge/gitlab/import_test.go +++ b/bridge/gitlab/import_test.go @@ -9,15 +9,15 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/entity/dag" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/entity/dag" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) func TestGitlabImport(t *testing.T) { @@ -73,7 +73,7 @@ func TestGitlabImport(t *testing.T) { bug: &bug.Snapshot{ Operations: []dag.Operation{ bug.NewCreateOp(author, 0, "complex issue", "initial comment", nil), - bug.NewAddCommentOp(author, 0, "### header\n\n**bold**\n\n_italic_\n\n> with quote\n\n`inline code`\n\n```\nmultiline code\n```\n\n- bulleted\n- list\n\n1. numbered\n1. list\n\n- [ ] task\n- [x] list\n\n@MichaelMure mention\n\n#2 reference issue\n#3 auto-reference issue", nil), + bug.NewAddCommentOp(author, 0, "### header\n\n**bold**\n\n_italic_\n\n> with quote\n\n`inline code`\n\n```\nmultiline code\n```\n\n- bulleted\n- list\n\n1. numbered\n1. list\n\n- [ ] task\n- [x] list\n\n@git-bug mention\n\n#2 reference issue\n#3 auto-reference issue", nil), bug.NewSetTitleOp(author, 0, "complex issue edited", "complex issue"), bug.NewSetTitleOp(author, 0, "complex issue", "complex issue edited"), bug.NewSetStatusOp(author, 0, common.ClosedStatus), diff --git a/bridge/jira/client.go b/bridge/jira/client.go index 3ceffff2..53dfad6e 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 4fb267db..22ce1dca 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 95f9e28c..2ea34196 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 d8a5f8dd..0d7d1f1e 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 024bf9a2..eaf42065 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 669d36bf..835c0d07 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 6a20217c..67c67b55 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 51ee79d2..6538aaee 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 3466f186..a0670959 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 26b7ec74..12331b62 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 21c9a6d2..a1f4498a 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 9f9e170d..dc40d948 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 5a15e402..199e17b3 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 466b6150..60659a4c 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 79d88537..8e654c86 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 05a91358..42b4d686 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 b76f5312..0b551c23 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 da9544cf..91ca34b4 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 19b6e266..eb441d9e 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 759536bd..17568c27 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 e3a9cc15..48704783 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 1306428f..d9b6db8d 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 674b6923..af61971a 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 9f7c5e50..17e64ac6 100644 --- a/commands/bridge/bridge.go +++ b/commands/bridge/bridge.go @@ -3,8 +3,8 @@ package bridgecmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/commands/execenv" ) func NewBridgeCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_auth.go b/commands/bridge/bridge_auth.go index f27004e0..4a2d2cc1 100644 --- a/commands/bridge/bridge_auth.go +++ b/commands/bridge/bridge_auth.go @@ -7,9 +7,9 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/colors" ) func newBridgeAuthCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_auth_addtoken.go b/commands/bridge/bridge_auth_addtoken.go index 5af27728..69f8ceea 100644 --- a/commands/bridge/bridge_auth_addtoken.go +++ b/commands/bridge/bridge_auth_addtoken.go @@ -10,12 +10,12 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) type bridgeAuthAddTokenOptions struct { diff --git a/commands/bridge/bridge_auth_rm.go b/commands/bridge/bridge_auth_rm.go index 33253e26..bc5101f5 100644 --- a/commands/bridge/bridge_auth_rm.go +++ b/commands/bridge/bridge_auth_rm.go @@ -3,9 +3,9 @@ package bridgecmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newBridgeAuthRm(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_auth_show.go b/commands/bridge/bridge_auth_show.go index 25c517d3..3d5630b5 100644 --- a/commands/bridge/bridge_auth_show.go +++ b/commands/bridge/bridge_auth_show.go @@ -8,9 +8,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newBridgeAuthShow(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_new.go b/commands/bridge/bridge_new.go index 07a555da..2f1363d9 100644 --- a/commands/bridge/bridge_new.go +++ b/commands/bridge/bridge_new.go @@ -9,12 +9,12 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/repository" ) type bridgeNewOptions struct { @@ -43,8 +43,7 @@ target: 1 name [default]: default Detected projects: -[1]: github.com/a-hilaly/git-bug -[2]: github.com/MichaelMure/git-bug +[1]: github.com/git-bug/git-bug [0]: Another project @@ -70,9 +69,9 @@ Successfully configured bridge: default git bug bridge new \ --name=default \ --target=github \ - --owner=$(OWNER) \ - --project=$(PROJECT) \ - --token=$(TOKEN) + --owner=example-owner + --project=example-repo \ + --token=$TOKEN # For Launchpad git bug bridge new \ @@ -83,9 +82,9 @@ git bug bridge new \ # For Gitlab git bug bridge new \ --name=default \ - --target=github \ - --url=https://github.com/michaelmure/git-bug \ - --token=$(TOKEN)`, + --target=gitlab \ + --url=https://github.com/example-org/example-repo \ + --token=$TOKEN`, PreRunE: execenv.LoadBackend(env), RunE: execenv.CloseBackend(env, func(cmd *cobra.Command, args []string) error { return runBridgeNew(env, options) diff --git a/commands/bridge/bridge_pull.go b/commands/bridge/bridge_pull.go index 03f4929a..5e9419b9 100644 --- a/commands/bridge/bridge_pull.go +++ b/commands/bridge/bridge_pull.go @@ -11,11 +11,11 @@ import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/interrupt" ) type bridgePullOptions struct { diff --git a/commands/bridge/bridge_push.go b/commands/bridge/bridge_push.go index 08f9b872..f432f6f4 100644 --- a/commands/bridge/bridge_push.go +++ b/commands/bridge/bridge_push.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/interrupt" ) func newBridgePushCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bridge/bridge_rm.go b/commands/bridge/bridge_rm.go index f6279ade..94258e14 100644 --- a/commands/bridge/bridge_rm.go +++ b/commands/bridge/bridge_rm.go @@ -3,9 +3,9 @@ package bridgecmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newBridgeRm(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug.go b/commands/bug/bug.go index 55a1fa59..4cf18ab9 100644 --- a/commands/bug/bug.go +++ b/commands/bug/bug.go @@ -9,15 +9,15 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/cmdjson" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/entities/common" - "github.com/MichaelMure/git-bug/entity" - "github.com/MichaelMure/git-bug/query" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/cmdjson" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/common" + "github.com/git-bug/git-bug/entity" + "github.com/git-bug/git-bug/query" + "github.com/git-bug/git-bug/util/colors" ) type bugOptions struct { diff --git a/commands/bug/bug_comment.go b/commands/bug/bug_comment.go index b037f688..68ae0af6 100644 --- a/commands/bug/bug_comment.go +++ b/commands/bug/bug_comment.go @@ -4,8 +4,8 @@ import ( text "github.com/MichaelMure/go-term-text" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/colors" ) func newBugCommentCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_comment_add.go b/commands/bug/bug_comment_add.go index 132de233..dbf1e790 100644 --- a/commands/bug/bug_comment_add.go +++ b/commands/bug/bug_comment_add.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) type bugCommentNewOptions struct { diff --git a/commands/bug/bug_comment_add_test.go b/commands/bug/bug_comment_add_test.go index 55e285f4..b6a5ba61 100644 --- a/commands/bug/bug_comment_add_test.go +++ b/commands/bug/bug_comment_add_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugCommentNew(t *testing.T) { diff --git a/commands/bug/bug_comment_edit.go b/commands/bug/bug_comment_edit.go index e6f8d667..f1e10e02 100644 --- a/commands/bug/bug_comment_edit.go +++ b/commands/bug/bug_comment_edit.go @@ -3,8 +3,8 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" ) type bugCommentEditOptions struct { diff --git a/commands/bug/bug_comment_edit_test.go b/commands/bug/bug_comment_edit_test.go index 9e110a3b..21407ac6 100644 --- a/commands/bug/bug_comment_edit_test.go +++ b/commands/bug/bug_comment_edit_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugCommentEdit(t *testing.T) { diff --git a/commands/bug/bug_comment_test.go b/commands/bug/bug_comment_test.go index add48b21..e54cdab1 100644 --- a/commands/bug/bug_comment_test.go +++ b/commands/bug/bug_comment_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" - "github.com/MichaelMure/git-bug/commands/cmdtest" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/cmdtest" + "github.com/git-bug/git-bug/commands/execenv" ) func TestBugComment(t *testing.T) { diff --git a/commands/bug/bug_deselect.go b/commands/bug/bug_deselect.go index 5e9acc60..5a318274 100644 --- a/commands/bug/bug_deselect.go +++ b/commands/bug/bug_deselect.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - _select "github.com/MichaelMure/git-bug/commands/select" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/commands/execenv" + _select "github.com/git-bug/git-bug/commands/select" + "github.com/git-bug/git-bug/entities/bug" ) func newBugDeselectCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_label.go b/commands/bug/bug_label.go index ec076922..dfb1f879 100644 --- a/commands/bug/bug_label.go +++ b/commands/bug/bug_label.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugLabelCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_label_new.go b/commands/bug/bug_label_new.go index 9fff851c..20586ba8 100644 --- a/commands/bug/bug_label_new.go +++ b/commands/bug/bug_label_new.go @@ -3,8 +3,8 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) func newBugLabelNewCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_label_rm.go b/commands/bug/bug_label_rm.go index d389830f..91b24ccf 100644 --- a/commands/bug/bug_label_rm.go +++ b/commands/bug/bug_label_rm.go @@ -3,8 +3,8 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) func newBugLabelRmCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_new.go b/commands/bug/bug_new.go index e66967f9..2c5f5e19 100644 --- a/commands/bug/bug_new.go +++ b/commands/bug/bug_new.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) type bugNewOptions struct { diff --git a/commands/bug/bug_new_test.go b/commands/bug/bug_new_test.go index 210a4b0b..3a4a535f 100644 --- a/commands/bug/bug_new_test.go +++ b/commands/bug/bug_new_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugNew(t *testing.T) { diff --git a/commands/bug/bug_rm.go b/commands/bug/bug_rm.go index b9d3d525..5f3cc803 100644 --- a/commands/bug/bug_rm.go +++ b/commands/bug/bug_rm.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugRmCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_rm_test.go b/commands/bug/bug_rm_test.go index e0c2bbc5..2cc4d034 100644 --- a/commands/bug/bug_rm_test.go +++ b/commands/bug/bug_rm_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestBugRm(t *testing.T) { diff --git a/commands/bug/bug_select.go b/commands/bug/bug_select.go index c93cd7b1..ed0f3354 100644 --- a/commands/bug/bug_select.go +++ b/commands/bug/bug_select.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/execenv" - _select "github.com/MichaelMure/git-bug/commands/select" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/execenv" + _select "github.com/git-bug/git-bug/commands/select" + "github.com/git-bug/git-bug/entities/bug" ) func ResolveSelected(repo *cache.RepoCache, args []string) (*cache.BugCache, []string, error) { diff --git a/commands/bug/bug_show.go b/commands/bug/bug_show.go index ef20df2a..cc00b5ef 100644 --- a/commands/bug/bug_show.go +++ b/commands/bug/bug_show.go @@ -7,11 +7,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/cmdjson" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entities/bug" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/commands/cmdjson" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/util/colors" ) type bugShowOptions struct { diff --git a/commands/bug/bug_status.go b/commands/bug/bug_status.go index c8542240..5323b276 100644 --- a/commands/bug/bug_status.go +++ b/commands/bug/bug_status.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugStatusCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_status_close.go b/commands/bug/bug_status_close.go index 7a8ae4de..c9a935bf 100644 --- a/commands/bug/bug_status_close.go +++ b/commands/bug/bug_status_close.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugStatusCloseCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_status_open.go b/commands/bug/bug_status_open.go index 0c0c02f0..d09584cd 100644 --- a/commands/bug/bug_status_open.go +++ b/commands/bug/bug_status_open.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugStatusOpenCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_test.go b/commands/bug/bug_test.go index c13e8db7..377936f7 100644 --- a/commands/bug/bug_test.go +++ b/commands/bug/bug_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" - . "github.com/MichaelMure/git-bug/commands/cmdtest" + "github.com/git-bug/git-bug/commands/bug/testenv" + . "github.com/git-bug/git-bug/commands/cmdtest" ) func Test_repairQuery(t *testing.T) { diff --git a/commands/bug/bug_title.go b/commands/bug/bug_title.go index af959fb7..6c81161d 100644 --- a/commands/bug/bug_title.go +++ b/commands/bug/bug_title.go @@ -3,7 +3,7 @@ package bugcmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newBugTitleCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/bug/bug_title_edit.go b/commands/bug/bug_title_edit.go index 2d6bafca..1d18a4f9 100644 --- a/commands/bug/bug_title_edit.go +++ b/commands/bug/bug_title_edit.go @@ -3,9 +3,9 @@ package bugcmd import ( "github.com/spf13/cobra" - buginput "github.com/MichaelMure/git-bug/commands/bug/input" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/text" + buginput "github.com/git-bug/git-bug/commands/bug/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/text" ) type bugTitleEditOptions struct { diff --git a/commands/bug/completion.go b/commands/bug/completion.go index 62bf658a..d313ef37 100644 --- a/commands/bug/completion.go +++ b/commands/bug/completion.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - _select "github.com/MichaelMure/git-bug/commands/select" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + _select "github.com/git-bug/git-bug/commands/select" + "github.com/git-bug/git-bug/entities/bug" ) // BugCompletion complete a bug id diff --git a/commands/bug/input/input.go b/commands/bug/input/input.go index 23c20acb..93b7391e 100644 --- a/commands/bug/input/input.go +++ b/commands/bug/input/input.go @@ -7,8 +7,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/commands/input" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/commands/input" + "github.com/git-bug/git-bug/repository" ) const messageFilename = "BUG_MESSAGE_EDITMSG" diff --git a/commands/bug/testenv/testenv.go b/commands/bug/testenv/testenv.go index ffa428d4..6ffd1c62 100644 --- a/commands/bug/testenv/testenv.go +++ b/commands/bug/testenv/testenv.go @@ -6,8 +6,8 @@ import ( "github.com/fatih/color" "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entity" ) const ( @@ -28,7 +28,7 @@ func NewTestEnvAndUser(t *testing.T) (*execenv.Env, entity.Id) { // git-bug command output is consistent in all test scenarios. // // See: - // - https://github.com/MichaelMure/git-bug/issues/926 + // - https://github.com/git-bug/git-bug/issues/926 // - https://github.com/golang/go/issues/57671 // - https://github.com/golang/go/blob/f721fa3be9bb52524f97b409606f9423437535e8/src/cmd/go/internal/test/test.go#L1180-L1208 // - https://github.com/golang/go/issues/34877 diff --git a/commands/cmdjson/bug.go b/commands/cmdjson/bug.go index c5489caa..a7f894ed 100644 --- a/commands/cmdjson/bug.go +++ b/commands/cmdjson/bug.go @@ -1,8 +1,8 @@ package cmdjson import ( - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/bug" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/bug" ) type BugSnapshot struct { diff --git a/commands/cmdjson/json_common.go b/commands/cmdjson/json_common.go index 34077915..813d09b7 100644 --- a/commands/cmdjson/json_common.go +++ b/commands/cmdjson/json_common.go @@ -3,9 +3,9 @@ package cmdjson import ( "time" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/util/lamport" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/util/lamport" ) type Identity struct { diff --git a/commands/commands.go b/commands/commands.go index 173a0904..00c7b2dc 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) type commandOptions struct { diff --git a/commands/completion/helper_completion.go b/commands/completion/helper_completion.go index db6d8969..75d74423 100644 --- a/commands/completion/helper_completion.go +++ b/commands/completion/helper_completion.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/bridge" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/bridge" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/commands/execenv" ) type ValidArgsFunction func(cmd *cobra.Command, args []string, toComplete string) (completions []string, directives cobra.ShellCompDirective) diff --git a/commands/execenv/env.go b/commands/execenv/env.go index e693807e..eea704cd 100644 --- a/commands/execenv/env.go +++ b/commands/execenv/env.go @@ -9,8 +9,8 @@ import ( "github.com/mattn/go-isatty" "golang.org/x/term" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) const RootCommandName = "git-bug" diff --git a/commands/execenv/env_testing.go b/commands/execenv/env_testing.go index 15d7b646..c7a0af42 100644 --- a/commands/execenv/env_testing.go +++ b/commands/execenv/env_testing.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) var _ In = &TestIn{} diff --git a/commands/execenv/loading.go b/commands/execenv/loading.go index 7838ea6a..3d63887a 100644 --- a/commands/execenv/loading.go +++ b/commands/execenv/loading.go @@ -8,10 +8,10 @@ import ( "github.com/vbauerster/mpb/v8" "github.com/vbauerster/mpb/v8/decor" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/util/interrupt" ) // LoadRepo is a pre-run function that load the repository for use in a command diff --git a/commands/input/input.go b/commands/input/input.go index 90c3cf51..51d080b6 100644 --- a/commands/input/input.go +++ b/commands/input/input.go @@ -15,7 +15,7 @@ import ( "github.com/go-git/go-billy/v5/util" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/repository" ) // LaunchEditorWithTemplate will launch an editor as LaunchEditor do, but with a diff --git a/commands/input/prompt.go b/commands/input/prompt.go index 576d45bb..4acf83cf 100644 --- a/commands/input/prompt.go +++ b/commands/input/prompt.go @@ -13,9 +13,9 @@ import ( "golang.org/x/crypto/ssh/terminal" - "github.com/MichaelMure/git-bug/bridge/core/auth" - "github.com/MichaelMure/git-bug/util/colors" - "github.com/MichaelMure/git-bug/util/interrupt" + "github.com/git-bug/git-bug/bridge/core/auth" + "github.com/git-bug/git-bug/util/colors" + "github.com/git-bug/git-bug/util/interrupt" ) // PromptValidator is a validator for a user entry diff --git a/commands/label.go b/commands/label.go index d59479b4..675101c0 100644 --- a/commands/label.go +++ b/commands/label.go @@ -3,7 +3,7 @@ package commands import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newLabelCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/pull.go b/commands/pull.go index 91eadcf8..90f23bfa 100644 --- a/commands/pull.go +++ b/commands/pull.go @@ -5,9 +5,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entity" ) func newPullCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/push.go b/commands/push.go index 254bbb27..38492517 100644 --- a/commands/push.go +++ b/commands/push.go @@ -5,8 +5,8 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newPushCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/root.go b/commands/root.go index 01c817ee..e966751c 100644 --- a/commands/root.go +++ b/commands/root.go @@ -8,10 +8,10 @@ import ( "github.com/spf13/cobra" - bridgecmd "github.com/MichaelMure/git-bug/commands/bridge" - bugcmd "github.com/MichaelMure/git-bug/commands/bug" - "github.com/MichaelMure/git-bug/commands/execenv" - usercmd "github.com/MichaelMure/git-bug/commands/user" + bridgecmd "github.com/git-bug/git-bug/commands/bridge" + bugcmd "github.com/git-bug/git-bug/commands/bug" + "github.com/git-bug/git-bug/commands/execenv" + usercmd "github.com/git-bug/git-bug/commands/user" ) // These variables are initialized externally during the build. See the Makefile. diff --git a/commands/select/select.go b/commands/select/select.go index cd12250e..0e6ee872 100644 --- a/commands/select/select.go +++ b/commands/select/select.go @@ -8,8 +8,8 @@ import ( "github.com/pkg/errors" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/entity" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/entity" ) type ErrNoValidId struct { diff --git a/commands/select/select_test.go b/commands/select/select_test.go index 4425c275..9ac18689 100644 --- a/commands/select/select_test.go +++ b/commands/select/select_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/repository" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/repository" ) func TestSelect(t *testing.T) { diff --git a/commands/termui.go b/commands/termui.go index 08eba1d6..d82343fc 100644 --- a/commands/termui.go +++ b/commands/termui.go @@ -3,8 +3,8 @@ package commands import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/termui" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/termui" ) func newTermUICommand(env *execenv.Env) *cobra.Command { diff --git a/commands/user/user.go b/commands/user/user.go index de5c1ccd..99833ba9 100644 --- a/commands/user/user.go +++ b/commands/user/user.go @@ -5,11 +5,11 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/cmdjson" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/util/colors" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/cmdjson" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/util/colors" ) type userOptions struct { diff --git a/commands/user/user_adopt.go b/commands/user/user_adopt.go index 47f0f04e..a5fe68c5 100644 --- a/commands/user/user_adopt.go +++ b/commands/user/user_adopt.go @@ -3,8 +3,8 @@ package usercmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) func newUserAdoptCommand(env *execenv.Env) *cobra.Command { diff --git a/commands/user/user_new.go b/commands/user/user_new.go index ba4198f8..9cc04fa7 100644 --- a/commands/user/user_new.go +++ b/commands/user/user_new.go @@ -3,8 +3,8 @@ package usercmd import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/commands/input" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/input" ) type userNewOptions struct { diff --git a/commands/user/user_new_test.go b/commands/user/user_new_test.go index 619e5de6..865f76a7 100644 --- a/commands/user/user_new_test.go +++ b/commands/user/user_new_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/MichaelMure/git-bug/commands/bug/testenv" + "github.com/git-bug/git-bug/commands/bug/testenv" ) func TestUserNewCommand(t *testing.T) { diff --git a/commands/user/user_show.go b/commands/user/user_show.go index 049eee93..0fbed190 100644 --- a/commands/user/user_show.go +++ b/commands/user/user_show.go @@ -7,9 +7,9 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/completion" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/completion" + "github.com/git-bug/git-bug/commands/execenv" ) type userShowOptions struct { diff --git a/commands/version.go b/commands/version.go index 957cc653..189a2e35 100644 --- a/commands/version.go +++ b/commands/version.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) type versionOptions struct { diff --git a/commands/webui.go b/commands/webui.go index 96cdbad6..db69d7d3 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -21,14 +21,14 @@ import ( "github.com/skratchdot/open-golang/open" "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/api/auth" - "github.com/MichaelMure/git-bug/api/graphql" - httpapi "github.com/MichaelMure/git-bug/api/http" - "github.com/MichaelMure/git-bug/cache" - "github.com/MichaelMure/git-bug/commands/execenv" - "github.com/MichaelMure/git-bug/entities/identity" - "github.com/MichaelMure/git-bug/repository" - "github.com/MichaelMure/git-bug/webui" + "github.com/git-bug/git-bug/api/auth" + "github.com/git-bug/git-bug/api/graphql" + httpapi "github.com/git-bug/git-bug/api/http" + "github.com/git-bug/git-bug/cache" + "github.com/git-bug/git-bug/commands/execenv" + "github.com/git-bug/git-bug/entities/identity" + "github.com/git-bug/git-bug/repository" + "github.com/git-bug/git-bug/webui" ) const webUIOpenConfigKey = "git-bug.webui.open" diff --git a/commands/wipe.go b/commands/wipe.go index ce9da032..2f378e90 100644 --- a/commands/wipe.go +++ b/commands/wipe.go @@ -3,7 +3,7 @@ package commands import ( "github.com/spf13/cobra" - "github.com/MichaelMure/git-bug/commands/execenv" + "github.com/git-bug/git-bug/commands/execenv" ) func newWipeCommand(env *execenv.Env) *cobra.Command { diff --git a/doc/feature_matrix.md b/doc/feature_matrix.md index c902408e..a0e19232 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 482abd8e..ac5417d8 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 47d93434..c5668e82 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. <p align="center"> <img src="../misc/diagrams/native_workflow.png" alt="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 ffc8c469..73d01ada 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 5e5724f5..46dcb900 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 deb00c7c..8958fbd0 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 651d24dc..c20b81f3 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 7835c5a8..99da635d 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 79b5f591..948a5b47 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 5edef9d0..ea709397 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 fee9e785..901ed6f1 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 2afea406..c7b6bada 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 d8bde46f..a7367acc 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 6ac09fd7..18f130f9 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 2ca1345e..8a1f70d9 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 0d13fe9e..b65b8ffb 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 e6dc8803..d184e47a 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 b4aab78c..fd5cc94b 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 68199129..641065a0 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 0f6d358a..449e40ca 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 6e445aa6..7ec98281 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 82425ab4..60157c6c 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 04365046..9c8d2016 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 4bec49ae..d24faa7a 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 b0a05917..07ff66f5 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 5c260d85..ca352284 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 84ece262..4f3d956e 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 91564ffa..9a10098f 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 07560dc0..d381a84e 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 e9626cb9..0f222c01 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 fb5c90a5..a8631576 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 85d5385b..ab6a1e23 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 f9e39bb2..66ad582d 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 c6e22e00..98fbf186 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 5ded31fa..543fade2 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 6e320dc2..764e129d 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 a4b676f3..29f41059 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 fe1565cf..5d0bd010 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 385ad4d7..cf677ce1 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 a195df1f..f773e15c 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 4c7b59f0..1c6bade7 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 f8dbd53d..bc742254 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 5f0abec3..fa6e0d2f 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 6181614b..e51b50bc 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 a263eb2b..c9e4f352 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 80abaced..dfa32a48 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 c2d896a6..f2feeb97 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 61497b5b..4c60a577 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 4d2d0f8c..9ba80259 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 a06f89da..6408dfa8 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 f50d91b6..6dc90c3a 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 3a871c12..1fd4daf7 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 09e60caf..34470386 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 0ca47d4b..de881a10 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 4453d36e..012b9a9e 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 0949bf92..99fc7470 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 7ae6d72e..68c79c3c 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") @@ -4,7 +4,7 @@ package main import ( - "github.com/MichaelMure/git-bug/commands" + "github.com/git-bug/git-bug/commands" ) func main() { @@ -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 5f643832..e2a8cc1b 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 cc6ad373..9a24bbb4 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 7e94b61a..a7caf931 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 03b36c0d..722045f5 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 f2aeb0e9..a75250de 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 6b53ecd9..fecee212 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 95c5330d..2862eb7d 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 6ea5c71e..b9cbe138 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 c39051d5..23474277 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 3dd702f4..0bf93cee 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 9db13ada..ff56e36a 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 9fc7c152..f5222ea4 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 6721165e..5ae1c09a 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 8bcae842..d5071b02 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 d640ed1c..8ca0792f 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 d6c0447f..689a64fd 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 97ec75a6..113fd51d 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', () => { |