How do I generate my own CVS release notes?

Is there a way I can generate Development Notes at my home site from CVS? The viewcvs browser is fantastic, but I’d like to see, e.g. all release notes from the last 22 days… Thanks in advance,
Ed Oltman

Hi Ed,
have a look at cvs2cl [www.red-bean.com], with an example here [www.red-bean.com]. Works nicely on my cygwin setup, so it should work on any GNU/linux box, too.
Axel.

…a few more comments on how to get this working: get all the files,

mkdir cvslog
mv cvs2cl.pl cvslog/
mv cl2html-ciaglia.xslt.xml cvslog/cl2html.xsl
./cl2any-ciaglia.bash

where you should edit the script to make it look like the attached one.
Axel.
cl2any-ciaglia.txt (699 Bytes)

Hi Axel,
I’m afraid I’m a but unix challenged. I created /cvslog in the folder checked root into. In this folder I put three files:[ul]cl2any-ciaglia.bash - from your posting - simply replaced .txt w/ .bash
ch2html.xsl - renamed from red-bean.com/cvs2cl/cl2html.xslt
cvs2cl.pl - copied from red-bean.com/cvs2cl/cvs2cl.pl[/ul]Then, from the parent directory, I typed ./cvslog/cl2any-ciaglia.bash and got:
[ul]cvs log: in directory .:
cvs [log aborted]: there is no version here; run ‘cvs checkout’ first
warning: failed to load external entity "/home/ed/root_040305/root/cvslog/cl.xml"
unable to parse /home/ed/root_040305/root/cvslog/cl.xml
rm: cannot remove `/home/ed/root_040305/root/cvslog/cl.xml’: No such file or directory[/ul]What have I failed to do? Thank you!

Ed

Hi Ed,
Read this to make sure you’ve done the cvs checkout correctly: http://root.cern.ch/root/CVS.html, section “Converting a tarball to a working CVS sandbox”. Make sure $ROOTSYS is pointing to wherever the ROOT cvs sources are on your machine. Then run the script.

You can have the root sources anywhere you want (doesn’t have to be in cvslog), as long as $ROOTSYS points at it. From the error message (no version here) it looks like the script didn’t find $ROOTSYS/CVS - so either $ROOTSYS is wrong or it doesn’t have a CVS subdir (in which case you did something wrong checking the sources out of cvs).
Axel.

Hi Ed,

You can generate the development notes on your machine via
make changelog
This will generate the file in $ROOTSYS/README/ChangeLog

I generate frequently this file and the corresponding html version that you can see at:
root.cern.ch/root/html/examples/V4.00.txt.html

using the following script

// generates the development notes
// before running this script, make changelog
// edit README/ChangeLog deleting all lines before 2003-12-16 19:58 brun
{
FILE *fp = fopen(“README/ChangeLog”,“r”);
FILE *fpw = fopen(“V4.00.txt”,“w”);
char line[150];
while (fgets(&line,149,fp)) {
if (strstr(line,“2003-12-16 19:58 brun”)) break;
fprintf(fpw,"%s",line);
}
fclose(fp);
fclose(fpw);
gSystem.Load("$HOME/venus/libVenus");
gSystem.Load("$HOME/pythia/libPythia");
gSystem.Load("$HOME/pythia6/libPythia6");
gSystem.Load(“libProof”);
gSystem.Load(“libHistPainter”);
gSystem.Load(“libTreePlayer”);
gSystem.Load(“libTreeViewer”);
gSystem.Load(“libPhysics”);
gSystem.Load(“libThread”);
gSystem.Load(“libRFIO”);
gSystem.Load(“libRGL”);
gSystem.Load(“libX3d”);
gSystem.Load(“libEG”);
gSystem->Load(“libGeom”);
gSystem->Load(“libVMC”);
gSystem.Load(“libHbook”);
//gSystem.Load(“libEGPythia”);
gSystem.Load(“libEGPythia6”);
gSystem.Load(“libEGVenus”);
gSystem.Load(“libTable”);
gSystem.Load(“libGeomPainter”);
gSystem->Load(“libFumili”);
gSystem->Load(“libMLP”);
gSystem->Load(“libASImage”);
gSystem.Load(“test/libEvent.so”);
THtml htmldo;
htmldo.Convert(“V4.00.txt”,“ROOT version 4.00 Development Notes”);
}

Rene