all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Richard Sent <richard@freakingpenguin.com>
Cc: guix-devel@gnu.org
Subject: Re: Codifying/Documenting Guix commit message conventions?
Date: Fri, 28 Jun 2024 10:59:58 +0200	[thread overview]
Message-ID: <Zn57jkZi3M5wSeIS@jurong> (raw)
In-Reply-To: <87bk3mvvfy.fsf@freakingpenguin.com>

Hello,

thanks for bringing up the question!

Am Thu, Jun 27, 2024 at 07:04:49PM -0400 schrieb Richard Sent:
> Meanwhile in Guix commit messages, [foo] seems to be used to refer to a
> subset of a larger part [2]:
> From what I'm seeing, the GNU Changelog convention is to indicate
> subsets using <> [3].

I also just follow what I see in other commit messages; so probably some
of my (and other people's) commit messages are "wrong"...

We seem to use <> for a second level of subdivision after [].

> 1. Is this in fact a discrepency between the GNU ChangeLog format and
> Guix convention or am I missing something?

I think it is a difference.

> [fixes TROVE-...] blocks added to certain header lines. What other tags
> exist? There seems to be inconsistency here when referring to multiple
> CVEs. For example, when a fixes tag references multiple CVEs you can
> find.
> 
> [fixes CVE-2020-10700, CVE-2020-10704]  [5]
> [fixes CVE-2020-3898 & CVE-2019-8842]   [6]
> [fixes CVE-2023-{28755, 28756}]         [7]

This probably happens rarely enough that no single convention has
mendelled out yet.

> I'm happy to write up documentation on best practices, but I figure a
> general post on guix-devel is a good idea to make sure nothing's missed.

From my point of view, it would be nice if you could try to come up with
a set of rules that capture the observed practice, and propose a patch to
add them as a section to the manual (somewhere in the chapter that speaks
about contributing).

Andreas



  reply	other threads:[~2024-06-28  9:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27 23:04 Codifying/Documenting Guix commit message conventions? Richard Sent
2024-06-28  8:59 ` Andreas Enge [this message]
2024-06-29  1:11 ` Maxim Cournoyer
2024-06-29  1:42   ` Richard Sent
2024-06-29  6:51   ` Liliana Marie Prikler
2024-06-30  1:11     ` Maxim Cournoyer
2024-06-30  6:25       ` Liliana Marie Prikler
2024-07-01 14:14         ` Maxim Cournoyer
2024-07-01 22:17           ` Richard Sent
2024-07-02  2:20             ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zn57jkZi3M5wSeIS@jurong \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=richard@freakingpenguin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.