]> Cypherpunks repositories - gostls13.git/commit
cmd/go: accept GOSUMDB=sum.golang.google.cn
authorRuss Cox <rsc@golang.org>
Wed, 21 Aug 2019 14:43:49 +0000 (10:43 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 21 Aug 2019 15:13:03 +0000 (15:13 +0000)
commitc61c29fe563134f752ea14e794d08031982145e8
tree3c9533a423209ad2bc331950dcddae0721e79f8a
parent723852388eed2b023c7a47219ebebf722b3a7ced
cmd/go: accept GOSUMDB=sum.golang.google.cn

This CL makes the go command understand that
GOSUMDB=sum.golang.google.cn should connect
to that domain but expect to find a checksum database
signed by sum.golang.org there.

The host sum.golang.google.cn is not yet completely
configured; we hope it will be available in a few weeks.

Change-Id: Ie0fc4323f0c7084dda59bd3b45fc406717fa16d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/191137
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/modfetch/fetch.go
src/cmd/go/internal/modfetch/sumdb.go