Debian Patches

Status for go-containerregistry/0.20.7+ds1-4

Patch Description Author Forwarded Bugs Origin Last update
0001-disable-tests-that-require-gcloud-executable.patch disable tests that require gcloud executable Reinhard Tartler <siretart@tauware.de> no 2026-03-21
0002-pkg-v1-remote-transport-eliminate-race-condition-in-.patch pkg/v1/remote/transport: eliminate race condition in TestTransportSelectionBearer

Route mock requests by HTTP method and host instead of relying on an assumed
sequential order. When ping requests execute concurrently under parallel test
execution, the HTTPS probe failure and HTTP fallback request can arrive in
variable order, causing the mock server to reject valid bearer auth requests
and causing the test to flake intermittently.
Reinhard Tartler <siretart@tauware.de> yes debian 2026-09-18
0003-test-make-compressed-layer-assertions-robust-and-com.patch test: make compressed layer assertions robust and compatible with Go 1.27

Go 1.27 introduces subtle output changes in compress/flate for identical
uncompressed inputs, causing hardcoded compressed layer digests and sizes
in the test suite to fail:

- pkg/v1/stream: in TestStreamVsBuffer, assert that streaming matches
buffering directly rather than comparing against static hash literals.
- pkg/crane, pkg/v1/mutate, pkg/v1/remote, pkg/v1/stream: accept both
Go <=1.26 and Go 1.27+ compressed layer sizes and digests using
slices.Contains.
- pkg/v1/remote/progress_test.go: use layer.Size() in progress updates.
- pkg/v1/tarball/image_test.go: use validate.Fast in TestBundleMultiple
to avoid re-compressing uncompressed layers against static fixture hashes.
- pkg/crane/example_test.go: verify hash algorithm instead of static digest.
Reinhard Tartler <siretart@tauware.de> yes debian 2026-09-17

All known versions for source package 'go-containerregistry'

Links