Skip to content

fix: migrate to Go module v2 for proper semantic versioning#3462

Merged
rchincha merged 2 commits intoproject-zot:mainfrom
muscariello:fix/go-module-v2-migration
Oct 17, 2025
Merged

fix: migrate to Go module v2 for proper semantic versioning#3462
rchincha merged 2 commits intoproject-zot:mainfrom
muscariello:fix/go-module-v2-migration

Conversation

@muscariello
Copy link
Copy Markdown
Contributor

@muscariello muscariello commented Oct 16, 2025

Problem

The zot project currently uses the module path zotregistry.dev/zot but has published Git tags with major version v2+ (e.g., v2.1.8). According to Go's semantic versioning rules, major version v2+ must include the major version suffix in the module path.

Current issue:

  • Module path: zotregistry.dev/zot (supports only v0.x.x and v1.x.x)
  • Git tags: v2.1.8, v2.1.7, etc. (invalid for current module path)
  • Go tooling rejects these tags: go get zotregistry.dev/zot@v2.1.8 fails

Solution

This PR updates the module path to zotregistry.dev/zot/v2 to comply with Go's semantic versioning requirements.

Changes

  • Updated go.mod: Changed module path from zotregistry.dev/zot to zotregistry.dev/zot/v2
  • Updated all imports: Fixed 280+ Go source files to use the new v2 module path
  • Updated configurations:
    • golangcilint.yaml - Updated linter prefix configuration
    • pkg/extensions/search/gqlgen.yml - Updated GraphQL generation config
  • Updated documentation: README.md Go reference badge updated

Verification

  • ✅ Code compiles successfully: go build .
  • ✅ Dependencies clean: go mod tidy
  • ✅ Main binaries build: go build ./cmd/zot
  • ✅ Module path recognized: go list -m returns zotregistry.dev/zot/v2

Impact

After this change:

  • ✅ Existing v2.x.x Git tags become valid and usable
  • ✅ External packages can import zotregistry.dev/zot/v2 and use v2.1.8
  • ✅ No breaking changes to functionality - only import paths updated
  • ✅ Follows Go's official semantic versioning guidelines

Breaking Change Notice

⚠️ This is a breaking change for external consumers.

Packages importing zot will need to update their import paths:

- import "zotregistry.dev/zot/pkg/api"
+ import "zotregistry.dev/zot/v2/pkg/api"

However, this change is necessary to make zot compliant with Go's semantic versioning rules and enable proper use of v2+ versions.

References

close #3071 if merged.

@muscariello
Copy link
Copy Markdown
Contributor Author

muscariello commented Oct 16, 2025

Hi
our project https://github.com/agntcy/dir leverages zot as OCI registry server.
In the project https://agntcy.org we have invested in zot thanks to previous positive experience at Cisco.

We are currently blocked from importing properly zot in our own application.

One workaroud is

go get zotregistry.dev/zot@73eef25681afcacc372f16ac5159743ab7b373ec go mod tidy

but it raises red flags on vulnerability management as versions are not correctly identified by security scanners.

Have a look at this PR and let me know if you can help on this one.

Thanks in advance
Best
Luca

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.86%. Comparing base (73eef25) to head (5bf7b87).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3462      +/-   ##
==========================================
- Coverage   90.87%   90.86%   -0.02%     
==========================================
  Files         183      183              
  Lines       33330    33330              
==========================================
- Hits        30290    30284       -6     
- Misses       2295     2298       +3     
- Partials      745      748       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This change updates the module path from 'zotregistry.dev/zot' to
'zotregistry.dev/zot/v2' to comply with Go's semantic versioning rules.

According to Go's module versioning requirements, major version v2+
must include the major version in the module path. The current
module path 'zotregistry.dev/zot' only supports v0.x.x and v1.x.x
versions, making existing v2.x.x tags (like v2.1.8) unusable.

Changes:
- Updated go.mod module path to zotregistry.dev/zot/v2
- Updated all internal import paths across 280+ Go source files
- Updated configuration files (golangcilint.yaml, gqlgen.yml)
- Updated README.md Go reference badge

This fix enables proper use of existing v2.x.x Git tags and allows
external packages to import zot v2+ versions without compatibility
errors.

Resolves: Go module import compatibility for v2+ versions
Fixes: project-zot#3071
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
@muscariello muscariello force-pushed the fix/go-module-v2-migration branch from 7dc68c6 to 50a79d4 Compare October 16, 2025 20:11
The gqlgen tool needs to regenerate the GraphQL schema files after
the module path change to use the new v2 imports.

Signed-off-by: Luca Muscariello <muscariello@ieee.org>
@rchincha
Copy link
Copy Markdown
Contributor

rchincha commented Oct 16, 2025

Thanks @muscariello for the PR.

Folks have indeed complained about this before, and our answer so far has been that zot is primarily used as a standalone application. Maybe it is time to revisit this.

#3071

@rchincha
Copy link
Copy Markdown
Contributor

Merging this PR will also need a new release tag.

@rchincha rchincha requested a review from Copilot October 17, 2025 05:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Migrates the project to Go module path zotregistry.dev/zot/v2 to align published v2.x tags with Go semantic versioning requirements.

  • Updated go import paths across codebase from zotregistry.dev/zot/... to zotregistry.dev/zot/v2/...
  • Adjusted config/comment references (e.g., gqlgen.yml, swagger, tests) to new v2 path.
  • Large mechanical refactor; no functional logic changes in reviewed hunks.

Reviewed Changes

Copilot reviewed 283 out of 283 changed files in this pull request and generated no comments.

Show a summary per file
File Description
swagger/docs_test.go Updated swagger import path to v2.
pkg/test/skip/skip_test.go Updated test skip package import path to v2.
pkg/test/signature/notation_test.go Updated multiple imports (api, config, test helpers) to v2.
pkg/test/signature/notation.go Updated common test helper import path to v2.
pkg/test/oci-utils/store.go Updated storage, monitoring, log, mocks imports to v2.
pkg/test/oci-utils/repo_test.go Updated meta, test utils, mocks imports to v2.
pkg/test/oci-utils/repo.go Updated errors, meta, requestcontext, image utils to v2.
pkg/test/oci-utils/oci_layout_test.go Updated numerous extension, storage, logging imports to v2.
pkg/test/oci-utils/oci_layout.go Updated errors, common, search, log, storage types to v2.
pkg/test/mocks/repo_db_mock.go Updated meta types import to v2.
pkg/test/mocks/oci_mock.go Updated common and cve model imports to v2.
pkg/test/mocks/lint_mock.go Updated storage types import to v2.
pkg/test/mocks/image_store_mock.go Updated scheduler and storage types imports to v2.
pkg/test/mocks/cve_mock.go Updated common and cve model imports to v2.
pkg/test/inject/inject_test.go Updated inject test import path to v2.
pkg/test/inject/dev.go Updated errors and log imports to v2.
pkg/test/image-utils/write_test.go Updated storage, image utils, mocks imports to v2.
pkg/test/image-utils/write.go Updated storage types import to v2.
pkg/test/image-utils/utils.go Updated common test helper import to v2.
pkg/test/image-utils/upload_test.go Updated api, config, test helpers, inject to v2.
pkg/test/image-utils/upload.go Updated common test helpers and inject to v2.
pkg/test/image-utils/multiarch.go Updated meta types import to v2.
pkg/test/image-utils/images_test.go Updated common and image utils imports to v2.
pkg/test/image-utils/images.go Updated common, meta types, storage constants imports to v2.
pkg/test/common/utils_test.go Updated api, config, common test helper imports to v2.
pkg/test/common/fs_test.go Updated common test helper import to v2.
pkg/test/auth/bearer_test.go Updated auth test import to v2.
pkg/test/auth/bearer.go Updated api import to v2.
pkg/storage/types/types.go Updated scheduler import to v2.
pkg/storage/storage_test.go Updated numerous storage, logging, test imports to v2.
pkg/storage/storage_controller.go Updated storage types import to v2.
pkg/storage/storage.go Updated multiple storage-related imports to v2.
pkg/storage/scrub_test.go Updated storage, monitoring, test imports to v2.
pkg/storage/scrub.go Updated errors, common, storage types imports to v2.
pkg/storage/s3/s3_test.go Updated s3 related imports to v2.
pkg/storage/s3/s3.go Updated compat, events, monitoring, imagestore imports to v2.
pkg/storage/s3/driver.go Updated storage constants import to v2.
pkg/storage/local/local_test.go Updated local storage related imports to v2.
pkg/storage/local/local_elevated_test.go Updated monitoring, storage imports to v2.
pkg/storage/local/local.go Updated local storage imports to v2.
pkg/storage/local/driver_test.go Updated errors, storage constants, local storage imports to v2.
pkg/storage/local/driver.go Updated errors, storage constants, inject import to v2.
pkg/storage/imagestore/imagestore.go Updated imagestore-related imports to v2.
pkg/storage/gc/gc_test.go Updated GC related imports to v2.
pkg/storage/gc/gc_internal_test.go Updated storage/cache/meta imports to v2.
pkg/storage/gc/gc.go Updated GC code imports to v2.
pkg/storage/common/lint_interface.go Updated storage types import to v2.
pkg/storage/common/common_test.go Updated storage, monitoring imports to v2.
pkg/storage/common/common.go Updated common, compat, monitoring imports to v2.
pkg/storage/cache_test.go Updated cache imports to v2.
pkg/storage/cache_benchmark_test.go Updated cache and storage types imports to v2.
pkg/storage/cache/redis_test.go Updated redis cache imports to v2.
pkg/storage/cache/redis.go Updated errors, log, storage constants imports to v2.
pkg/storage/cache/dynamodb_test.go Updated dynamodb cache imports to v2.
pkg/storage/cache/dynamodb.go Updated errors and log imports to v2.
pkg/storage/cache/boltdb_test.go Updated boltdb cache imports to v2.
pkg/storage/cache/boltdb_internal_test.go Updated log and storage constants imports to v2.
pkg/storage/cache/boltdb.go Updated errors, log, storage constants imports to v2.
pkg/storage/cache.go Updated cache creation imports to v2.
pkg/scheduler/scheduler_test.go Updated scheduler test imports to v2.
pkg/scheduler/scheduler.go Updated scheduler imports to v2.
pkg/retention/types/types.go Updated meta types import to v2.
pkg/retention/rules.go Updated retention types import to v2.
pkg/retention/retention.go Updated retention imports to v2.
pkg/retention/candidate.go Updated meta types, retention types imports to v2.
pkg/requestcontext/user_access_control.go Updated errors and constants imports to v2.
pkg/requestcontext/authn.go Updated errors import to v2.
pkg/meta/version/version_test.go Updated meta version test imports to v2.
pkg/meta/redis/redis_test.go Updated redis meta imports to v2.
pkg/meta/redis/redis_internal_test.go Updated log import to v2.
pkg/meta/redis/redis.go Updated meta redis imports to v2.
pkg/meta/parse_test.go Updated meta parse test imports to v2.
pkg/meta/parse.go Updated meta parse imports to v2.
pkg/meta/meta_test.go Updated meta tests imports to v2.
pkg/meta/meta.go Updated meta backend imports to v2.
pkg/meta/hooks_test.go Updated meta hooks test imports to v2.
pkg/meta/hooks.go Updated meta hooks imports to v2.
pkg/meta/dynamodb/iterator.go Updated log import to v2.
pkg/meta/dynamodb/dynamodb_test.go Updated dynamodb meta imports to v2.
pkg/meta/dynamodb/dynamodb_internal_test.go Updated meta version imports to v2.
pkg/meta/dynamodb/dynamodb.go Updated dynamodb meta imports to v2.
pkg/meta/convert/convert_test.go Updated meta convert test imports to v2.
pkg/meta/convert/convert_proto.go Updated meta proto convert imports to v2.
pkg/meta/convert/convert.go Updated meta convert imports to v2.
pkg/meta/common/common_test.go Updated meta common test imports to v2.
pkg/meta/common/common.go Updated meta common imports to v2.
pkg/meta/boltdb/boltdb_test.go Updated boltdb meta test imports to v2.
pkg/meta/boltdb/boltdb.go Updated boltdb meta imports to v2.
pkg/log/log_test.go Updated log tests api imports to v2.
pkg/log/log.go Updated errors import to v2.
pkg/extensions/sync/utils.go Updated sync config import to v2.
pkg/extensions/sync/sync_test.go Updated sync extension test imports to v2.
pkg/extensions/sync/sync_internal_test.go Updated sync internal test imports to v2.
pkg/extensions/sync/sync_disabled_test.go Updated sync disabled test imports to v2.
pkg/extensions/sync/sync.go Updated sync imports to v2.
pkg/extensions/sync/service.go Updated sync service imports to v2.
pkg/extensions/sync/remote.go Updated sync remote imports to v2.
pkg/extensions/sync/referrers.go Updated common import to v2.
pkg/extensions/sync/on_demand.go Updated sync on-demand imports to v2.
pkg/extensions/sync/oci_layout.go Updated sync oci layout imports to v2.
pkg/extensions/sync/ecr_credential_helper.go Updated sync ecr credential helper imports to v2.
pkg/extensions/sync/destination.go Updated sync destination imports to v2.
pkg/extensions/sync/content_test.go Updated sync content test imports to v2.
pkg/extensions/sync/content.go Updated sync content imports to v2.
pkg/extensions/search/userprefs_test.go Updated search userprefs test imports to v2.
pkg/extensions/search/search_test.go Updated search test imports to v2.
pkg/extensions/search/schema.resolvers.go Updated search resolver imports to v2.
pkg/extensions/search/resolver_test.go Updated search resolver test imports to v2.
pkg/extensions/search/resolver.go Updated search resolver imports to v2.
pkg/extensions/search/pagination/repo_pagination.go Updated pagination imports to v2.
pkg/extensions/search/pagination/pagination_test.go Updated pagination test imports to v2.
pkg/extensions/search/pagination/image_pagination.go Updated pagination imports to v2.
pkg/extensions/search/gqlgen.yml Updated commented autobind path to v2.
pkg/extensions/search/gql_generated/generated.go Updated generated GraphQL code path references to v2.
pkg/extensions/search/digest_test.go Updated digest test imports to v2.
pkg/extensions/search/cve/update_test.go Updated cve update test imports to v2.
pkg/extensions/search/cve/update.go Updated cve update imports to v2.
pkg/extensions/search/cve/trivy/scanner_test.go Updated trivy scanner test imports to v2.
pkg/extensions/search/cve/trivy/scanner_internal_test.go Updated trivy internal test imports to v2.
pkg/extensions/search/cve/trivy/scanner.go Updated trivy scanner imports to v2.
pkg/extensions/search/cve/scan_test.go Updated cve scan test imports to v2.
pkg/extensions/search/cve/scan.go Updated cve scan imports to v2.
pkg/extensions/search/cve/pagination_test.go Updated cve pagination test imports to v2.
pkg/extensions/search/cve/pagination.go Updated cve pagination imports to v2.
pkg/extensions/search/cve/cve_test.go Updated cve test imports to v2.
pkg/extensions/search/cve/cve_internal_test.go Updated cve internal test imports to v2.
pkg/extensions/search/cve/cve.go Updated cve imports to v2.
pkg/extensions/search/cve/cache/cache.go Updated cve cache imports to v2.
pkg/extensions/search/convert/utils.go Updated convert utils imports to v2.
pkg/extensions/search/convert/oci.go Updated convert oci imports to v2.
pkg/extensions/search/convert/metadb.go Updated convert metadb imports to v2.
pkg/extensions/search/convert/cve.go Updated convert cve imports to v2.
pkg/extensions/search/convert/convert_test.go Updated convert test imports to v2.
pkg/extensions/search/convert/convert_internal_test.go Updated convert internal test imports to v2.
pkg/extensions/scrub/scrub_test.go Updated scrub test imports to v2.
pkg/extensions/scrub/scrub.go Updated scrub imports to v2.
pkg/extensions/monitoring/monitoring_test.go Updated monitoring test imports to v2.
pkg/extensions/monitoring/minimal_client.go Updated log import to v2.
pkg/extensions/monitoring/minimal.go Updated log import to v2.
pkg/extensions/monitoring/extension.go Updated monitoring extension imports to v2.
pkg/extensions/lint/lint_test.go Updated lint test imports to v2.
pkg/extensions/lint/lint_disabled.go Updated lint disabled imports to v2.
pkg/extensions/lint/lint.go Updated lint imports to v2.
pkg/extensions/imagetrust/notation.go Updated errors import to v2.
pkg/extensions/imagetrust/image_trust_test.go Updated imagetrust test imports to v2.
pkg/extensions/imagetrust/image_trust_disabled_test.go Updated disabled imagetrust test imports to v2.
pkg/extensions/imagetrust/image_trust_disabled.go Updated meta types import to v2.
pkg/extensions/imagetrust/image_trust.go Updated imagetrust imports to v2.
pkg/extensions/imagetrust/cosign.go Updated errors import to v2.
pkg/extensions/get_extensions_disabled_test.go Updated get extensions disabled test imports to v2.
pkg/extensions/get_extensions.go Updated get extensions imports to v2.
pkg/extensions/extensions_test.go Updated extensions test imports to v2.
pkg/extensions/extensions_lint_disabled.go Updated extensions lint disabled imports to v2.
pkg/extensions/extensions_lint.go Updated extensions lint imports to v2.
pkg/extensions/extension_userprefs_test.go Updated userprefs test imports to v2.
pkg/extensions/extension_userprefs_disable.go Updated userprefs disable imports to v2.
pkg/extensions/extension_userprefs.go Updated userprefs imports to v2.
pkg/extensions/extension_ui_test.go Updated UI extension test imports to v2.
pkg/extensions/extension_ui_disabled.go Updated UI extension disabled imports to v2.
pkg/extensions/extension_ui.go Updated UI extension imports to v2.
pkg/extensions/extension_sync_disabled.go Updated sync extension disabled imports to v2.
pkg/extensions/extension_sync.go Updated sync extension imports to v2.
pkg/extensions/extension_search_disabled.go Updated search extension disabled imports to v2.
pkg/extensions/extension_search.go Updated search extension imports to v2.
pkg/extensions/extension_scrub_disabled.go Updated scrub extension disabled imports to v2.
pkg/extensions/extension_scrub.go Updated scrub extension imports to v2.
pkg/extensions/extension_mgmt_disabled.go Updated mgmt extension disabled imports to v2.
pkg/extensions/extension_mgmt.go Updated mgmt extension imports to v2.
pkg/extensions/extension_metrics_disabled.go Updated metrics extension disabled imports to v2.
pkg/extensions/extension_metrics.go Updated metrics extension imports to v2.
pkg/extensions/extension_image_trust_test.go Updated image trust extension test imports to v2.
pkg/extensions/extension_image_trust_disabled_test.go Updated image trust disabled test imports to v2.
pkg/extensions/extension_image_trust_disabled.go Updated image trust disabled imports to v2.
pkg/extensions/extension_image_trust.go Updated image trust extension imports to v2.
pkg/extensions/extension_events_disabled_test.go Updated events extension disabled test imports to v2.
pkg/extensions/extension_events_disabled.go Updated events extension disabled imports to v2.
pkg/extensions/extension_events.go Updated events extension imports to v2.
pkg/extensions/events/nats_sink_test.go Updated events nats sink test imports to v2.
pkg/extensions/events/nats_sink.go Updated events nats sink imports to v2.
pkg/extensions/events/http_sink_test.go Updated events http sink test imports to v2.
pkg/extensions/events/http_sink.go Updated events http sink imports to v2.
pkg/extensions/events/extension.go Updated events extension imports to v2.
pkg/extensions/events/events_test.go Updated events tests imports to v2.
pkg/extensions/events/events.go Updated events imports to v2.
pkg/extensions/events/builder.go Updated events builder imports to v2.
pkg/extensions/config/events/decoder.go Updated events config decoder import to v2.
pkg/extensions/config/config.go Updated extension config imports to v2.
pkg/exporter/cli/cli_test.go Updated exporter CLI test import to v2.
pkg/exporter/cli/cli.go Updated exporter CLI imports to v2.
pkg/exporter/api/exporter.go Updated exporter API imports to v2.
pkg/exporter/api/controller_test.go Updated exporter controller test imports to v2.
pkg/exporter/api/controller.go Updated log import to v2.
pkg/debug/swagger/swagger_disabled.go Updated swagger disabled imports to v2.
pkg/debug/swagger/swagger.go Updated swagger setup imports to v2.
pkg/debug/pprof/pprof_test.go Updated pprof test imports to v2.
pkg/debug/pprof/pprof_disabled.go Updated pprof disabled imports to v2.
pkg/debug/pprof/pprof.go Updated pprof imports to v2.
pkg/debug/gqlplayground/gqlplayground_disabled.go Updated gql playground disabled imports to v2.
pkg/debug/gqlplayground/gqlplayground.go Updated gql playground imports to v2.
pkg/compliance/v1_0_0/check_test.go Updated compliance check test imports to v2.
pkg/compliance/v1_0_0/check.go Updated compliance check imports to v2.
pkg/compat/compat.go Updated compat errors import to v2.
pkg/common/oci_test.go Updated common package test import to v2.
pkg/common/oci.go Updated common errors import to v2.
pkg/common/http_server.go Updated http server imports to v2.
pkg/common/http_client_test.go Updated HTTP client test imports to v2.
pkg/common/healthz.go Updated healthz imports to v2.
pkg/common/common_test.go Updated common test imports to v2.
pkg/cluster/cluster_test.go Updated cluster test import to v2.
pkg/cli/server/validate_sync_enabled.go Updated validate sync imports to v2.
pkg/cli/server/validate_sync_disabled.go Updated validate sync disabled imports to v2.
pkg/cli/server/stress_test.go Updated stress test imports to v2.
pkg/cli/server/root_test.go Updated server root test imports to v2.
pkg/cli/server/root.go Updated server root imports to v2.
pkg/cli/server/extensions_test.go Updated extensions server test imports to v2.
pkg/cli/server/config_reloader_test.go Updated config reloader test imports to v2.
pkg/cli/server/config_reloader.go Updated config reloader imports to v2.
pkg/cli/client/utils_internal_test.go Updated client utils test imports to v2.
pkg/cli/client/utils.go Updated client utils imports to v2.
pkg/cli/client/service.go Updated client service imports to v2.
pkg/cli/client/server_info_cmd_test.go Updated server info cmd test imports to v2.
pkg/cli/client/server_info_cmd.go Updated server info cmd imports to v2.
pkg/cli/client/search_sub_cmd.go Updated search subject cmd imports to v2.
pkg/cli/client/search_functions_internal_test.go Updated search functions internal test imports to v2.
pkg/cli/client/search_functions.go Updated search functions imports to v2.
pkg/cli/client/search_cmd_test.go Updated search cmd test imports to v2.
pkg/cli/client/search_cmd_internal_test.go Updated search cmd internal test imports to v2.
pkg/cli/client/root_test.go Updated CLI root test import to v2.
pkg/cli/client/root.go Updated client root imports to v2.
pkg/cli/client/repo_test.go Updated repo command test imports to v2.
pkg/cli/client/image_sub_cmd.go Updated image sub cmd imports to v2.
pkg/cli/client/image_cmd_test.go Updated image cmd test imports to v2.
pkg/cli/client/image_cmd_internal_test.go Updated image cmd internal test imports to v2.
pkg/cli/client/gql_queries_test.go Updated gql queries test imports to v2.
pkg/cli/client/flags_test.go Updated flags test imports to v2.
pkg/cli/client/flags.go Updated flags imports to v2.
pkg/cli/client/elevated_test.go Updated elevated privilege tests imports to v2.
pkg/cli/client/discover.go Updated discover imports to v2.
pkg/cli/client/cves_sub_cmd.go Updated cves sub cmd imports to v2.
pkg/cli/client/cve_cmd_test.go Updated cve cmd test imports to v2.
pkg/cli/client/cve_cmd_internal_test.go Updated cve cmd internal test imports to v2.
pkg/cli/client/config_cmd_test.go Updated config cmd test imports to v2.
pkg/cli/client/config_cmd.go Updated config cmd imports to v2.
pkg/cli/client/client_test.go Updated client test imports to v2.
pkg/cli/client/client.go Updated client imports to v2.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Copy Markdown
Contributor

@rchincha rchincha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very large PR but doing just one thing.

@rchincha rchincha merged commit 2402296 into project-zot:main Oct 17, 2025
42 of 43 checks passed
@rchincha
Copy link
Copy Markdown
Contributor

https://pkg.go.dev/zotregistry.dev/zot

^ let's keep an eye on this

@muscariello
Copy link
Copy Markdown
Contributor Author

@rchincha you need to create a new tag to get pkg.go.dev to import correctly.

@rchincha
Copy link
Copy Markdown
Contributor

@rchincha you need to create a new tag to get pkg.go.dev to import correctly.

https://github.com/project-zot/zot/releases/tag/v2.1.10

@rchincha
Copy link
Copy Markdown
Contributor

@muscariello is your issue solved now?

@muscariello
Copy link
Copy Markdown
Contributor Author

@rchincha it is solved but I would like to see pkg.dev update. Don't know why it is not updated.

Anyway thanks a lot for merging and creating the new tags. Great project guys !

@rchincha
Copy link
Copy Markdown
Contributor

| @rchincha it is solved but I would like to see pkg.dev update

only a matter of some time delay hopefully!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: go get zotregistry.dev always get v1.4.3 with error

4 participants