A few questions.
1. For the defaults GOPROXY=https://proxy.golang.org and GOSUMDB=sum.golang.org, why does GOPROXY include 'https://' but this is missing from GOSUMDB? This seems inconsistent.
2. If HTTP_PROXY and HTTPS_PROXY are set, will go module proxying respect and go through these endpoints.
3. Following up from https://github.com/golang/go/issues/31755, chinese users don't have access to proxy.golang.org. Does the above change affect these users?
4. If I wish to not use a module proxy at all, public or private, is it enough to set both GONOPROXY and GONOSUMDB to empty values? Ex.
go env -w GONOPROXY=
go env -w GONOSUMDB=
5. It looks like this change is missing from https://tip.golang.org/doc/go1.13. This will be added to this though correct?
On Thursday, May 23, 2019 at 7:36:38 AM UTC-7, rsc wrote:Hi all,I just submitted CL 178179, which enables the Go module mirror and checksum database by default in the go command. The full details are in the commit message, which I've included below. If you run into problems, please file issues. We fully expect there are issues we don't know about yet, and we want to find out what they are.
Thanks.Russcmd/go: default to GOPROXY=https://proxy.golang.org and GOSUMDB=sum.golang.org
This CL changes the default module download and module verification mechanisms
to use the Go module mirror and Go checksum database run by Google.
See https://proxy.golang.org/privacy for the services' privacy policy.
(Today, that URL is a redirect to Google's standard privacy policy,
which covers these services as well. If we publish a more specific
privacy policy just for these services, that URL will be updated to
display or redirect to it.)
See 'go help modules' and 'go help modules-auth' for details (added in this CL).
To disable the mirror and checksum database for non-public modules:
go env -w GONOPROXY=*.private.net,your.com/*
go env -w GONOSUMDB=*.private.net,your.com/*
(If you are using a private module proxy then you'd only do the second.)
If you run into problems with the behavior of the go command when using
the Go module mirror or the Go checksum database, please file issues at
https://golang.org/issue/new, so that we can address them for the
Go 1.13 release.
For #25530.
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-dev/827108f4-3ef9-4f8e-ab08-ac195a79dc7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. For the defaults GOPROXY=https://proxy.golang.org and GOSUMDB=sum.golang.org, why does GOPROXY include 'https://' but this is missing from GOSUMDB? This seems inconsistent.
To unsubscribe from this group and stop receiving emails from it, send an email to golan...@googlegroups.com.
There was an issue to allow fallback to direct if proxy 404s. Would this work for non-public modules or do we have to go the route of setting `GONOPROXY` and `GONOSUMDB` ? Or did we ditch the doing GOPROXY=proxy,direct thing ?