Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: add ability to download info, mod and source zip #26577
In the Athens project, the code that downloads code from VCS's and stores it in the database uses
Instead of doing that, we'd like to use a command - say,
referenced this issue
Jul 26, 2018
I wonder if we can add “don’t require go list -m to be in a go module” to the wishlist on this issue…
On Thu, Jul 26, 2018 at 11:52 Marwan Sulaiman ***@***.***> wrote: @arschles <https://github.com/arschles> go list -m -versions already works. We just have to be inside a dummy go module, which is a bit hacky :) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#26577 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAEU0avamQSCPoUZzBDsQVDiHWFRlI1Bks5uKhALgaJpZM4VfGit> .
Also from Athen's perspective, it's okay to just do all three at the same time (info/mod/zip). As long as Go doesn't traverse the dependencies of what we're asking for and tries to download them and "go install" them. This has led to some failed builds.