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

manual: Update commit message format #89536

Closed
wants to merge 1 commit into from

Conversation

SRGOM
Copy link
Member

@SRGOM SRGOM commented Jun 5, 2020

Motivation for this change

As suggested by @danbst in #83280 (comment), start a convention for commit message format for breaking commits. Implemented here- #89198

@@ -77,6 +77,11 @@ Additional information.
<command>firefox: 54.0.1 -> 55.0</command>
</para>
</listitem>
<listitem>
<para>
<command>onedrive: 2.3.13 ->! 2.4.2 (Notice the exclamation mark to be used when an update requires user intervention</command>
Copy link
Member

Choose a reason for hiding this comment

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

I personally think that this syntax rather weird to read. How about sth like this: package: 1.0.0 -> 2.0.0 (breaking) (including further explanation in the release-notes and/or the commit-message)?

Apart from that, I'd suggest to gain more community feedback on this by e.g opening a Discourse thread.

@@ -59,7 +59,7 @@
Format the commit in a following way:
</para>
<programlisting>
(pkg-name | nixos/&lt;module>): (from -> to | init at version | refactor | etc)
(pkg-name | nixos/&lt;module>): (from -> to | from ->! breaking_update_to | init at version | refactor | etc)
Copy link
Member

Choose a reason for hiding this comment

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

Don't mix tabs and spaces.

@stale
Copy link

stale bot commented Jul 21, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 21, 2021
@Mindavi
Copy link
Contributor

Mindavi commented Apr 25, 2022

I like the intention, but this syntax is indeed weird. These days we have a section in the PR template asking to write release notes for breaking changes, I think that's sufficient for now. I know it's not perfect, but it's called unstable for a reason if you're following that.

I'll let someone else pick this up if they still find this valuable. For now I don't see much reason to keep it open.

@Mindavi Mindavi closed this Apr 25, 2022
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.

None yet

5 participants