-
Notifications
You must be signed in to change notification settings - Fork 379
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
Support GoPkg.in Semantics #726
Comments
Sorry, Gazelle will only follow Go module semantics when importing
|
Versions
gazelle: 0.20.0
rules_go: 0.22.1
bazel: 2.1.1
OS: Mac OS Catalina
Processor Architecture: x86
Running the versions specified in the
README.md
.What did you do?
I have a
go.mod
file that includes the linerequire gopkg.in/yaml.v3 v3
. At the time of writing this ticket, this repository has not created av3
tag, only a branch.When attempting to use Gazelle to generate
BUILD
files for this project it exits with code 1.What did you see?
Per the GoPkg.in semantics a version can point to either a branch or a tag. Gazelle however only supports tags. Can Gazelle support branches in addition to tags to satisfy the
gopkg.in
spec? Branch and tag refs must be unique within a repository.The text was updated successfully, but these errors were encountered: