distribution/registry/handlers
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
..
api_test.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
app.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
app_test.go Enable bodyclose linter 2023-08-19 09:45:44 +01:00
basicauth.go bump up golang v1.17 2021-10-27 15:51:30 +08:00
basicauth_prego14.go bump up golang v1.17 2021-10-27 15:51:30 +08:00
blob.go use http consts for request methods 2022-11-02 23:31:47 +01:00
blobupload.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
catalog.go Fix runaway allocation on /v2/_catalog 2023-03-31 13:17:43 +02:00
context.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
health_test.go replace deprecated io/ioutil 2022-11-04 23:47:52 +01:00
helpers.go replace strings.Split(N) for strings.Cut() or alternatives 2022-11-10 22:38:12 +01:00
hmac.go handlers: provide better log message on mismatched secret 2016-09-02 15:24:35 -07:00
hmac_test.go registry/handlers: use consistent names for test-tables 2023-05-09 14:00:17 +02:00
hooks.go replace strings.Split(N) for strings.Cut() or alternatives 2022-11-10 22:38:12 +01:00
mail.go Fix gometalint errors 2019-02-04 16:01:04 -08:00
manifests.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
tags.go use http consts for request methods 2022-11-02 23:31:47 +01:00