unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: <libc-alpha@sourceware.org>
Subject: Re: Update copyright dates not handled by scripts/update-copyrights [committed]
Date: Mon, 2 Jan 2017 13:45:37 +0000	[thread overview]
Message-ID: <alpine.DEB.2.20.1701021333390.28945@digraph.polyomino.org.uk> (raw)
In-Reply-To: <0d577e78-86dc-5c4d-7afc-f4ff6e3a5eb9@redhat.com>

On Sun, 1 Jan 2017, Florian Weimer wrote:

> On 01/01/2017 01:27 AM, Joseph Myers wrote:
> > I've updated copyright dates in glibc for 2017.  This is the patch for
> > the changes not generated by scripts/update-copyrights and subsequent
> > build / regeneration of generated files.
> 
> Could we rotate the ChangeLog file, too, please?

ChangeLog rotation was previously objected to in 
<https://sourceware.org/ml/libc-alpha/2013-06/msg00305.html>.

What I think we should now aim for regarding ChangeLogs - not during a 
freeze apart maybe from the first step - is:

1. Move libidn/ChangeLog to ChangeLog.libidn, localedata/ChangeLog to 
ChangeLog.localedata, stop using separate ChangeLogs for those 
subdirectories and just put everything in the toplevel ChangeLog.

2. Develop conventions for embedding ChangeLog entries in git commit 
messages to support automatic ChangeLog generation.  Develop a script to 
be run from the pre-receive hook that rejects master and release branch 
updates unless they have a properly formatted ChangeLog entry following 
those conventions in their commit messages for each pushed commit (or 
follow appropriate conventions for indicating a commit that deliberately 
does not have a ChangeLog entry).  Develop a script that updates ChangeLog 
with the messages for all commits since that script was last run.

3. Declare a flag day, at which ChangeLog is renamed to ChangeLog.18 and 
future commits do not add entries to ChangeLog except as a result of 
running that script.

4. As the last commit before a release is tagged, the script would be run 
to update ChangeLog and the results committed, so that releases can 
continue to be built with "git archive".  In addition, if a mistake or 
omission in a ChangeLog entry in a past commit message is to be corrected, 
the approach would be to run the script, commit the results, then edit the 
resulting ChangeLog content; this avoids the need for any on-the-side list 
of edits to ChangeLog entries.

Not needing to be done as part of the move to automatically generated 
ChangeLogs, but facilitated by it, would be arranging for patchwork to 
automatically mark patches committed when the git-patch-id of a commit is 
the same as that of a patch in patchwork (because it would become normal 
for a patch posted for review to be the same as the patch that gets 
committed).  This would reduce the extent to which patchwork fills up with 
patches that have in fact been committed, although manual work is still 
needed to deal with the backlog (both reviewing patches that need review, 
and updating entries for patches that have in fact been committed or 
superseded).

-- 
Joseph S. Myers
joseph@codesourcery.com


  parent reply	other threads:[~2017-01-02 13:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-01  0:27 Update copyright dates not handled by scripts/update-copyrights [committed] Joseph Myers
2017-01-01  7:22 ` Florian Weimer
2017-01-01  9:57   ` Mike Frysinger
2017-01-02 15:08     ` Torvald Riegel
2017-01-02 15:23       ` Joseph Myers
2017-01-02 15:42         ` Torvald Riegel
2017-01-02 17:19           ` Joseph Myers
2017-01-02 17:27             ` Joseph Myers
2017-01-02 18:03               ` Torvald Riegel
2017-01-02 17:55             ` Torvald Riegel
2017-01-02 18:01               ` Joseph Myers
2017-01-02 18:03             ` Torvald Riegel
2017-01-02 13:45   ` Joseph Myers [this message]
2017-01-02 13:55     ` Florian Weimer
2017-01-02 14:00       ` Joseph Myers
2017-01-02 15:50     ` Paul Eggert
2017-01-02 17:22       ` Joseph Myers
  -- strict thread matches above, loose matches on Subject: below --
2020-01-01  0:22 Joseph Myers
2019-01-01  0:16 Joseph Myers
2018-01-01  0:41 Joseph Myers
2016-01-04 16:27 Joseph Myers

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/libc/involved.html

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

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1701021333390.28945@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.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.
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).