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

Move protoc generation to binary crate (#5718) #5742

Merged
merged 5 commits into from
Mar 27, 2023

Conversation

l0kr
Copy link
Contributor

@l0kr l0kr commented Mar 26, 2023

Which issue does this PR close?

Closes #5718

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@tustvold
Copy link
Contributor

@l0kr
Copy link
Contributor Author

l0kr commented Mar 26, 2023

Could we get a CI check, similar to https://github.com/apache/arrow-rs/pull/3927/files#diff-7a5f24a0bed6232c2297eba93812cdaeb26327ba955eabc0a04effc21e95d52bR65

Should I create another yaml or add check to existing one?

@tustvold
Copy link
Contributor

I think adding it to https://github.com/apache/arrow-datafusion/blob/main/.github/workflows/rust.yml would make sense

uses: ./.github/actions/setup-builder
- name: Run gen
run: ./regen.sh
working-directory: ./datafusion/proto
Copy link
Contributor

Choose a reason for hiding this comment

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

This part shouldn't be necessary, as the script already handles this, but I suppose it can't hurt

@alamb
Copy link
Contributor

alamb commented Mar 27, 2023

I verified this works great -- #5760 (comment)

Thanks @tustvold and @l0kr

@alamb alamb merged commit dda2c20 into apache:main Mar 27, 2023
@@ -54,8 +54,3 @@ serde_json = { version = "1.0", optional = true }
[dev-dependencies]
doc-comment = "0.3"
tokio = "1.18"

[build-dependencies]
# Pin these dependencies so that the generated output is deterministic
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

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.

Move protoc generation to binary crate
3 participants