-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: group 'go get' update messages together near the end of output
In module mode, 'go get' prints a message for each version query it resolves. This change groups those messages together near the end of the output so they aren't mixed with other module "finding" and "downloading" messages. They'll still be printed before build-related messages. Fixes #37982 Change-Id: I107a9f2b2f839e896399df906e20d6fc77f280c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/232578 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
- Loading branch information
Jay Conrod
committed
May 29, 2020
1 parent
6851a55
commit c2d1df6
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Upgrades are reported. | ||
go get -d rsc.io/quote | ||
stderr '^go: rsc.io/quote upgrade => v1.5.2\n\z' | ||
|
||
# Downgrades are not reported. | ||
# TODO(golang.org/issue/33284): they should be. | ||
go get -d rsc.io/quote@v1.5.0 | ||
stderr '^go: downloading.*\n\z' | ||
|
||
-- go.mod -- | ||
module m | ||
|
||
go 1.15 | ||
|
||
require rsc.io/quote v1.5.0 |