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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:MichaelMure/git-bug ~/code/git-bug
git clone [email protected]:git-bug/git-bug ~/code/git-bug
```

> [!IMPORTANT]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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>

Expand All @@ -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>
Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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
```
Expand All @@ -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>

Expand Down Expand Up @@ -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>
```
Expand Down Expand Up @@ -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 [email protected]:MichaelMure/git-bug.git
git clone [email protected]:git-bug/git-bug.git
```

You can now run `make` to build the project, or `make install` to install the binary in `$GOPATH/bin/`.
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/auth/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion api/auth/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion api/graphql/connections/connection_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion api/graphql/connections/edges.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions api/graphql/connections/gen_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion api/graphql/connections/gen_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/graphql/connections/gen_label.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/graphql/connections/gen_lazy_bug.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/graphql/connections/gen_lazy_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/graphql/connections/gen_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions api/graphql/connections/gen_timeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions api/graphql/gqlgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions api/graphql/graph/bug.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/graphql/graph/identity.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/graphql/graph/label.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/graphql/graph/mutations.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions api/graphql/graph/operations.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/graphql/graph/prelude.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/graphql/graph/repository.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/graphql/graph/root.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/graphql/graph/root_.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions api/graphql/graph/timeline.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions api/graphql/graph/types.generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions api/graphql/graphql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions api/graphql/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading