[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving to git

From: Thomas Schwinge
Subject: Re: Moving to git
Date: Tue, 28 Apr 2009 00:39:48 +0200
User-agent: Mutt/1.5.11


A bit of a status update.

The CVS to Git conversion is mostly finished.

There are still some quirks with converting the
gnumach-1-branch-Xen-branch, but I'm working on resolving these with the
help of the conversion program's author, Simon 'corecode' Schubert, whose
fromcvs / rcsparse combo I finally ended up using, by the way.

Here is one additional topic I want to confirm with you all before
committing it: the duplication of ChangeLog snippets and commit log
messages is a pain.  However, it is not mandatory to maintain ChangeLog
files in the VCS sources -- it's fine with the GNU Coding Standards to
only create ChangeLog files for distribution tarballs (where one doesn't
have access to the VCS logs anymore).  GNU Coreutils is already using
this scheme, and I got it confirmed on the GNU-internal maintainers'
mailing list that this is indeed fine.  When needed, the ChangeLog files
would be created automatically from the VCS commit messages.  (We can
steal all the mechanisms from GNU Coreutils.)

Commit messages would then have this mandatory format:

    One-line summery.
    Blank line.
    ChangeLog-like list of changes, but without leading tabs.

The header line of each ChangeLog (DATE NAME EMAIL) snippet will also be
stripped off of the commit message, and instead the author and committer
of a change, together with the dates, will be maintained natively by Git.


    commit 3054767a46e0142cacef895c13edb4391435c722
    Author:     Gianluca Guida <glguida@gmail.com>
    AuthorDate: Thu Jun 30 18:49:55 2005 +0000
    Commit:     Gianluca Guida <glguida@gmail.com>
    CommitDate: Thu Jun 30 18:49:55 2005 +0000
        Frobnicate the foo.
        * frob.c (foo): Frob it.
        * oldfoo.c [OLD] (oldfoo): Likewise.
        [OLD_OLD_FOO] (oofoo): Permute every second word with itself, and
        beginning with the tenth line, every third one also.  Pure

The indentation here is only for readability, but not in the actual
commit messages.

Any objections?


Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]