commit | b5a6e247da1035535aefee347e58caf75986052e | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@google.com> | Thu Dec 10 17:45:00 2020 -0500 |
committer | Jay Conrod <jayconrod@google.com> | Tue Dec 15 15:35:30 2020 +0000 |
tree | f811b27d32d784994d37f25aec420a3d01e877da | |
parent | a20c86df00b4d5755f6a4dc77be8ee8efb59a5d7 [diff] |
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 <jayconrod@google.com> Trust: Jean de Klerk <deklerk@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jean de Klerk <deklerk@google.com>
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.)
Caveat emptor.