-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: the GOPROXY should have no default value #31757
Comments
This is a duplicate of #31755. Let's consolidate discussion on that earlier bug. |
Do I make myself clear? The most dangerous thing I mentioned was to have a Go beginner use a service they would never reach without any knowledge of it and without making any changes... Imagine how disappointing they would be if they couldn't run a simple "hello, world" with the gin framework or something else. Please don't think that this is a minority problem (in fact it is not) and ignore it. |
@aofei If you are finding a proxy, try The Go Team can't help you across the wall. Just find your own way. |
@oiooj I'm not finding a proxy... have you ever read what I wrote? And I never asked the Go team to help me across anything. |
Feel free to repeat any missing concerns or information on #31755. They're related enough that it's not worth having two open. |
Hi Go team, I'm the author of goproxy/goproxy.cn. I started this project with China's well-trusted cloud service provider Qiniu Cloud mainly to solve the problem that we can't
go get
modules likegolang.org/x/...
through Go modules in the mainland of China. But now I'm starting to have some concerns that it makes no sense to develop this project.Note that I'm here not talking about proxy.goalng.org shouldn't be blocked in China (of course it shouldn't be), so if anyone wants to talk/argue about it, please head to #31755. I'm here talking about a dangerous thing that @rsc mentioned in Go Modules in 2019:
If I have understood correctly, starting with Go 1.13 the
proxy.goalng.org
will become the default value for theGOPROXY
. Is that really a right thing to do?As @davecheney mentioned in #25530 (comment), now the
proxy.golang.org
is definitely not only blocked in the mainland of China. So when theproxy.golang.org
becomes the default, does it mean that Go beginners in these countries will not be able to use their brand new Go 1.13 to run ANY project that imports third-party packages? Of course, if they don't know how to break through the network blockade, and don't know that there is aGOPROXY
needs to be manually modified by them (after all, they are beginners, how can they know).Moreover, as you mentioned in FAQ:
I think one or two hours is not good enough at all. I mean, if a module has just fixed a vulnerability and released a new version, we will not be able to get this new version immediately with the default
GOPROXY
, right?In summary, due to the above two problems, I think it is dangerous to make the
proxy.golang.org
the default value of theGOPROXY
. So, have you really decided to do this?The text was updated successfully, but these errors were encountered: