-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
ProtoSourcesProvider is not available as a Provider #3701
Comments
//cc @vladmos |
PS: it seems like we can consume the provider via skylark: https://docs.bazel.build/versions/master/skylark/lib/ProtoSourcesProvider.html but I don't see how we can create a provider. Context: we would like to download some protobuf descriptors in a repository rule and consume them in the current repo. We can download the providers, but we have no way to get them back as consumable by proto_library currently. This is causing us pain and suffering. |
Any update here? How does one produce proto genfiles that can use the proto provider? |
I want to write a lang_proto_library rule, and as such enforce that all the labels in the
deps
attribute export the right provider. I currently can only enforce that they export the old style provider "proto", instead of a new style provider.Bazel release = 0.5.4
The text was updated successfully, but these errors were encountered: