[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Good Perl module for CVS
From: |
Alexander Taler |
Subject: |
Re: Good Perl module for CVS |
Date: |
Tue, 21 Dec 2004 16:57:35 -0500 |
>>>>> "Andrew" == Andrew DeFaria <address@hidden> writes:
Andrew> To: address@hidden
Andrew> Subject: Good Perl module for CVS
Andrew> Date: Tue, 21 Dec 2004 18:48:15 GMT
Andrew> Hi. I'm a Clearcase admin who is in a new job that uses CVS
Andrew> exclusively. I want to do some reports and otherwise interrogate the
Andrew> CVS repositories and I was thinking of doing that with Perl. What's a
Andrew> good Perl module for CVS?
I think that VCS::LibCVS should do what you want. It currently
provides read only access to the repository, which is ideal for
generating reports. I have written some scripts already, which
would provide a good base. If you are interested in using it, I
would be happy to help you out.
The spec is hosted on Savannah:
https://savannah.gnu.org/projects/libcvs-spec
And the Perl code at cvshome:
libcvs.cvshome.org
It can be downloaded directly through CPAN.
Andrew> I've search CPAN and
Andrew> http://search.cpan.org/~rsoliv/Cvs-0.07/lib/Cvs.pm seems like the one
Andrew> to use, however certain links on that page seem dead (like the
Andrew> Cvs::Result::Log link which was the one I was particularly interested
Andrew> in). This leads me to fear that perhaps this module is not the best
Andrew> one to use and/or maybe this module is not being kept up to date.
I have not seen any other active work on a Perl module for
CVS, only many inactive ones.
Andrew> My immediate task is to compare files that have different
Andrew> revisions/tags and report what the differences are in terms of
Andrew> "ECR"'s (sorta like bug numbers). This is not a simple cvs diff kinda
Andrew> thing. I believe that ECR numbers are kept in the check in comments
Andrew> and I need to traverse the version tree and pick them up. Again, I'm
Andrew> new to CVS so perhaps I'm not using the right terminology. Please
Andrew> forgive me.
LibCVS should make it easy to traverse log messages. Parsing
them for references to ECRs would be up to you.
HTH
Alex
--
https://savannah.gnu.org/projects/libcvs-spec Access CVS through a library.
PGP: ID: 0x23DC453B FPR: 42D0 66C2 9FF8 553A 373A B819 4C34 93BA 23DC 453B
If this letter reaches you in an inappropriate time, please accept our
sincerest apologies. -- PS on an unsolicited survey from a local funeral
home.