aboutsummaryrefslogtreecommitdiffstats
path: root/entity
diff options
context:
space:
mode:
Diffstat (limited to 'entity')
-rw-r--r--entity/dag/clock.go2
-rw-r--r--entity/dag/common_test.go6
-rw-r--r--entity/dag/entity.go8
-rw-r--r--entity/dag/entity_actions.go6
-rw-r--r--entity/dag/entity_actions_test.go4
-rw-r--r--entity/dag/example_test.go10
-rw-r--r--entity/dag/interface.go6
-rw-r--r--entity/dag/op_noop.go4
-rw-r--r--entity/dag/op_noop_test.go4
-rw-r--r--entity/dag/op_set_metadata.go6
-rw-r--r--entity/dag/op_set_metadata_test.go6
-rw-r--r--entity/dag/operation.go6
-rw-r--r--entity/dag/operation_pack.go8
-rw-r--r--entity/dag/operation_pack_test.go6
-rw-r--r--entity/dag/operation_testing.go6
-rw-r--r--entity/err.go4
-rw-r--r--entity/id.go2
-rw-r--r--entity/id_interleaved.go2
18 files changed, 48 insertions, 48 deletions
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")