From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Mark Brown <broonie@sirena.org.uk>
Cc: Theodore Tso <tytso@mit.edu>, Andy Whitcroft <apw@canonical.com>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] checkpatch: Warn on empty commit log bodies
Date: Mon, 02 Mar 2009 16:15:49 +0100 [thread overview]
Message-ID: <49ABF825.1010501@s5r6.in-berlin.de> (raw)
In-Reply-To: <20090302131514.GC19744@sirena.org.uk>
Mark Brown wrote:
> On Sat, Feb 28, 2009 at 09:53:57PM -0500, Theodore Tso wrote:
>> Who's been complaining? I can certainly tell you I'll complain in the
>> opposite direction, but that's because it actually causes me more work
>
> Andrew Morton is one of them but not the only one. Like I say, I don't
> want to claim that my changelogs are always ideal here, it was mostly
> the specific language used that made me think of doing this.
As far as I have observed, akpm's (Cc'd now) complaints are about
patches whose impact or benefit etc. are insufficiently explained ---
which is an issue on a higher level than pure formalism. I believe I
too have seen the term "unchangelogged" (as you mentioned) in one of
those discussions but I associated lack of information with it rather
than a violation of a formalism.
I still say there are some straightforward changes which /can/ be well
explained in a single line (which would be the title line). Still, by
far the most changes, including several kinds of janitorial changes,
require more explanation than that. At which level a changelog should
start and how deep it should go is a rather subjective matter of course.
It is not trivial to give general advice on that, and it is impossible
to encode even simple tests for the quality of a changelog in a script
like checkpatch.
I for one am training how to write changelogs by the following methods:
0. I occasionally write some of course.
1. I intensively work with code written by other people long ago and
wonder why it came to be how it is. I look up when the code was
added or changed and try to make sense of the changelogs which were
provided at that time.
2. I write release notes for a subsystem (targeted primarily towards
users, secondarily towards developers) and use changelogs as primary
input for that.
3. I issue pull requests for new changes to be merged into the
mainline. These pull requests include a shortlog, plus extra
information if the shortlog is unable to give a good picture of
what the pull request is about. The ideal would be that the
shortlog says it all.
Nr. 1 especially trains to avoid lack of detail. Nr. 2 and 3 train to
not forget the high-level viewpoint and to aim for clear language. (I
am not sure about the success of this training though. ;-)
--
Stefan Richter
-=====-==--= --== ---=-
http://arcgraph.de/sr/
next prev parent reply other threads:[~2009-03-02 15:17 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 18:05 Mark Brown
2009-02-28 13:58 ` Stefan Richter
2009-02-28 15:58 ` Mark Brown
2009-02-28 16:14 ` Stefan Richter
2009-02-28 16:46 ` Mark Brown
2009-02-28 17:33 ` Stefan Richter
2009-02-28 17:52 ` Mark Brown
2009-02-28 19:25 ` Stefan Richter
2009-02-28 21:02 ` Mark Brown
2009-02-28 23:01 ` Stefan Richter
2009-03-01 0:18 ` Theodore Tso
2009-03-01 0:46 ` Mark Brown
2009-03-01 2:53 ` Theodore Tso
2009-03-02 13:15 ` Mark Brown
2009-03-02 15:15 ` Stefan Richter [this message]
2009-03-02 16:01 ` Mark Brown
2009-03-02 18:01 ` Andrew Morton
2009-03-02 18:24 ` Mark Brown
2009-03-02 18:34 ` Andrew Morton
2009-03-02 18:43 ` Theodore Tso
2009-03-02 19:19 ` Mark Brown
2009-03-02 19:57 ` Theodore Tso
2009-03-02 20:38 ` Mark Brown
2009-03-10 18:19 ` Andy Whitcroft
2009-02-28 17:40 ` Arjan van de Ven
2009-02-28 17:47 ` Mark Brown
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=49ABF825.1010501@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=akpm@linux-foundation.org \
--cc=apw@canonical.com \
--cc=broonie@sirena.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@mit.edu \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome