fix: resolve lint issues and tidy go.mod indirect deps
- commit
- 918e8de3c570cf15ad7e07bdb6da4b12726d71d3
- author
- brice · · 2026-03-14 14:14 UTC
- parent
- f6e6249
- signature
- unsigned
3 files · +13 -3
M go.mod +8 -0
| @@ -40,21 +40,29 @@ require ( | |||
| 40 | 40 | github.com/clipperhouse/displaywidth v0.9.0 // indirect | |
| 41 | 41 | github.com/clipperhouse/stringish v0.1.1 // indirect | |
| 42 | 42 | github.com/clipperhouse/uax29/v2 v2.5.0 // indirect | |
| 43 | + | github.com/containerd/stargz-snapshotter/estargz v0.18.2 // indirect | |
| 44 | + | github.com/docker/cli v29.2.1+incompatible // indirect | |
| 45 | + | github.com/docker/docker-credential-helpers v0.9.3 // indirect | |
| 43 | 46 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 44 | 47 | github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect | |
| 48 | + | github.com/klauspost/compress v1.18.4 // indirect | |
| 45 | 49 | github.com/lucasb-eyer/go-colorful v1.3.0 // indirect | |
| 46 | 50 | github.com/mattn/go-localereader v0.0.1 // indirect | |
| 51 | + | github.com/mitchellh/go-homedir v1.1.0 // indirect | |
| 47 | 52 | github.com/moby/sys/sequential v0.6.0 // indirect | |
| 48 | 53 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | |
| 49 | 54 | github.com/muesli/cancelreader v0.2.2 // indirect | |
| 50 | 55 | github.com/muesli/termenv v0.16.0 // indirect | |
| 51 | 56 | github.com/rs/zerolog v1.34.0 // indirect | |
| 57 | + | github.com/sirupsen/logrus v1.9.3 // indirect | |
| 58 | + | github.com/vbatts/tar-split v0.12.2 // indirect | |
| 52 | 59 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect | |
| 53 | 60 | go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect | |
| 54 | 61 | go.opentelemetry.io/otel/log v0.18.0 // indirect | |
| 55 | 62 | go.opentelemetry.io/proto/otlp v1.9.0 // indirect | |
| 56 | 63 | go.yaml.in/yaml/v3 v3.0.4 // indirect | |
| 57 | 64 | golang.org/x/net v0.49.0 // indirect | |
| 65 | + | golang.org/x/sync v0.19.0 // indirect | |
| 58 | 66 | google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 // indirect | |
| 59 | 67 | google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect | |
| 60 | 68 | google.golang.org/grpc v1.78.0 // indirect | |
| @@ -40,21 +40,29 @@ require ( | |||||
| 40 | github.com/clipperhouse/displaywidth v0.9.0 // indirect | 40 | github.com/clipperhouse/displaywidth v0.9.0 // indirect | ||
| 41 | github.com/clipperhouse/stringish v0.1.1 // indirect | 41 | github.com/clipperhouse/stringish v0.1.1 // indirect | ||
| 42 | github.com/clipperhouse/uax29/v2 v2.5.0 // indirect | 42 | github.com/clipperhouse/uax29/v2 v2.5.0 // indirect | ||
| 43 | + | github.com/containerd/stargz-snapshotter/estargz v0.18.2 // indirect | |||
| 44 | + | github.com/docker/cli v29.2.1+incompatible // indirect | |||
| 45 | + | github.com/docker/docker-credential-helpers v0.9.3 // indirect | |||
| 43 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 46 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 44 | github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect | 47 | github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect | ||
| 48 | + | github.com/klauspost/compress v1.18.4 // indirect | |||
| 45 | github.com/lucasb-eyer/go-colorful v1.3.0 // indirect | 49 | github.com/lucasb-eyer/go-colorful v1.3.0 // indirect | ||
| 46 | github.com/mattn/go-localereader v0.0.1 // indirect | 50 | github.com/mattn/go-localereader v0.0.1 // indirect | ||
| 51 | + | github.com/mitchellh/go-homedir v1.1.0 // indirect | |||
| 47 | github.com/moby/sys/sequential v0.6.0 // indirect | 52 | github.com/moby/sys/sequential v0.6.0 // indirect | ||
| 48 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | 53 | github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | ||
| 49 | github.com/muesli/cancelreader v0.2.2 // indirect | 54 | github.com/muesli/cancelreader v0.2.2 // indirect | ||
| 50 | github.com/muesli/termenv v0.16.0 // indirect | 55 | github.com/muesli/termenv v0.16.0 // indirect | ||
| 51 | github.com/rs/zerolog v1.34.0 // indirect | 56 | github.com/rs/zerolog v1.34.0 // indirect | ||
| 57 | + | github.com/sirupsen/logrus v1.9.3 // indirect | |||
| 58 | + | github.com/vbatts/tar-split v0.12.2 // indirect | |||
| 52 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect | 59 | github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect | ||
| 53 | go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect | 60 | go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect | ||
| 54 | go.opentelemetry.io/otel/log v0.18.0 // indirect | 61 | go.opentelemetry.io/otel/log v0.18.0 // indirect | ||
| 55 | go.opentelemetry.io/proto/otlp v1.9.0 // indirect | 62 | go.opentelemetry.io/proto/otlp v1.9.0 // indirect | ||
| 56 | go.yaml.in/yaml/v3 v3.0.4 // indirect | 63 | go.yaml.in/yaml/v3 v3.0.4 // indirect | ||
| 57 | golang.org/x/net v0.49.0 // indirect | 64 | golang.org/x/net v0.49.0 // indirect | ||
| 65 | + | golang.org/x/sync v0.19.0 // indirect | |||
| 58 | google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 // indirect | 66 | google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 // indirect | ||
| 59 | google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect | 67 | google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect | ||
| 60 | google.golang.org/grpc v1.78.0 // indirect | 68 | google.golang.org/grpc v1.78.0 // indirect | ||
M go.sum +2 -0 generated file: collapsed
M pkg/registrypush/push_test.go +3 -3
| @@ -140,7 +140,7 @@ func TestPusher_Push(t *testing.T) { | |||
| 140 | 140 | expectedUploadedBlobCount: 2, | |
| 141 | 141 | expectedManifestMediaTypes: []string{ | |
| 142 | 142 | "application/vnd.docker.distribution.manifest.v2+json", | |
| 143 | - | string(typesOCIManifestSchema1()), | |
| 143 | + | typesOCIManifestSchema1(), | |
| 144 | 144 | }, | |
| 145 | 145 | }, | |
| 146 | 146 | { | |
| @@ -151,7 +151,7 @@ func TestPusher_Push(t *testing.T) { | |||
| 151 | 151 | expectedUploadedBlobCount: 3, | |
| 152 | 152 | expectedManifestMediaTypes: []string{ | |
| 153 | 153 | "application/vnd.docker.distribution.manifest.v2+json", | |
| 154 | - | string(typesOCIManifestSchema1()), | |
| 154 | + | typesOCIManifestSchema1(), | |
| 155 | 155 | }, | |
| 156 | 156 | }, | |
| 157 | 157 | { | |
| @@ -169,7 +169,7 @@ func TestPusher_Push(t *testing.T) { | |||
| 169 | 169 | expectedUploadedBlobCount: 2, | |
| 170 | 170 | expectedManifestMediaTypes: []string{ | |
| 171 | 171 | "application/vnd.docker.distribution.manifest.v2+json", | |
| 172 | - | string(typesOCIManifestSchema1()), | |
| 172 | + | typesOCIManifestSchema1(), | |
| 173 | 173 | }, | |
| 174 | 174 | }, | |
| 175 | 175 | } | |
| @@ -140,7 +140,7 @@ func TestPusher_Push(t *testing.T) { | |||||
| 140 | expectedUploadedBlobCount: 2, | 140 | expectedUploadedBlobCount: 2, | ||
| 141 | expectedManifestMediaTypes: []string{ | 141 | expectedManifestMediaTypes: []string{ | ||
| 142 | "application/vnd.docker.distribution.manifest.v2+json", | 142 | "application/vnd.docker.distribution.manifest.v2+json", | ||
| 143 | - | string(typesOCIManifestSchema1()), | 143 | + | typesOCIManifestSchema1(), |
| 144 | }, | 144 | }, | ||
| 145 | }, | 145 | }, | ||
| 146 | { | 146 | { | ||
| @@ -151,7 +151,7 @@ func TestPusher_Push(t *testing.T) { | |||||
| 151 | expectedUploadedBlobCount: 3, | 151 | expectedUploadedBlobCount: 3, | ||
| 152 | expectedManifestMediaTypes: []string{ | 152 | expectedManifestMediaTypes: []string{ | ||
| 153 | "application/vnd.docker.distribution.manifest.v2+json", | 153 | "application/vnd.docker.distribution.manifest.v2+json", | ||
| 154 | - | string(typesOCIManifestSchema1()), | 154 | + | typesOCIManifestSchema1(), |
| 155 | }, | 155 | }, | ||
| 156 | }, | 156 | }, | ||
| 157 | { | 157 | { | ||
| @@ -169,7 +169,7 @@ func TestPusher_Push(t *testing.T) { | |||||
| 169 | expectedUploadedBlobCount: 2, | 169 | expectedUploadedBlobCount: 2, | ||
| 170 | expectedManifestMediaTypes: []string{ | 170 | expectedManifestMediaTypes: []string{ | ||
| 171 | "application/vnd.docker.distribution.manifest.v2+json", | 171 | "application/vnd.docker.distribution.manifest.v2+json", | ||
| 172 | - | string(typesOCIManifestSchema1()), | 172 | + | typesOCIManifestSchema1(), |
| 173 | }, | 173 | }, | ||
| 174 | }, | 174 | }, | ||
| 175 | } | 175 | } | ||