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.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
0 Comments
oldest
newest
Boardcon Rockchip and Allwinner SoM and SBC products