Debian Patches

Status for golang-github-anchore-stereoscope/0.3.4-1

Patch Description Author Forwarded Bugs Origin Last update
0001-docker-credential-gcr-v2.patch use the /v2 module path of docker-credential-gcr Upstream pins github.com/GoogleCloudPlatform/docker-credential-gcr
v2.0.5+incompatible, a v2 release that never moved its module path. Debian
packages 2.2.1, which did move it, so the sources install under
/usr/share/gocode/src/github.com/GoogleCloudPlatform/docker-credential-gcr/v2
and import each other by that path.
.
DH_GOLANG_MODULE_MAPPINGS is not enough here: it makes the old path resolve, but
the module's own internal imports then come from a module that this go.mod does
not require, and Go stops with "provides package ... and is replaced but not
required".
diff --git a/go.mod b/go.mod
index 7737b86..9a8f4c2 100644
Juan Manuel Mendez Rey <juan.mendezr@proton.me> invalid
0002-wildmatch-matches.patch call wildmatch's Matches, the name it has in 2.x Upstream pins github.com/becheran/wildmatch-go v1.0.0, where the method is
IsMatch. Debian packages upstream 2.0.3, where it is called Matches, and
wildmatch-go never added a /v2 to its module path, so both majors claim the
same import path and only one can be in the archive.
.
The rename is the whole of the API change: the package documentation of v1.0.0
and of 2.0.3 describes the same semantics, `?` for exactly one character, `*`
for zero or more, and a match against the whole string.
diff --git a/go.mod b/go.mod
index 9a8f4c2..5d15b45 100644
Juan Manuel Mendez Rey <juan.mendezr@proton.me> not-needed
0003-test-no-parallel-index-default-on-one-cpu.patch Do not assert a parallel index default on a one-CPU machine layerReadWorkers derives its bound from runtime.NumCPU(), so on a single-CPU
host the index default is 1 and assert.Greater(..., 1) fails. Serial is the
correct default there, so the assertion only holds above one CPU.

diff --git a/pkg/image/layer_read_pipeline_test.go b/pkg/image/layer_read_pipeline_test.go
index 919b9b4..0c32852 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> yes 2026-11-03

All known versions for source package 'golang-github-anchore-stereoscope'

Links