How to Generate CVS Changelog Automatically

There is a perl script called cvs2cl.pl provided by Red-Bean
You can get the latest version thru cvs:

cvs -d :pserver:[email protected]:/usr/local/cvs co cvs2cl/cvs2cl.pl

Copy the script in a directory that belong to the path e.g.:

cp cvs2cl.pl /usr/local/bin

Then just checkout your project and run cvs2cl.pl to generate a ChangeLog that will look like:

2010-01-18 developer1

* app/cnxapp/Makefile: Added support for SMP8652 target

2010-01-17 developer2

* app/cnxapp/cnx_download.c: Added HTTP resume support
[Bug 1250]: Fixed potential buffer overflow

where developer1 and developer2 are the linux usernames of the developers, app/cnxapp/Makefile, app/cnxapp/cnx_download.c the files that have been modified, and the comments correspond to the messages input during cvs commit.

cvs2cl.pl also have other options such as XML output, date selection etc…
Just type cvs2cl.pl –help to get the full options.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

Leave a Reply

avatar
  Subscribe  
Notify of