mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 12:28:01 +08:00
refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187)
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -9,8 +9,8 @@ import (
|
||||
"github.com/fsnotify/fsnotify"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
"zotregistry.dev/zot/pkg/api"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
)
|
||||
|
||||
type HotReloader struct {
|
||||
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
|
||||
cli "zotregistry.io/zot/pkg/cli/server"
|
||||
test "zotregistry.io/zot/pkg/test/common"
|
||||
cli "zotregistry.dev/zot/pkg/cli/server"
|
||||
test "zotregistry.dev/zot/pkg/test/common"
|
||||
)
|
||||
|
||||
func TestConfigReloader(t *testing.T) {
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
"gopkg.in/resty.v1"
|
||||
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
cli "zotregistry.io/zot/pkg/cli/server"
|
||||
. "zotregistry.io/zot/pkg/test/common"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
cli "zotregistry.dev/zot/pkg/cli/server"
|
||||
. "zotregistry.dev/zot/pkg/test/common"
|
||||
)
|
||||
|
||||
const readLogFileTimeout = 5 * time.Second
|
||||
|
||||
@@ -20,15 +20,15 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
zerr "zotregistry.io/zot/errors"
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
"zotregistry.io/zot/pkg/api/constants"
|
||||
"zotregistry.io/zot/pkg/common"
|
||||
extconf "zotregistry.io/zot/pkg/extensions/config"
|
||||
"zotregistry.io/zot/pkg/extensions/monitoring"
|
||||
zlog "zotregistry.io/zot/pkg/log"
|
||||
storageConstants "zotregistry.io/zot/pkg/storage/constants"
|
||||
zerr "zotregistry.dev/zot/errors"
|
||||
"zotregistry.dev/zot/pkg/api"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
"zotregistry.dev/zot/pkg/api/constants"
|
||||
"zotregistry.dev/zot/pkg/common"
|
||||
extconf "zotregistry.dev/zot/pkg/extensions/config"
|
||||
"zotregistry.dev/zot/pkg/extensions/monitoring"
|
||||
zlog "zotregistry.dev/zot/pkg/log"
|
||||
storageConstants "zotregistry.dev/zot/pkg/storage/constants"
|
||||
)
|
||||
|
||||
// metadataConfig reports metadata after parsing, which we use to track
|
||||
|
||||
@@ -11,11 +11,11 @@ import (
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
cli "zotregistry.io/zot/pkg/cli/server"
|
||||
storageConstants "zotregistry.io/zot/pkg/storage/constants"
|
||||
. "zotregistry.io/zot/pkg/test/common"
|
||||
"zotregistry.dev/zot/pkg/api"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
cli "zotregistry.dev/zot/pkg/cli/server"
|
||||
storageConstants "zotregistry.dev/zot/pkg/storage/constants"
|
||||
. "zotregistry.dev/zot/pkg/test/common"
|
||||
)
|
||||
|
||||
func TestServerUsage(t *testing.T) {
|
||||
|
||||
@@ -14,10 +14,10 @@ import (
|
||||
|
||||
. "github.com/smartystreets/goconvey/convey"
|
||||
|
||||
"zotregistry.io/zot/pkg/api"
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
cli "zotregistry.io/zot/pkg/cli/server"
|
||||
test "zotregistry.io/zot/pkg/test/common"
|
||||
"zotregistry.dev/zot/pkg/api"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
cli "zotregistry.dev/zot/pkg/cli/server"
|
||||
test "zotregistry.dev/zot/pkg/test/common"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
syncconf "zotregistry.io/zot/pkg/extensions/config/sync"
|
||||
zlog "zotregistry.io/zot/pkg/log"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
syncconf "zotregistry.dev/zot/pkg/extensions/config/sync"
|
||||
zlog "zotregistry.dev/zot/pkg/log"
|
||||
)
|
||||
|
||||
func validateRetentionSyncOverlaps(config *config.Config, content syncconf.Content, urls []string, log zlog.Logger) {
|
||||
|
||||
@@ -6,10 +6,10 @@ package server
|
||||
import (
|
||||
"path"
|
||||
|
||||
"zotregistry.io/zot/pkg/api/config"
|
||||
syncconf "zotregistry.io/zot/pkg/extensions/config/sync"
|
||||
"zotregistry.io/zot/pkg/extensions/sync"
|
||||
zlog "zotregistry.io/zot/pkg/log"
|
||||
"zotregistry.dev/zot/pkg/api/config"
|
||||
syncconf "zotregistry.dev/zot/pkg/extensions/config/sync"
|
||||
"zotregistry.dev/zot/pkg/extensions/sync"
|
||||
zlog "zotregistry.dev/zot/pkg/log"
|
||||
)
|
||||
|
||||
func validateRetentionSyncOverlaps(config *config.Config, content syncconf.Content, urls []string, log zlog.Logger) {
|
||||
|
||||
Reference in New Issue
Block a user