[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: git-changelog package?
From: |
Bruno Haible |
Subject: |
Re: git-changelog package? |
Date: |
Tue, 25 May 2010 11:12:13 +0200 |
User-agent: |
KMail/1.9.9 |
Hi Simon,
> Good idea, and, yes!
OK, with your and Jim's consent, I've requested the creation of the project on
Savannah. Name: 'git-changelog'. We should ask for it to become a GNU project
later.
> I would have offered git2cl as a GNU project
> already unless it contained code from cvs2cl. The code is easy to
> isolate though.
Yes, that would be good, to be claim copyright on 100% of the code.
For the initial code review of Savannah I've only included Jim's and
my code for now.
> git2cl and gitlog-to-changelog are written in Perl, and that would be
> fine with me for a new tool. Your git-merge-changelog driver is written
> in C, but that feels like a poor language for something that is mostly
> text reformatting?
git-merge-changelog needs to be fast. When you have to rebase a series
of 30 patches, each step should take 1 second at most. You can spend
0.5 seconds on the ChangeLog file. So, the input are 3 files of ca. 2 MB
size, and you need it processed intelligently in 0.5 seconds. I don't
think Perl gives you this speed. (Jim's gitlog-to-changelog program
needs ca. 0.8 seconds to reformat the 1.5 MB of "git log" output. With
6 MB of input and more intelligent processing, I guess you cannot get
away with less than 5 seconds.)
Besides that, I won't write or maintain any Perl code.
Bruno