-
Notifications
You must be signed in to change notification settings - Fork 1k
feature request:replace golang.org lib with github mirror,like glide #1837
Comments
how about this way |
see #1721 |
see #1322 But I think this is a very bad design. Some company prevent source code leaks. The computer is forbidden to access the Internet. |
But It is not a "local machine's networkd issues". for the command design. |
@chentaosheng |
I tested PR. It didn't work.
Finally use proxy fix it.
Test network below, if you can see same result, so dep should also have access to golang.org.
|
@hookszhang use branch golang-package-github-mirror |
@bensonfx I forgot to mention that I was using the branch golang-package-github-mirror. Is it good to work with you? I noticed that this variable was never used.
|
@hookszhang sometimes, golang.org can be conenected. but go.googlesource.com can not be connected. in your case, golang.org mirror rule should be added. |
The logs have been added as below.
Retry, i got this:
One more question,
I think we should use the proxy, by the way GTMD GFW! |
weird the way using proxy is not convenient. |
Hi, I forked dep my fork, and add a And for now on, my fork just support a global proxy, all network traffic (only go-get=1 and git) forwarded by using the proxy. Futher, I think I can add a config file, something like a |
What version of Go (go version) and dep (git describe --tags) are you using??
What dep command did you run?
What did you expect to see?
What did you see instead?
description:
The text was updated successfully, but these errors were encountered: