GOPROXY + pseudoversions: skip direct lookup fallback when @latest is known #28707
Labels
datasource:go
priority-2-high
Bugs impacting wide number of users or very important features
type:bug
Bug fix of existing functionality
Describe the proposed change(s).
If GOPROXY is used, and
@v/list
returns empty for a pseudo version while@latest
returns a version, then use that version as the only version in order to skip the fallback to github.com lookups.Example dependency:
https://proxy.golang.org/k8s.io/utils/@latest returns:
In such a case there's no need to fall back to looking it up from github.com, instead we can use
v0.0.0-20240423183400-0849a56e8f22
as the result.The text was updated successfully, but these errors were encountered: