You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go1.10 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
darwin/amd64
What did you do?
First vgo build command will build project properly. Successive vgo build commands will fail with a 404 error on certain packages.
What did you expect to see?
Successful build.
What did you see instead?
vgo: finding github.com/rs/cors v1.2.0
vgo: github.com/rs/cors v1.2.0: unexpected status (https://api.github.com/repos/rs/cors/git/refs/tags/v1.2.0): 404 Not Found
vgo: finding github.com/google/uuid v0.1.0
vgo: github.com/google/uuid v0.1.0: unexpected status (https://api.github.com/repos/google/uuid/git/refs/tags/v0.1.0): 404 Not Found
vgo: finding github.com/google/uuid v0.1.0
vgo: github.com/google/uuid v0.1.0: unexpected status (https://api.github.com/repos/google/uuid/git/refs/tags/v0.1.0): 404 Not Found
vgo: unexpected status (https://api.github.com/repos/google/uuid/git/refs/tags/v0.1.0): 404 Not Found
The text was updated successfully, but these errors were encountered:
After some further testing - if a package has no tags, it will pull from the HEAD and the pseudo-version is used as defined in vgo-intro - Defining Go Modules. However if the package is tagged - but not with 3 numbers - it causes the 404 error when running vgo build or vgo run.
To remedy this, one can manually set the package's pseudo-version in the go.mod file using the commit hash:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.10 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?darwin/amd64
What did you do?
First
vgo build
command will build project properly. Successivevgo build
commands will fail with a 404 error on certain packages.What did you expect to see?
Successful build.
What did you see instead?
The text was updated successfully, but these errors were encountered: