Skip to content

Conversation

@SpencerC
Copy link
Contributor

@SpencerC SpencerC commented Sep 4, 2025

This is just a straightforward copy of https://github.com/bazelbuild/rules_proto/blob/main/proto/private/rules/proto_descriptor_set.bzl with the related tooling and test files. The only modifications are:

  • Changed paths to match the organization of this repo
  • Included constants directly in the test file instead of a separate header in a separate directory.

Closes #19647

Copy link

@turmanticant turmanticant left a comment

Choose a reason for hiding this comment

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

Would love to see this get added 😁

@neilconway
Copy link

+1 -- we also use this, and the lack of proto_descriptor_set makes it impossible to migrate from rules_proto to the built-in protobuf rules.

@mkruskal-google mkruskal-google added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Sep 25, 2025
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Sep 25, 2025
@SpencerC SpencerC force-pushed the proto_descriptor_set branch from 2b99f07 to 8016162 Compare September 25, 2025 01:31
@mkruskal-google mkruskal-google added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Sep 25, 2025
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Sep 25, 2025
@mkruskal-google mkruskal-google added 🅰️ safe for tests Mark a commit as safe to run presubmits over bazel and removed 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Sep 25, 2025
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Sep 25, 2025
copybara-service bot pushed a commit that referenced this pull request Oct 1, 2025
This is just a straightforward copy of https://github.com/bazelbuild/rules_proto/blob/main/proto/private/rules/proto_descriptor_set.bzl with the related tooling and test files. The only modifications are:

- Changed paths to match the organization of this repo
- Included constants directly in the test file instead of a separate header in a separate directory.

Closes #19647

Closes #23369

COPYBARA_INTEGRATE_REVIEW=#23369 from SpencerC:proto_descriptor_set 24b517b
FUTURE_COPYBARA_INTEGRATE_REVIEW=#23369 from SpencerC:proto_descriptor_set 24b517b
PiperOrigin-RevId: 813766298
copybara-service bot pushed a commit that referenced this pull request Oct 2, 2025
This is just a straightforward copy of https://github.com/bazelbuild/rules_proto/blob/main/proto/private/rules/proto_descriptor_set.bzl with the related tooling and test files. The only modifications are:

- Changed paths to match the organization of this repo
- Included constants directly in the test file instead of a separate header in a separate directory.

Closes #19647

Closes #23369

COPYBARA_INTEGRATE_REVIEW=#23369 from SpencerC:proto_descriptor_set 24b517b
FUTURE_COPYBARA_INTEGRATE_REVIEW=#23369 from SpencerC:proto_descriptor_set 24b517b
PiperOrigin-RevId: 813766298
@copybara-service copybara-service bot closed this in 8d4dfdd Oct 2, 2025
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.

proto_descriptor_set Bazel rule missing

5 participants