docker-distribution/notifications
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
..
bridge.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
bridge_test.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
endpoint.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
event.go feat!: remove schema1 manifest 2023-08-29 12:17:44 +02:00
event_test.go Remove references to schema1 pacakge from notifications package 2023-08-13 12:44:21 +01:00
http.go format code with gofumpt 2022-11-03 22:48:20 +01:00
http_test.go Remove references to schema1 pacakge from notifications package 2023-08-13 12:44:21 +01:00
listener.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
listener_test.go deprecate reference package, migrate to github.com/distribution/reference 2023-08-31 15:47:06 +02:00
metrics.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
metrics_test.go
sinks.go Use go-events package 2020-03-04 12:49:32 -08:00
sinks_test.go notifications: don't use un-keyed structs 2023-05-09 13:54:38 +02:00