cmd/go: add better logging for go mod vendor #51446
Labels
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Today when we run
go mod vendor
, we only get a single message printed to stderr per dependency that looks likego: downloading golang.org/x/text v0.3.7
.This does not tell us when the package finished downloading, which is especially important when trying to diagnose why
go mod vendor
is slow. (Sincego mod vendor
seems to download lots of stuff in parallel, we cannot just go by the next log line.)It also does not tell us which particular proxy in the
GOPROXY
list was used, which is again important for troubleshooting.Please add the aforementioned logs, perhaps via some
-verbose
flag or similar.The text was updated successfully, but these errors were encountered: