commit | d98519c114953aa372c373aa4c7122a39d7932af | [log] [tgz] |
---|---|---|
author | Max Bowsher <maxbowsher@gmail.com> | Sun Jul 23 10:27:23 2023 +0100 |
committer | Jonathan Amsterdam <jba@google.com> | Mon Jul 24 22:06:55 2023 +0000 |
tree | 3b6393affcd384efe9a9f0e3910e30b84736e91d | |
parent | 613f0c0eb8a17a98ecdb096a7f9f7d5053c1c963 [diff] |
x/exp/apidiff: add package path to change messages Following the recent change to add module support to apidiff, it is now no longer the case that all objects reported on in one apidiff execution are in the same package. Therefore, add the package path, made relative to the root of the apidiff execution, to object names when reporting changes. Fixes golang/go#61387 Change-Id: Idd748d46b68c0122f9f28ea3b51cc0519448b672 Reviewed-on: https://go-review.googlesource.com/c/exp/+/512295 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Ian Lance Taylor <iant@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.