detached 918e8de

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 (
4040 github.com/clipperhouse/displaywidth v0.9.0 // indirect
4141 github.com/clipperhouse/stringish v0.1.1 // indirect
4242 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
4346 github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
4447 github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect
48+ github.com/klauspost/compress v1.18.4 // indirect
4549 github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
4650 github.com/mattn/go-localereader v0.0.1 // indirect
51+ github.com/mitchellh/go-homedir v1.1.0 // indirect
4752 github.com/moby/sys/sequential v0.6.0 // indirect
4853 github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
4954 github.com/muesli/cancelreader v0.2.2 // indirect
5055 github.com/muesli/termenv v0.16.0 // indirect
5156 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
5259 github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
5360 go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
5461 go.opentelemetry.io/otel/log v0.18.0 // indirect
5562 go.opentelemetry.io/proto/otlp v1.9.0 // indirect
5663 go.yaml.in/yaml/v3 v3.0.4 // indirect
5764 golang.org/x/net v0.49.0 // indirect
65+ golang.org/x/sync v0.19.0 // indirect
5866 google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 // indirect
5967 google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect
6068 google.golang.org/grpc v1.78.0 // indirect
@@ -40,21 +40,29 @@ require (
40 github.com/clipperhouse/displaywidth v0.9.0 // indirect40 github.com/clipperhouse/displaywidth v0.9.0 // indirect
41 github.com/clipperhouse/stringish v0.1.1 // indirect41 github.com/clipperhouse/stringish v0.1.1 // indirect
42 github.com/clipperhouse/uax29/v2 v2.5.0 // indirect42 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 // indirect46 github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
44 github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7 // indirect47 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 // indirect49 github.com/lucasb-eyer/go-colorful v1.3.0 // indirect
46 github.com/mattn/go-localereader v0.0.1 // indirect50 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 // indirect52 github.com/moby/sys/sequential v0.6.0 // indirect
48 github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect53 github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
49 github.com/muesli/cancelreader v0.2.2 // indirect54 github.com/muesli/cancelreader v0.2.2 // indirect
50 github.com/muesli/termenv v0.16.0 // indirect55 github.com/muesli/termenv v0.16.0 // indirect
51 github.com/rs/zerolog v1.34.0 // indirect56 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 // indirect59 github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
53 go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect60 go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
54 go.opentelemetry.io/otel/log v0.18.0 // indirect61 go.opentelemetry.io/otel/log v0.18.0 // indirect
55 go.opentelemetry.io/proto/otlp v1.9.0 // indirect62 go.opentelemetry.io/proto/otlp v1.9.0 // indirect
56 go.yaml.in/yaml/v3 v3.0.4 // indirect63 go.yaml.in/yaml/v3 v3.0.4 // indirect
57 golang.org/x/net v0.49.0 // indirect64 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 // indirect66 google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409 // indirect
59 google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect67 google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect
60 google.golang.org/grpc v1.78.0 // indirect68 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) {
140140 expectedUploadedBlobCount: 2,
141141 expectedManifestMediaTypes: []string{
142142 "application/vnd.docker.distribution.manifest.v2+json",
143- string(typesOCIManifestSchema1()),
143+ typesOCIManifestSchema1(),
144144 },
145145 },
146146 {
@@ -151,7 +151,7 @@ func TestPusher_Push(t *testing.T) {
151151 expectedUploadedBlobCount: 3,
152152 expectedManifestMediaTypes: []string{
153153 "application/vnd.docker.distribution.manifest.v2+json",
154- string(typesOCIManifestSchema1()),
154+ typesOCIManifestSchema1(),
155155 },
156156 },
157157 {
@@ -169,7 +169,7 @@ func TestPusher_Push(t *testing.T) {
169169 expectedUploadedBlobCount: 2,
170170 expectedManifestMediaTypes: []string{
171171 "application/vnd.docker.distribution.manifest.v2+json",
172- string(typesOCIManifestSchema1()),
172+ typesOCIManifestSchema1(),
173173 },
174174 },
175175 }
@@ -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 }

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close