/ go Public
cmd/go: add better logging for go mod vendor #51446
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Today when we run
go mod vendor, we only get a single message printed to stderr per dependency that looks like
go: 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 vendoris slow. (Since
go mod vendorseems 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
GOPROXYlist was used, which is again important for troubleshooting.
Please add the aforementioned logs, perhaps via some
-verboseflag or similar.
The text was updated successfully, but these errors were encountered: