ANNOUNCE: git2cl

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

ANNOUNCE: git2cl

From: Simon Josefsson <hidden>
Date: 2016-06-15 22:42:57

Hi!  I really need proper GNU ChangeLog functionality for my projects,
so I ended up writing my own script to do this in Perl.  Below is the
README, but you can find more information at:

http://josefsson.org/git2cl/

I push my changes to:

http://repo.or.cz/w/git2cl.git

I've enabled so that the 'mob' user can apply changes, so feel free to
improve on it if you like.

/Simon

git2cl
======

This is a quick'n'dirty tool to convert git logs to GNU ChangeLog
format.

The tool expects output from 'git --pretty --numstat --summary' on
stdin.  Thus, typically you would use it as follows:

...........................................................................
jas@mocca:~/src/libtasn1$ git log --pretty --numstat --summary | ~/src/git2cl/git2cl > ChangeLog
jas@mocca:~/src/libtasn1$
...........................................................................

The output format is specified by:

link:http://www.gnu.org/prep/standards/html_node/Change-Logs.html[]

In the future, git2cl may be modified to run this command itself,
similar to how cvs2cl works.

My inspiration for writing this tool was the
link:http://www.red-bean.com/cvs2cl/[cvs2cl] tool, which I am using in
several projects.  Replacing it is a necessary condition for me to
seriously consider switching from CVS to GIT for my projects.

Currently, git2cl lacks much of the flexibility in git2cl.  Sheesh,
git2cl doesn't even have command line parameters!

The canonical home page for git2cl is:
link:http://josefsson.org/git2cl/[] and its repository can be found at
link:http://repo.or.cz/w/git2cl.git[].

Support
-------

Try talking to mailto:simon@josefsson.org[Simon Josefsson].

Re: ANNOUNCE: git2cl

From: Andreas Herrmann <hidden>
Date: 2016-06-15 22:42:57

On Fri, Mar 02, 2007 at 10:03:09AM +0100, Simon Josefsson wrote:
Hi!  I really need proper GNU ChangeLog functionality for my projects,
so I ended up writing my own script to do this in Perl.  Below is the
README, but you can find more information at:

http://josefsson.org/git2cl/

Hi,

Just for your interest ...
I downloaded git2cl version as of 02-Mar-2007 09:58, gave it a try and
received the following (while running the script for an current git
tree):



  #> git log --pretty --numstat --summary | ~/git2cl
  2007-02-28  Junio C Hamano [off-list ref]

          * : Add recent changes to draft 1.5.1 release notes.



  Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday =
  -1, yday = -1, isdst = -1)
     at git2cl line 257, <> line 20.

So it seems that your script needs some improvement.


Regards,

Andreas

Re: ANNOUNCE: git2cl

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:58

Simon Josefsson wrote:
Hi!  I really need proper GNU ChangeLog functionality for my projects,
so I ended up writing my own script to do this in Perl.  Below is the
README, but you can find more information at:

http://josefsson.org/git2cl/

I push my changes to:

http://repo.or.cz/w/git2cl.git

I've enabled so that the 'mob' user can apply changes, so feel free to
improve on it if you like.
I have added  note about git2cl at Git wiki, at
  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#git2cl

Please do review, and correct errors (if any). TIA.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help