From: Matt Armstrong <matt@rfc20.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>, Eli Zaretskii <eliz@gnu.org>
Cc: Thien-Thi Nguyen <ttn@gnuvola.org>, emacs-devel@gnu.org
Subject: Re: File names in ChangeLog entries
Date: Thu, 02 Dec 2021 08:59:25 -0800 [thread overview]
Message-ID: <87tufr0wpe.fsf@rfc20.org> (raw)
In-Reply-To: <jwvk0gogi5b.fsf-monnier+emacs@gnu.org>
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> For the record the problem for me is the following: I read the
> `emacs-diffs` mailing-list but I don't read all the messages. I
> filter them based on the Subject, and having some idea of which part
> of the code is affected is a crucial information for me to decide
> whether I should look at the patch.
Stefan, since your use case is reasonable, I wonder if there are
approaches not yet discussed that could satisfy it?
Point being, we're only discussing one possible approach to satisfying
your need, in a way that current guidance to change, asks people to
change habbits, and in a way that asks people to include arguably
redundant, but also largely mechanically defined, information in their
hand written commit messages.
So, two ideas:
A) Change CONTRIBUTE guidance slightly.
Today all we say is "Start with a single unindented summary line
explaining the change" but we don't describe what a good explanation is.
The current example is "Deactivate shifted region", which answers "what"
but not "where". It could just as easily be "Deactivate region in newly
selected windows"
Point is not to satisfy the letter of what you're asking for, but to
suggest that the subject line should answer what the change is doing
and, if space available, where it applies.
B) Add tooling to generate a succinct "subsystem" description from a git
commit.
Case in point: the GNU ChangeLog format is bearable today because
tooling (partially) supports generating it. Why not look at tooling for
this job too?
If we could come up with an algorithm that takes a git commit (staged or
already commited) and describes the "subsystem" (or subsystems) that are
touched, then:
- we are forced to clearly describe what the "subsystem" description
should look like (so far, "functions/files" is what Stefan's has aked
for, but I suspect this guideline quickly breaks down for larger
commits).
- even if the commit message conventions remain the same, it becomes
almost trivial to produce a log of succinct "[subsystem(s)]: [summary
line]" descriptions,
- and even concievable that the `emacs-diffs` list could use this in
its subject lines.
- ...or this subsystem description logic could be applied to commits
in the past...
For what it is worth, I skimmed the most recent 100 or so emacs commit
messages and noticed two things:
- I could already tell which "subsystem" was touched for most of the
commits.
- I thought that Lars' subject lines struck a nice balance (for me)
between reading like English but also covering the questions of
"what" and "where."
next prev parent reply other threads:[~2021-12-02 16:59 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-30 19:19 File names in ChangeLog entries Stefan Kangas
2021-11-30 20:07 ` Philip Kaludercic
2021-11-30 22:01 ` Philipp Stephani
2021-11-30 23:24 ` Stefan Kangas
2021-12-01 3:24 ` Eli Zaretskii
2021-11-30 23:56 ` Andreas Schwab
2021-12-01 3:26 ` Eli Zaretskii
2021-11-30 23:16 ` Stefan Monnier
2021-11-30 23:55 ` Stefan Kangas
2021-12-01 3:32 ` Eli Zaretskii
2021-12-01 3:29 ` Eli Zaretskii
2021-12-01 13:39 ` Stefan Monnier
2021-12-01 13:52 ` Eli Zaretskii
2021-12-01 16:51 ` Stefan Monnier
2021-12-01 17:02 ` Eli Zaretskii
2021-12-01 17:28 ` Karl Fogel
2021-12-01 18:46 ` Stefan Monnier
2021-12-01 19:12 ` Eli Zaretskii
2021-12-01 19:22 ` Thien-Thi Nguyen
2021-12-01 19:32 ` Eli Zaretskii
2021-12-01 20:49 ` Thien-Thi Nguyen
2021-12-02 6:37 ` Eli Zaretskii
2021-12-01 21:03 ` Stefan Monnier
2021-12-01 21:50 ` Stefan Kangas
2021-12-01 22:21 ` Stefan Monnier
2021-12-01 23:14 ` Stefan Kangas
2021-12-02 6:43 ` Karl Fogel
2021-12-02 7:10 ` Stefan Monnier
2021-12-02 9:12 ` Juri Linkov
2021-12-02 10:08 ` Eli Zaretskii
2021-12-02 21:09 ` Stefan Monnier
2021-12-03 7:36 ` Eli Zaretskii
2021-12-03 12:57 ` Stefan Monnier
2021-12-03 13:06 ` Eli Zaretskii
2021-12-02 22:11 ` Karl Fogel
2021-12-02 11:02 ` Stefan Kangas
2021-12-03 2:43 ` Karl Fogel
2021-12-02 7:12 ` Eli Zaretskii
2021-12-02 7:34 ` Stefan Monnier
2021-12-02 8:33 ` Eli Zaretskii
2021-12-02 6:40 ` Eli Zaretskii
2021-12-02 16:59 ` Matt Armstrong [this message]
2021-12-01 6:11 ` Alfred M. Szmidt
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tufr0wpe.fsf@rfc20.org \
--to=matt@rfc20.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=ttn@gnuvola.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).