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?

I've search CPAN and http://search.cpan.org/~rsoliv/Cvs-0.07/lib/Cvs.pm seems like the one to use, however certain links on that page seem dead (like the Cvs::Result::Log link which was the one I was particularly interested in). This leads me to fear that perhaps this module is not the best one to use and/or maybe this module is not being kept up to date.

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.

So, for example, assume that foo.c has the following version tree:

           foo.c
             |
            1.1 (ECR #1001)
             |
            1.2 (ECR #1341)
             |
             |                 1.2.1.1
             +--------------------+
             |                    |
            1.3 (ECR #1501)    1.2.1.2 (ECR #1623)
             |                    |
            1.4 (ECR #1672)    1.2.1.3 (ECR #1834)

My report comparing 1.4 and 1.2.1.3 should yield ECR #'s 1834, 1623, 1501, 1672. From what I understand so far WRT CVS I need to parse the output of cvs log and build a tree annotated with ECR #'s, then traverse the path and pick off the ECR #'s. I planned on doing that in Perl and if there's a good module to assist me I'd like to start with that.

Thanks in advance.
--
Do illiterate people get the full enjoyment out of alphabet soup?
begin:vcard
fn:Andrew DeFaria
n:DeFaria;Andrew
adr:;;6265 Kelez Court;San Jose;California;95120-2819;United States
email;internet:[EMAIL PROTECTED]
tel;work:408-979-4311
tel;fax:408-997-6900
tel;home:408-997-6900
x-mozilla-html:TRUE
url:http://defaria.com
version:2.1
end:vcard

_______________________________________________
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to