onwards to git

Jim Meyering jim@meyering.net
Tue Jun 9 13:08:00 GMT 2009


Thomas Schwinge wrote:

> Hello Jim!
>
> On Fri, May 22, 2009 at 12:27:09PM +0200, I wrote:
>> On Tue, May 12, 2009 at 04:15:17PM +0200, Jim Meyering wrote:
>> > Thomas Schwinge wrote:
>> > > On Mon, May 11, 2009 at 10:49:32PM +0200, Jim Meyering wrote:
>> > >> I've converted the trunk and all branches, filtering
>> > >> to aggregate commits, and cleaning up by removing empty commits
>> > >> and applying heuristics to use reasonable commit messages
>> > >> derived from ChangeLog entries.
>> > >
>> > > This indeed looks very nice in the vast majority of cases!  I'm sure
>> > > there are a number of people who are interested in seeing the scripts and
>> > > techniques you used.  I am, for sure.  :-)
>> >
>> > Thanks for the feedback!
>> >
>> > I'll post the scripts, of course ;-)
>> > If I don't do it this week it's because I forgot or didn't
>> > find the time, so a ping would be welcome.
>>
>> Ping.  :-)
>
> I don't want to trouble you too much, but I would be thankful already if
> you could simply hand me over the script you used for the post-conversion
> cleanup and commit accumulation.

Hi Thomas,
Thanks for the prod.

Here are three scripts:
[definitely not production quality.
 I wanted to clean them up before publishing, but if I wait
 to find time for that, it may never happen, so... ]

git-log-munge: a helper script invoked by glibc-reconstruct-commits

glibc-reconstruct-commits: based on a script by Paolo Bonzini.  I used this
  to aggregate commits on the "master" branch of a
  just-cvs-to-git-converted glibc.git repository.
  However, doing that unhooked all branches and tags from master...

tag-restore: reconnect those branches and tags
  (caveat, note: contains hard-coded paths)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: git-log-munge
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090609/48725707/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glibc-reconstruct-commits
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090609/48725707/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tag-restore
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090609/48725707/attachment-0002.ksh>


More information about the Libc-alpha mailing list