Skip to content
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: add a 'go mod why' mode to answer “why this specific version?” #28800

Closed
bcmills opened this issue Nov 14, 2018 · 1 comment
Closed

cmd/go: add a 'go mod why' mode to answer “why this specific version?” #28800

bcmills opened this issue Nov 14, 2018 · 1 comment

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Nov 14, 2018

As noted in #28795 (comment), today we can use go mod graph to figure out which module imposes a particular version of a dependency, then use go mod why to figure out why that module is included.

However, that's two queries to answer what is logically a single question: “why was this version of the module selected?” Perhaps we should add a go mod why flag to answer that question more directly.

(CC @rsc @myitcv @thepudds)

@bcmills

This comment has been minimized.

Copy link
Member Author

@bcmills bcmills commented Nov 15, 2018

Re-reading #27900, I realize that this is a duplicate. Oops!

@bcmills bcmills closed this Nov 15, 2018
@golang golang locked and limited conversation to collaborators Nov 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.