bug-hurd
[Top][All Lists]
Advanced

[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: Thu, 2 Jul 2009 23:05:50 +0200
User-agent: Mutt/1.5.11

Hello!

On Thu, Jun 18, 2009 at 03:02:41PM +0200, I wrote:
> On Tue, Apr 28, 2009 at 12:39:48AM +0200, I wrote:
> > 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: [...]
> > 
> > Any objections?
> 
> There was a bit of support, and no objections, so that is it; see section
> ``Commit messages'' on
> <http://www.gnu.org/software/hurd/rules/source_repositories.html>.

The sequel to that is that I intend to install the equivalent of the
following on every branch that was converted from CVS to Git -- in short:
replace every ChangeLog file's content with information about how to get
back its former content, and that later in time the Git commit messages
are correct.  Then, for doing releases (that is, any kind of *snapshot*
that does not include the whole VCS history), some magic machinery will
serialize all history back into ChangeLog files.  Does that seem alright?

diff --git a/ChangeLog b/ChangeLog
dissimilarity index 99%
index edb4a89..532a4df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6329 +1,8 @@
-2009-02-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
-
-       * i386/i386/prog_reg.h (invlpg_linear): Rename macro into...
[...]
Tue Feb 25 15:42:23 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
-
-       * i386/Makefrag (INCLUDES): Find `include' directory in new
-       location.
-       * Makefile (INCLUDES): Find `include' directory in new location.
-       (%.symc): Find gensym.awk in new location.
-
-       * Reorganized directories into new layout and unified mach4 and
-       mach4-i386 into a single tree.
-
-
-Older changes in ChangeLog.00 (for i386 directory) and ChangeLog.0 (for
-all other files).
+After commit e227045b06d62ee7d2fbab9d5ade9030ff43170b, Git's commit messages
+are valid.
+
+To examine earlier changes use this:
+
+    $ git show e227045b06d62ee7d2fbab9d5ade9030ff43170b:ChangeLog
+    $ git show e227045b06d62ee7d2fbab9d5ade9030ff43170b:ChangeLog.0
+    $ git show e227045b06d62ee7d2fbab9d5ade9030ff43170b:ChangeLog.00
diff --git a/ChangeLog.0 b/ChangeLog.0
deleted file mode 100644
index 2ef943a..0000000
--- a/ChangeLog.0
+++ /dev/null
@@ -1,721 +0,0 @@
-Wed Feb 12 16:22:07 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
[...]
diff --git a/ChangeLog.00 b/ChangeLog.00
deleted file mode 100644
index 553b5fe..0000000
--- a/ChangeLog.00
+++ /dev/null
@@ -1,858 +0,0 @@
-Wed Feb 19 15:51:34 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
[...]


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

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