From 75c66f5e0e951d225348e1c6c6c1a8360e323c00 Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Mon, 2 Jun 2025 09:54:55 +0000 Subject: [PATCH] Handle repo migration to new account Signed-off-by: Prabhjot Singh Sethi --- auth/auth.go | 2 +- db/mongo.go | 2 +- go.mod | 2 +- reconciler/reconciler.go | 2 +- reconciler/reconciler_test.go | 4 ++-- sync/lock.go | 4 ++-- sync/lock_test.go | 4 ++-- sync/observer.go | 2 +- sync/observer_test.go | 6 +++--- sync/owner.go | 4 ++-- sync/owner_test.go | 4 ++-- sync/provider.go | 6 +++--- sync/provider_test.go | 4 ++-- sync/test/example.go | 6 +++--- table/generic.go | 6 +++--- utils/object-encryptor.go | 2 +- 16 files changed, 30 insertions(+), 30 deletions(-) diff --git a/auth/auth.go b/auth/auth.go index 05c53da..a19a122 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -11,7 +11,7 @@ import ( "google.golang.org/grpc/metadata" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/errors" ) // Auth construct obtained as part of the auth action being performed diff --git a/db/mongo.go b/db/mongo.go index 73110a4..0f309af 100644 --- a/db/mongo.go +++ b/db/mongo.go @@ -17,7 +17,7 @@ import ( "go.mongodb.org/mongo-driver/v2/mongo" "go.mongodb.org/mongo-driver/v2/mongo/options" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/errors" ) type mongoCollection struct { diff --git a/go.mod b/go.mod index 743e7c8..2f80497 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Prabhjot-Sethi/core +module github.com/go-core-stack/core go 1.24 diff --git a/reconciler/reconciler.go b/reconciler/reconciler.go index 019f0c7..fd5f07c 100644 --- a/reconciler/reconciler.go +++ b/reconciler/reconciler.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/errors" ) // Taking motivation from kubernetes diff --git a/reconciler/reconciler_test.go b/reconciler/reconciler_test.go index f602d25..50bed27 100644 --- a/reconciler/reconciler_test.go +++ b/reconciler/reconciler_test.go @@ -12,8 +12,8 @@ import ( "go.mongodb.org/mongo-driver/v2/bson" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" ) type MyKey struct { diff --git a/sync/lock.go b/sync/lock.go index 72c6ae0..d6eb2aa 100644 --- a/sync/lock.go +++ b/sync/lock.go @@ -12,8 +12,8 @@ import ( "go.mongodb.org/mongo-driver/v2/bson" "go.mongodb.org/mongo-driver/v2/mongo" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" ) var ( diff --git a/sync/lock_test.go b/sync/lock_test.go index e487ee1..3b5f6ce 100644 --- a/sync/lock_test.go +++ b/sync/lock_test.go @@ -7,8 +7,8 @@ import ( "context" "testing" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" ) type lockKey struct { diff --git a/sync/observer.go b/sync/observer.go index e3c9eed..2a79d4c 100644 --- a/sync/observer.go +++ b/sync/observer.go @@ -6,7 +6,7 @@ package sync import ( "sync" - "github.com/Prabhjot-Sethi/core/reconciler" + "github.com/go-core-stack/core/reconciler" ) type observerCountKey struct { diff --git a/sync/observer_test.go b/sync/observer_test.go index 74de2f3..0057c46 100644 --- a/sync/observer_test.go +++ b/sync/observer_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" - "github.com/Prabhjot-Sethi/core/reconciler" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" + "github.com/go-core-stack/core/reconciler" ) type MyObserver struct { diff --git a/sync/owner.go b/sync/owner.go index 1ddeab5..f04b140 100644 --- a/sync/owner.go +++ b/sync/owner.go @@ -14,8 +14,8 @@ import ( "go.mongodb.org/mongo-driver/v2/bson" "go.mongodb.org/mongo-driver/v2/mongo" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" ) const ( diff --git a/sync/owner_test.go b/sync/owner_test.go index 917ac73..63bf3a0 100644 --- a/sync/owner_test.go +++ b/sync/owner_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" ) func Test_OwnerInit(t *testing.T) { diff --git a/sync/provider.go b/sync/provider.go index b17ddeb..78e7355 100644 --- a/sync/provider.go +++ b/sync/provider.go @@ -13,9 +13,9 @@ import ( "go.mongodb.org/mongo-driver/v2/bson" "go.mongodb.org/mongo-driver/v2/mongo" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" - "github.com/Prabhjot-Sethi/core/reconciler" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" + "github.com/go-core-stack/core/reconciler" ) const ( diff --git a/sync/provider_test.go b/sync/provider_test.go index bd20dd5..ae15152 100644 --- a/sync/provider_test.go +++ b/sync/provider_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" ) func Test_ProviderBaseTesting(t *testing.T) { diff --git a/sync/test/example.go b/sync/test/example.go index 9f5c9e2..589d462 100644 --- a/sync/test/example.go +++ b/sync/test/example.go @@ -8,9 +8,9 @@ import ( "log" "time" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" - "github.com/Prabhjot-Sethi/core/sync" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" + "github.com/go-core-stack/core/sync" ) func main() { diff --git a/table/generic.go b/table/generic.go index 3fa828d..ee88145 100644 --- a/table/generic.go +++ b/table/generic.go @@ -8,9 +8,9 @@ import ( "log" "reflect" - "github.com/Prabhjot-Sethi/core/db" - "github.com/Prabhjot-Sethi/core/errors" - "github.com/Prabhjot-Sethi/core/reconciler" + "github.com/go-core-stack/core/db" + "github.com/go-core-stack/core/errors" + "github.com/go-core-stack/core/reconciler" ) /* diff --git a/utils/object-encryptor.go b/utils/object-encryptor.go index 52649f6..02ecc65 100644 --- a/utils/object-encryptor.go +++ b/utils/object-encryptor.go @@ -13,7 +13,7 @@ import ( "reflect" "sync" - "github.com/Prabhjot-Sethi/core/errors" + "github.com/go-core-stack/core/errors" ) var nonce = []byte("core nonce")