public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: "Németh Márton" <nm127@freemail.hu>
Cc: David Vrabel <david.vrabel@csr.com>,
	linux-usb@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	Julia Lawall <julia@diku.dk>,
	cocci@diku.dk
Subject: Changelog quality (was Re: [PATCH] uwb: make USB device id constant)
Date: Wed, 13 Jan 2010 15:59:39 +0100	[thread overview]
Message-ID: <4B4DDFDB.2000408@s5r6.in-berlin.de> (raw)
In-Reply-To: <4B4CAA15.4030200@freemail.hu>

Németh Márton wrote:
> David Vrabel írta:
>> Can you please not include this as part of the changelog in future?  You
>> may include it after the '---' if you wish.
> 
> It is common for patches generated by spatch that they include the SmPL
> which was used to generate the patch.
> See http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&a=search&h=HEAD&st=commit&s=%3Csmpl%3E
> 
> But you can leave it out, if you wish.

I for one agree with David that this does not belong into the change
log.  Other maintainers just don't care or disagree.

If it is commonly seen, then only because Julia started it that way and
others blindly mimic her changelogs without giving it any thought, and
because many committers didn't edit or reject that for one reason or
another --- e.g. commit volume and work flow.

When you write a changelog, keep your audience in mind:

  - Developers, distributors, advanced users want to learn what a new
    release brings.  (OK, this audience stops reading after the initial
    headline of a "make XYZ table constant" commit.  Which just means
    that all the rest of the changelog is fluff that can be omitted.)

  - Developers, maintainers etc. want to understand years later why the
    code is how it is.  (For them, a commit like that is sufficiently
    described by the headline as well.)

  - Reviewers and committers want to quickly see whether a submission
    is worthwhile and can work the way it is proposed.  (For them, a
    patch submission like this one is well described by the headline
    plus the hint that struct usb_driver.id_table is a const *.  BTW,
    the respective sentence in your changelog got the types wrong.)

The only people who may be interested in your find-and-replace macro are
those who write and use such macros themselves.  But for them, the more
appropriate source of information are the mailing lists and list
archives rather than the SCM's changelog.

The idea to note in the changelog with which editor or by which
find-and-replace macro a patch was generated is so way out there that it
is not even found as a negative example in "The Perfect Patch" section 4:
http://web.archive.org/web/20080722025711/http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt

End rant. :-)
-- 
Stefan Richter
-=====-==-=- ---= -==-=
http://arcgraph.de/sr/

  reply	other threads:[~2010-01-13 15:01 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12  7:49 [PATCH] uwb: make USB device id constant Németh Márton
2010-01-12 16:10 ` David Vrabel
2010-01-12 16:57   ` Németh Márton
2010-01-13 14:59     ` Stefan Richter [this message]
2010-01-13 15:38       ` Changelog quality (was Re: [PATCH] uwb: make USB device id constant) Julia Lawall
2010-01-13 17:06         ` Changelog quality Stefan Richter
2010-01-13 17:29           ` Alan Stern
2010-01-13 17:44             ` Greg KH
2010-01-13 18:04               ` Alan Stern
2010-01-13 19:52                 ` Greg KH
2010-01-14  5:24                   ` Németh Márton
2010-01-14  6:05                     ` Julia Lawall
2010-01-14  8:07                       ` Stefan Richter
2010-01-14  8:26                     ` Dmitry Torokhov
2010-01-13 19:19               ` Geert Uytterhoeven
2010-01-13 17:49             ` Bartlomiej Zolnierkiewicz
2010-01-13 18:22               ` Stefan Richter
2010-01-15  1:03         ` Changelog quality (was Re: [PATCH] uwb: make USB device id constant) Andy Isaacson
2010-01-15  8:13           ` Stefan Richter
2010-01-15  8:24             ` Changelog quality David Miller
2010-01-15  8:50               ` Stefan Richter
2010-01-15  8:54                 ` David Miller
2010-01-15  9:17                   ` Stefan Richter
2010-01-15  9:22                     ` David Miller
2010-01-15  9:43                       ` Julia Lawall
2010-01-15  9:49                         ` Pekka Enberg
2010-01-15 10:05                           ` Julia Lawall
2010-01-15 11:08                             ` Mark Brown
2010-01-15 12:06                               ` Julia Lawall
2010-01-15 12:44                                 ` Pekka Enberg
2010-01-15 13:10                                   ` Julia Lawall
2010-01-15 12:45                                 ` Stefan Richter
2010-01-15 12:52                                   ` Pekka Enberg
2010-01-15 13:39                                 ` Mark Brown
2010-01-15 16:49                                   ` SmPL scripts into build environment? (was: Changelog quality) Németh Márton
2010-01-18 10:58                                     ` SmPL scripts into build environment? Michal Marek
2010-01-18 11:22                                       ` Julia Lawall
2010-01-15 13:28                       ` Changelog quality Stefan Richter

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=4B4DDFDB.2000408@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=cocci@diku.dk \
    --cc=david.vrabel@csr.com \
    --cc=julia@diku.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=nm127@freemail.hu \
    /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