This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Finishing the repository conversion
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Eric S. Raymond" <esr at thyrsus dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 11 Dec 2017 22:02:37 +0000
- Subject: Re: Finishing the repository conversion
- Authentication-results: sourceware.org; auth=none
- References: <20171210044534.BF11713A6834@snark.thyrsus.com>
On Sat, 9 Dec 2017, Eric S. Raymond wrote:
> One thing my software can do now that it couldn't do six months ago
> is mine Author fields from ChangeLog histories. So you'll get a
> better-quality conversion than if I had been able to finish this then.
Observations from the code for doing this, without having run experiments:
* As I understand it, it sets an author date for a commit based on the
ChangeLog date, as well as setting the commit author (separate from the
committer which I presume remains as converted by the author map). I'd be
very wary of that giving good information; in general I think copying the
committer date to the author date is probably better. People writing
ChangeLog entries manually often get the date very wrong - maybe a
completely wrong year (20017-12-11), maybe the previous year (2017-01-01
when it's actually 2018-01-01), maybe the wrong month, maybe swap month
and date. The previous discussions on the gcc list had some people
wanting better author attributions based on ChangeLog entries; I don't
think anyone was expecting anything useful to come from dates in
ChangeLogs.
* There's an older ChangeLog style that the code doesn't handle but which
can be found in older GCC commits, with header lines such as:
Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
This format sometimes has the email address surrounded by (), sometimes by
<>. There are a few log entries with a hybrid of old and new forms, where
there is a yyyy-mm-dd date but an email address surrounded by ().
--
Joseph S. Myers
joseph@codesourcery.com