]> Cypherpunks repositories - gostls13.git/commit
cmd/go: adjust module-related logging
authorBryan C. Mills <bcmills@google.com>
Fri, 1 Nov 2019 16:06:24 +0000 (12:06 -0400)
committerBryan C. Mills <bcmills@google.com>
Fri, 1 Nov 2019 20:38:31 +0000 (20:38 +0000)
commit617b4168b8c6b11269a22646f0743ce43fb5a321
treedcd22bcc1cf92030aa00ebb249467081ef06eb7b
parentc9d89f6bacd66d4765cf36d2a4b121392921c5ed
cmd/go: adjust module-related logging

Suppress “finding” messages unless they are unusually slow, and
“extracting” messages always (they almost always occur conjunction
with “downloading”, which is already logged).

Log “found” messages for module dependencies added to satisfy missing
import paths.

Log top-level version changes in 'go get' when the selected version
is not identical to the version requested on the command line.

Updates #26152
Updates #33284

Change-Id: I4d0de60fab58d7cc7df8a2aff05c8b5b2220e626
Reviewed-on: https://go-review.googlesource.com/c/go/+/204777
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modfetch/cache.go
src/cmd/go/internal/modfetch/fetch.go
src/cmd/go/internal/modget/get.go
src/cmd/go/internal/modload/load.go
src/cmd/go/internal/modload/query.go
src/cmd/go/testdata/script/mod_get_newcycle.txt
src/cmd/go/testdata/script/mod_getmode_vendor.txt
src/cmd/go/testdata/script/mod_load_badchain.txt