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

Add Java bindings #205

Merged
merged 1 commit into from
Apr 28, 2023
Merged

Add Java bindings #205

merged 1 commit into from
Apr 28, 2023

Conversation

adityasaky
Copy link
Member

@adityasaky adityasaky commented Apr 26, 2023

Fixes #173

@adityasaky adityasaky requested a review from a team as a code owner April 26, 2023 19:10
Copy link
Contributor

@marcelamelara marcelamelara left a comment

Choose a reason for hiding this comment

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

Thank you @adityasaky ! Could you please add a java/README in this style ?

@adityasaky
Copy link
Member Author

Updated with java_package as well. I'm not a Java person per se, so I hope someone can help me figure out what the package structure should look like.

@TomHennen
Copy link
Contributor

I thought we didn't like using io.intoto since intoto.io is owned by some other company? Can you use 'io.in-toto' or 'io.in_toto'?

@adityasaky
Copy link
Member Author

True, but I believe there are best practices concerns as well. I took a look at in-toto-java along the way. @Alos perhaps you could help out too?

@marcelamelara
Copy link
Contributor

marcelamelara commented Apr 27, 2023

+1 to Tom's comment about the io.intoto package namespace. Looks like in-toto-java uses the io.github.intoto namespace (per these docs)? Should probably be consistent with that.

@adityasaky
Copy link
Member Author

Updated the package name.

Copy link
Contributor

@marcelamelara marcelamelara left a comment

Choose a reason for hiding this comment

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

Thanks for the updates! I have one more docs-related request: Can you please update protos/README.md to add java?

Signed-off-by: Aditya Sirish <[email protected]>
@adityasaky
Copy link
Member Author

Done.

Copy link
Contributor

@TomHennen TomHennen left a comment

Choose a reason for hiding this comment

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

Thanks!

@marcelamelara marcelamelara merged commit a20a260 into in-toto:main Apr 28, 2023
@adityasaky adityasaky deleted the java-bindings branch April 28, 2023 15:39
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.

Add pre-generated Java bindings for protobufs
3 participants