aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag
diff options
context:
space:
mode:
Diffstat (limited to 'entity/dag')
-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
15 files changed, 44 insertions, 44 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,