|author||Jay Conrod <firstname.lastname@example.org>||Thu Dec 10 17:45:00 2020 -0500|
|committer||Jay Conrod <email@example.com>||Tue Dec 15 15:35:30 2020 +0000|
cmd/gorelease: support comparing replacement modules Downloaded modules (currently, those fetched according to the -base flag) may now have module paths in go.mod different than the module path used to fetch them with 'go mod download'. This lets gorelease compare modules that have been copied to another location (e.g., a soft fork). The module path in go.mod is used when loading packages. Fixes golang/go#39666 Change-Id: I33bbdab3fe5c4374f749fb965e9cc7339a1f6a8f Reviewed-on: https://go-review.googlesource.com/c/exp/+/277116 Trust: Jay Conrod <firstname.lastname@example.org> Trust: Jean de Klerk <email@example.com> Run-TryBot: Jay Conrod <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Reviewed-by: Jean de Klerk <firstname.lastname@example.org>
This subrepository holds experimental and deprecated (in the
old directory) packages.
The idea for this subrepository originated as the
pkg/exp directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to
go get these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)