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

Update //proto rules to provide all required dependencies. #868

Merged
merged 3 commits into from
Aug 10, 2021

Conversation

UebelAndre
Copy link
Collaborator

@UebelAndre UebelAndre commented Jul 30, 2021

Not all dependencies are currently provided by the @rules_rust//proto modules. This PR updates the proto rules to provide these missing dependencies via a new rules_proto_transitive_repositories macros.

The setup instructions have been updated accordingly in the generated docs.

This change may contain a breaking change for some users who've only loaded rules_proto_repositories and not called @com_google_protobuf//:protobuf_deps.bzl%protobuf_deps in their workspace. The fix for this is to simply call rules_proto_transitive_repositories as documented in the updated docs.

@google-cla google-cla bot added the cla: yes label Jul 30, 2021
@UebelAndre
Copy link
Collaborator Author

I've opened the following PRs to pair with the patches used to generate docs:

@UebelAndre
Copy link
Collaborator Author

This PR requires the following PRs:

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable :)

@UebelAndre UebelAndre merged commit fe657ed into bazelbuild:main Aug 10, 2021
@UebelAndre UebelAndre deleted the proto branch August 10, 2021 12:33
UebelAndre added a commit to UebelAndre/rules_rust that referenced this pull request Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants