distribution/registry/api/v2
Sebastiaan van Stijn 152af63ec5
deprecate reference package, migrate to github.com/distribution/reference
This integrates the new module, which was extracted from this repository
at commit b9b19409cf458dcb9e1253ff44ba75bd0620faa6;

    # install filter-repo (https://github.com/newren/git-filter-repo/blob/main/INSTALL.md)
    brew install git-filter-repo

    # create a temporary clone of docker
    cd ~/Projects
    git clone https://github.com/distribution/distribution.git reference
    cd reference

    # commit taken from
    git rev-parse --verify HEAD
    b9b19409cf

    # remove all code, except for general files, 'reference/', and rename to /
    git filter-repo \
      --path .github/workflows/codeql-analysis.yml \
      --path .github/workflows/fossa.yml \
      --path .golangci.yml \
      --path distribution-logo.svg \
      --path CODE-OF-CONDUCT.md \
      --path CONTRIBUTING.md \
      --path GOVERNANCE.md \
      --path README.md \
      --path LICENSE \
      --path MAINTAINERS \
      --path-glob 'reference/*.*' \
      --path-rename reference/:

    # initialize go.mod
    go mod init github.com/distribution/reference
    go mod tidy -go=1.20

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-31 15:47:06 +02:00
..
descriptors.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go Fix runaway allocation on /v2/_catalog 2023-03-31 13:17:43 +02:00
fuzz_test.go Fuzzing: Rewrite existing fuzzers to native go fuzzers 2022-11-12 17:30:10 +00:00
headerparser.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
headerparser_test.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
routes.go Do not recreate mux router for each incoming request 2022-07-08 14:17:17 -07:00
routes_test.go Handle rand deprecations in go 1.20 2023-08-28 09:33:12 +01:00
urls.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
urls_test.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00