-
Notifications
You must be signed in to change notification settings - Fork 78
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
Bazelify and move to modules #27
Comments
Would love to see Bazel support added! But since dep has been superceded by go modules (né vgo), I'd say hold off on that side of things. |
Aah interesting I thought go modules was just for metadata ! I think the external dep approach (external deps declared as |
My bazel-fu is pretty weak, but I'd say that makes sense to me. We are vendoring PG* in lyft/protoc-gen-validate , which uses bazel, but a custom version of the go ruleset, so not sure how this will interplay. @htuch, any suggestions on this front? |
My Bazel Go fu is the weakest of them all. Once protoc-gen-star is Bazel, we can consume it as an external Bazel native dep ( |
I have had a look at vgo. Gazelle uses the lock file generated by dep to manage the workspace. vgo doesn’t use lock files. Using dep makes sense here, the validation framework uses it. It will likely take some time till solid support is availble in the rules. The validation framework can be moved to the external workspace pattern and if we use dep here managin deps and regenerating the workspaces will be a cinch. Also the vendor directory can be excluded from vcs. |
Given that dep has been superseded by modules, we'll want to go that route instead. |
Closed by #81 |
Happy to contribute this.
The text was updated successfully, but these errors were encountered: