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

Generate java client for proto at build #674

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Apr 5, 2024

Stop using pre-generated protobuf client libraries, just use the proto files directly when generating clients. This allows us to update proto-gen versions without worrying about conflicts (We were geneating client for fulcio.proto locally while using pre generated proto clients for protobuf-spec)

A followup to this will be to remove the generator from https://github.com/sigstore/protobuf-specs and only publish the .proto files in a jar.

Also supersedes #669

@loosebazooka loosebazooka force-pushed the protobuf-spec-gen-at-client branch from 5ecc9ed to 119dcf9 Compare April 5, 2024 17:26
haydentherapper
haydentherapper previously approved these changes Apr 5, 2024
@loosebazooka loosebazooka force-pushed the protobuf-spec-gen-at-client branch 6 times, most recently from 38b27b2 to 9e3ed29 Compare April 6, 2024 00:48
Stop using pre-generated protobuf client libraries, just
use the proto files directly when generating clients.
This allows us to update proto-gen versions without
worrying about conflicts.

Signed-off-by: Appu Goundan <[email protected]>
@loosebazooka loosebazooka force-pushed the protobuf-spec-gen-at-client branch from 9e3ed29 to c3b2160 Compare April 8, 2024 17:57
@loosebazooka
Copy link
Member Author

I think fuzzing instrumentation is broken on protobuf 4, we'll just have to leave it broken while we figure it out. This PR should still go in though.

@loosebazooka loosebazooka merged commit 8bd98de into main Apr 8, 2024
14 of 15 checks passed
@loosebazooka loosebazooka deleted the protobuf-spec-gen-at-client branch April 8, 2024 18:57
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.

2 participants