-
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: confusing output from go get #37982
Comments
/cc @jayconrod @bcmills |
The Perhaps we should omit the version query entirely for the queries |
I wonder if we should print a list of all the versions that changed and why? At the moment, each of these message is shown when That feels a bit chatty though. If we print all changes, it should probably be behind a flag. |
I would say that we should at least log all of the versions of things actually imported by the main module (see #33284). However, we probably should not bother logging the versions of modules that aren't relevant (see #36460). |
For Go1.15 (now that the freeze has started), we should at least group these messages as the end of
Perhaps this can be simplified to just logging changes to requirements |
Relevant requirements might not be explicit in the Maybe we should just put an |
How about modules providing packages listed on the command line (and their dependencies if
I think it would be more useful to list the old version so it's clear whether any change has occurred. Showing
Another problem here is that we're only printing messages for resolved queries. We don't print anything for removed modules and downgrades. |
Agreed; in general that's #33284. |
That seems fine to do once the requirements in For example: if I upgrade A which imports B, and B's requirements upgrade D but B does not use D, and the main module happens to elsewhere import package C which does use D, then the upgrade to D is “interesting” even if I only ran |
Change https://golang.org/cl/232578 mentions this issue: |
CL 232578 has been reverted by CL 235857. Reopening. |
Change https://golang.org/cl/236165 mentions this issue: |
@jayconrod Are we going to try to fix this in 1.15 or should we roll it forward to 1.16? Thanks. |
I've never seen the
upgrade =>
output before:I understand why it is there, but it probably should not be mixed into all the other downloading prints. If it's necessary to print the changes being made, print them all at the end. Otherwise it is too easily missed.
The text was updated successfully, but these errors were encountered: