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

Use ruby_package proto option #87

Merged
merged 3 commits into from
Jul 11, 2023

Conversation

pwelch
Copy link
Member

@pwelch pwelch commented Jul 10, 2023

Summary

This fixes the Ruby module names generated from the proto files by using the option ruby_package=. Setting these allows for more idiomatic Ruby class naming within the namespace Sigstore::.

Release Note

  • There is a breaking change in the Ruby class names. All Ruby class references will be in the Sigstore:: namespace now. Please reference the generated Ruby files for the new class names.

Documentation

This fixes the Ruby module names generated from the proto files
by using the `option ruby_package=`. Setting these allows for
more idiomatic Ruby class naming within the namespace `Sigstore::`.

Signed-off-by: Paul Welch <pwelch@github.com>
Signed-off-by: Paul Welch <pwelch@github.com>
Regenerate proto files by using `make all` after updating
Ruby class names.

Signed-off-by: Paul Welch <pwelch@github.com>
Copy link
Collaborator

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

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

That's strange that it required updating all generated files, but I don't see anything problematic.

@pwelch
Copy link
Member Author

pwelch commented Jul 10, 2023

That's strange that it required updating all generated files, but I don't see anything problematic.

@haydentherapper Agreed. I assumed only the Ruby generated code would need to be updated but it looks like it updates something in several of the generated files?

@haydentherapper haydentherapper merged commit d181467 into sigstore:main Jul 11, 2023
24 checks passed
@pwelch pwelch deleted the add-option-ruby-package branch July 11, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants