Skip to content
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

x/vgo: `vgo list` does not work when repository is unreachable #25119

Closed
airylinus opened this issue Apr 27, 2018 · 3 comments

Comments

@airylinus
Copy link

commented Apr 27, 2018

> vgo list
...
GET https://golang.org/x/text/language?go-get=1
FindRepo: Get https://golang.org/x/text/language?go-get=1: dial tcp 216.239.37.1:443: i/o timeout
vgo: import "github.com/airylinus/hello" ->
import "rsc.io/quote" ->
import "github.com/airylinus/sampler" ->
import "golang.org/x/text/language": Get https://golang.org/x/text/language?go-get=1: dial tcp 216.239.37.1:443: i/o timeout

Cuz golang.org is blocked from china mainland. It's also an usual case when you import a repo named xitler.cn/untils and some day site xitler.cn shut down.

@airylinus

This comment has been minimized.

Copy link
Author

commented Apr 27, 2018

How about add a file repo.mod, then we can define the location of packages instead of binding them together.

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 27, 2018

Search for “Proxy Servers” in https://research.swtch.com/vgo-module.

@bcmills bcmills changed the title `vgo list` not work when repository is unreachable x/vgo: `vgo list` does not work when repository is unreachable Apr 27, 2018
@gopherbot gopherbot added this to the vgo milestone Apr 27, 2018
@rsc

This comment has been minimized.

Copy link
Contributor

commented Jun 6, 2018

The plan is to allow proxy servers. Note also that these modules are cached on your local disk. The failure only happens when you don't have them yet. In this sense the current behavior is no worse than the current "go get" or "dep" or anything else that downloads code. I'm going to close this issue but we do want to do better with code disappearing.

@rsc rsc closed this Jun 6, 2018
@golang golang locked and limited conversation to collaborators Jun 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants
You can’t perform that action at this time.