|
CVS
Using Gource with CVS projects
Using Gource with CVS projectscvs2clcvs2cl is script that converts CVS log output into more useful formats, including XML, which Gource is able to read as of version 0.29: cd my-cvs-project cvs2cl --chrono --stdout --xml -g-q > my-cvs-project.xml gource my-cvs-project.xml cvs-expNOTE: support for cvs-exp is deprecated. cvs-exp.pl is a tool which converts the CVS log output into a more conventional changes grouped together into chronological order that Gource knows how to read. Assuming cvs-expl.pl is installed (and you have perl), you can generate a log from your CVS project and run in Gource by doing the following: cd my-cvs-project cvs-exp.pl -notree > my-cvs-project.log gource my-cvs-project.log |
► Sign in to add a comment
Could you post another location of cvs-exp? Because current link is broken.
I've updated the link to a locally hosted copy of the script. Thanks for pointing that out.
Take two:
In Windows I had to:
I'm getting an error when I try to run gource on my cvs log.
gource: unsupported log format (you may need to regenerate your log file)
I downloaded cvs-exp from here, and I ran the command you stated above:
cvs-exp.pl -notree > logfile
Here's a sample of the logfile I get:
I'm using version 0.26 of gource and the cvs-exp.pl from this site. Any ideas?
This script almost consumed my whole system memory. Be careful when running against a very big and old repository.
chrelad: normally there's a line with a 6 digit 'changeset' number (eg 000000:) before each commit, which doesn't appear in your log for some reason. Feel free to raise a bug.
I can't seem to get CVS logs converted with cvs-exp.pl to work. I've tried maximzhao change to the script and dos2unix on the output, but still get the following..
gource: unsupported log format (you may need to regenerate your log file) Try 'gource --help' for more information.
Exmaple file with private stuff removed:
Hi Chris.
There seem to be a couple problems. The backslash in the 'author:' names (though possibly that is just an artifact of pasting it here) and the lack of a 'lines: +N -N' entry on your first commit, which Gource assumes is there, though in fact doesn't do anything with it so I can probably just remove that check in the next version.
Cheers
Andrew