]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix go list -u -m all with too new retractions dependency
authorSam Thanawalla <samthanawalla@google.com>
Mon, 20 May 2024 20:43:39 +0000 (20:43 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 18 Jun 2024 15:33:06 +0000 (15:33 +0000)
commite44fa1c1a9139ad457d8fa84a68afa3f40e7732a
tree5c301a010be8476ecf2f65a03408652c1d175da2
parentb691da9f788f27eb3d5035f3dbdc15c107d71ef9
cmd/go: fix go list -u -m all with too new retractions dependency

Previously, go would not report retractions of dependencies that have a
newer version of Go. With this change, we will still display retractions despite a version difference when go list -u -m is used.

Fixes: #66403
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: I6406680235e294269836ae4cbe3d5680ca10eea0
Reviewed-on: https://go-review.googlesource.com/c/go/+/588775
Auto-Submit: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/modload/modfile.go
src/cmd/go/testdata/mod/example.com_retract_newergoversion_v1.0.0.txt [new file with mode: 0644]
src/cmd/go/testdata/mod/example.com_retract_newergoversion_v1.2.0.txt [new file with mode: 0644]
src/cmd/go/testdata/script/list_retractions_issue66403.txt [new file with mode: 0644]