Skip to content
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

Closed
endobson opened this issue Sep 8, 2017 · 5 comments
Closed

ProtoSourcesProvider is not available as a Provider #3701

endobson opened this issue Sep 8, 2017 · 5 comments
Labels
P2 We'll consider working on this in future. (Assignee optional)

Comments

@endobson
Copy link
Contributor

endobson commented Sep 8, 2017

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

@meteorcloudy meteorcloudy added category: extensibility > skylark remote repositories P2 We'll consider working on this in future. (Assignee optional) labels Sep 8, 2017
@meteorcloudy
Copy link
Member

//cc @vladmos

@oscar-stripe
Copy link

what's the story here? This has become import for us. Any news?

@dslomov @cgrushko ?

@oscar-stripe
Copy link

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.

@cgrushko
Copy link
Contributor

cgrushko commented Mar 9, 2018

@iirina

@perezd
Copy link
Contributor

perezd commented Jul 13, 2018

Any update here? How does one produce proto genfiles that can use the proto provider?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional)
Projects
None yet
Development

No branches or pull requests

5 participants