info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Good Perl module for CVS


From: Todd Denniston
Subject: Re: Good Perl module for CVS
Date: Tue, 21 Dec 2004 15:27:12 -0500

Andrew DeFaria wrote:
> 
> Hi. I'm a Clearcase admin who is in a new job that uses CVS exclusively.
> I want to do some reports and otherwise interrogate the CVS repositories
> and I was thinking of doing that with Perl. What's a good Perl module
> for CVS?
<SNIP>
> My immediate task is to compare files that have different revisions/tags
> and report what the differences are in terms of "ECR"'s (sorta like bug
> numbers). This is not a simple cvs diff kinda thing. I believe that ECR
> numbers are kept in the check in comments and I need to traverse the
> version tree and pick them up. Again, I'm new to CVS so perhaps I'm not
> using the right terminology. Please forgive me.
<SNIP>
I don't think you would call it a Perl module, and it may not do everything
you need but cvs2cl should get you started along a good path.

http://www.red-bean.com/cvs2cl/

among other things it can output to XML after it has reduced and collated
the 'cvs log' output, so you might be able query the XML for building what
you really want.

I have used it to get me information like what you are looking for, but if I
had branches I had to do "hand parsing" afterwards to figure it out. My
projects usually are not big enough to use branches (other than the users
sandboxes) and so it fully fills my needs which are when in time di d a
change take place, who did it, and what are the names of all files involved.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]