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: create list files in @v directories #26185

zombiezen opened this issue Jul 2, 2018 · 1 comment

x/vgo: create list files in @v directories #26185

zombiezen opened this issue Jul 2, 2018 · 1 comment


Copy link

@zombiezen zombiezen commented Jul 2, 2018

In order to use a directory under "$GOPATH/src/mod/cache/download" as a cache directory accessible from an HTTP proxy, it must include a @v/list file that includes each version. This can currently be done by running ls *.info | sed 's/.info$//' > list in each @v directory, but it would be much more convenient if vgo did that as part of normal operation, so it could be just as simple as copying the directory to S3 or GCS or some such.

@rsc has said this requires vgo to lock directories. I don't know if there's an open issue for that.

@gopherbot gopherbot added this to the vgo milestone Jul 2, 2018

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jul 6, 2018

Change mentions this issue: cmd/go/internal/modfetch: maintain @v/list files

@golang golang locked and limited conversation to collaborators Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.