commit | 857350248e3daa3d4f943c6f0fa2ffa713195d7e | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@google.com> | Thu Mar 19 17:09:24 2020 -0400 |
committer | Jay Conrod <jayconrod@google.com> | Thu Mar 19 22:13:30 2020 +0000 |
tree | 5d51a1f06e336045231ee1dbddb35dbb01329f0e | |
parent | fcea875c7e8555ad2a19200050d559f50f22ad27 [diff] |
cmd/gorelease: sort packages returned by packages.Load. packages.Load makes no guarantee about the order in which packages are returned. Previously, we assumed that when an explicit list of packages are passed in (no patterns), packages are returned in the same order. packages.Load uses 'go list -deps' internally, which prints packages in depth-first post-order. Fixes golang/go#37756 Change-Id: I1999815e778cd2a28145027c9dba19bed51c25f2 Reviewed-on: https://go-review.googlesource.com/c/exp/+/224118 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@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.