-
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
x/vgo: define and implement "vgo get" (with no args) #24105
Comments
It would be great to have a command that just resolves imports/requires and downloads the dependencies. This is very useful for CI systems that often download package first, cache them and then move on to running tests. With current design, a CI system will not be able to cache dependencies until the tests pass. So it would be great for |
Yes, we need to figure out what this means exactly. |
This seems to be similar what At least
|
Change https://golang.org/cl/122396 mentions this issue: |
What did you do?
What did you expect to see?
All the dependencies listed in the
go.mod
file ready for the next build.What did you see instead?
> vgo get vgo get: need arguments or -u
System details
why do I need
vgo get
My workflow contemplates frequent Docker builds. In my Dockerfile, I want to be able to fetch the project dependencies in a step before copying (and building) my actual code from the host, so that Docker can cache the dependency-fetching layer and reuse it if I change the code of my module.
The text was updated successfully, but these errors were encountered: