-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: 'go mod why -m' and 'go mod graph' should report modules in the compatibility graph. #46366
Comments
Change https://golang.org/cl/329529 mentions this issue: |
For #46366 Change-Id: I8417e6e4dbb8cb56ff7afc16893a01b7bb938217 Reviewed-on: https://go-review.googlesource.com/c/go/+/329529 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
|
Change https://golang.org/cl/334375 mentions this issue: |
For #46366 Change-Id: Ie9735027a3c4c0f4a604df30ca4d64dcdc62b45a Reviewed-on: https://go-review.googlesource.com/c/go/+/334375 Trust: Bryan C. Mills <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Jay Conrod <[email protected]> TryBot-Result: Go Bot <[email protected]>
I think the remaining work is under the umbrella of #27900, so I'm going to go ahead and close this out — the portion unique to the Go 1.17 release is done. |
does this mean if we want to avoid seeing compatibility deps in edit: no, that doesn't work |
IIUC, go 1.17 we use |
@liggitt I don't think there's any precise way to show direct / indirect dependencies with |
pre-1.17, |
The It is true that I think we should address that use-case more directly (ha!), and the right way to do that is probably #40364. In the interim, you can use two passes of
|
was the impact on tools built on top of |
(That is: |
this closed issue is probably the wrong place to have this discussion, I'll open a new issue |
opened #47648 |
To ease the migration path for pruned module graphs in Go 1.17 (#36460), we added a
-compat
flag togo mod tidy
(#46141) to preserve additional checksums for Go 1.16.Ideally,
go mod why -m
(and perhapsgo mod graph
?) should also report why those checksums are needed, since they're a bit mysterious otherwise.CC @jayconrod @matloob
The text was updated successfully, but these errors were encountered: