]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: better support for no network
authorMichael Matloob <matloob@golang.org>
Wed, 21 May 2025 18:47:49 +0000 (14:47 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 21 May 2025 20:40:34 +0000 (13:40 -0700)
commit988eb0d11e8d96e8ca150f401ed82326b276f653
tree1b34baf5597097e0d18e23306a09d45e8d0536a8
parent50484d3b4e691d361d009d5e4a07c182b35471a0
cmd/doc: better support for no network

Allow skipping the deprecation check when GOPROXY=off. The deprecation
check is an informational message so this doesn't affect the success of
the command. We should probably skip the check in more cases when
GOPROXY=off but that's a bigger change that should be made in a later
release.

There are still some deps.dev log messages that we should try to
suppress.

For #68106

Change-Id: Ifa0efd01ed623bb68c7ad7c5cfb6705547d157a0
Reviewed-on: https://go-review.googlesource.com/c/go/+/675155
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Matloob <matloob@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
src/cmd/doc/main.go
src/cmd/go/internal/load/pkg.go