Skip to content

Add CI check for crates.io patches#1407

Open
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:ci/add-check-crates-patch
Open

Add CI check for crates.io patches#1407
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:ci/add-check-crates-patch

Conversation

@timsaucer
Copy link
Member

Which issue does this PR close?

Closes #1399

Rationale for this change

This PR will cause CI to fail for release candidates with release patches in this repository.

What changes are included in this PR?

Add CI script.
Add example section to Cargo.toml with comment

Are there any user-facing changes?

None, CI only

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@nuno-faria nuno-faria left a comment

Choose a reason for hiding this comment

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

LGTM. The CI on PRs will still run normally right?

# We cannot publish to crates.io with any patches in the below section. Developers
# must remove any entries in this section before creating a release candidate.
[patch.crates-io]
# datafusion = { git = "https://github.com/apache/datafusion.git", rev = "6713439497561fa74a94177e5b8632322fb7cea5" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this last line meant to be committed?

Copy link
Contributor

Choose a reason for hiding this comment

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

L98 is commented out. i assume it wont be parsed by tomllib 😄

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.

RFC: Should main be patched to latest datafusion periodically?

3 participants