-
Notifications
You must be signed in to change notification settings - Fork 3
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
Custom commit messages: sentence casing and bz keywords #38
Comments
Hi, thanks for reporting this feedback Do you have any concrete examples? Let me think a little on this, certainly I agree the Closes/Fixes keywards are important I guess. |
No I was importing a new package.
And I got that commit message:
What I usually do is :
That format will automatically close the bug for updates too. So I wish to be able to customize them. I haven't tested |
Are these bz keywords documented somewhere? |
I would like to understand how those keywords work in Fedora infra before proceeding |
Carl George pointed me at https://fedora-infra.github.io/bodhi/7.2/user/automatic_updates.html#fedora-linux-specific-regex |
Let me start addressing this with a small tweak then, which should help automatic updates for %autochangelog. For non-%autochangelog this would require an appropriate %changelog message of course |
This should cause them to get picked up for autochangelog automatic updates: see https://fedora-infra.github.io/bodhi/7.2/user/automatic_updates.html#fedora-linux-specific-regex
I released 1.3.3 with this tweak |
@eclipseo did that help at all? I suppose I can capitalize the commit message too - I personally tend not to do that, but I get it is more readable |
In 1.5.1 I endeavor to sentence-case commit/changelog messages generated by fbrnch. I am a little wary of forcing it onto user-provided messages. |
Hi,
I'm not really keen on the current commit messages, either for import or updates. They are not capitalised and they don't include the correct format for bug numbers (Close: rhbz#XXXXXX, Closes: rhbz#XXXXXX, Fix: rhbz#XXXXXX, Fixes: rhbz#XXXXXX).
How can I customize them?
The text was updated successfully, but these errors were encountered: