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

allow subtree merge commits #6

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Apr 18, 2024

Problem: The PR validator rejects PRs that have incorporated third party repos with git subtree due to the use of subtree merge commits, which are merge commits, have no body, and the subject will typically exceed the hard limit of 70 characters.

Add a new function for detecting subtree merge commits by looking for the pattern Merge commit .* as .*, which appears to be specific to subtree merges. Then, use this function to special case all the problem areas above so that subtree merges (and hopefully only subtree merges) are allowed.

Problem: The PR validator rejects PRs that have incorporated third
party repos with `git subtree` due to the use of subtree merge commits,
which are merge commits, have no body, and the subject will typically
exceed the hard limit of 70 characters.

Add a new function for detecting subtree merge commits by looking for
the pattern `Merge commit .* as .*`, which appears to be specific to
subtree merges. Then, use this function to special case all the problem
areas above so that subtree merges (and hopefully only subtree merges)
are allowed.
Copy link
Member

@trws trws left a comment

Choose a reason for hiding this comment

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

LGTM!

@grondo
Copy link
Contributor Author

grondo commented Apr 18, 2024

I don't think we ever bothered to add mergify here, so want to just press the button @trws?

@trws trws merged commit d1f33db into flux-framework:master Apr 18, 2024
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