Skip to content

doc: add commit message guidelines to the dev guide #18657

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

Jafaral
Copy link
Member

@Jafaral Jafaral commented Apr 15, 2025

No description provided.

Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

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

What about using (we already did in the past, but reverted) https://github.com/FRRouting/frr/blob/master/.github/commitlint.config.js?

Copy link
Contributor

@mjstapp mjstapp 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 this - hopefully it'll be helpful!


- Must be no more than 72 characters
- Must be a complete sentnce that can be used when generating the release changelog
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe the real emphasis should be on a meaningful statement that can be used at release time to help produce a changelog. you could even say "help the release managers out ..." !

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a couple more bullet points to make this clearer.


- Must be separted from the tille by a blank line.
- Must be Wrapped to 72 characters, unless it is a sample output.
- Wrap sample output with a code format block (3 tickes line before and after)
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe "markdown syntax code block"
and "ticks" ?

@Jafaral Jafaral force-pushed the commit-msg-format branch 2 times, most recently from facb860 to eae21c5 Compare April 15, 2025 14:50
@Jafaral
Copy link
Member Author

Jafaral commented Apr 15, 2025

What about using (we already did in the past, but reverted) https://github.com/FRRouting/frr/blob/master/.github/commitlint.config.js?

Yes, I did see this and I think we should re-enable it once we settle on the formatting rules.

@riw777 riw777 self-requested a review April 15, 2025 15:20
@Jafaral Jafaral force-pushed the commit-msg-format branch from eae21c5 to 3bb2a11 Compare April 15, 2025 16:06
@Jafaral Jafaral force-pushed the commit-msg-format branch 3 times, most recently from 401d1ee to fc4cbf5 Compare April 18, 2025 14:56
@Jafaral Jafaral force-pushed the commit-msg-format branch from fc4cbf5 to 5d49e40 Compare April 18, 2025 14:58
@Jafaral
Copy link
Member Author

Jafaral commented Apr 18, 2025

rendered here

Copy link
Contributor

@mjstapp mjstapp left a comment

Choose a reason for hiding this comment

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

looks good, thanks for putting this together

Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

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

looks good

@mjstapp mjstapp merged commit 3dd4d41 into FRRouting:master Apr 29, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants