Hi, I think that Perl LibCVS (http://libcvs.cvshome.org) can help you out with this. Some Perl code would have to be written to format the information the way that you want, but it provides access to the stuff that you need.
I can help you with this code, I think that it might be more broadly useful. The released version on the site and CPAN is getting a bit old, I'm going to make a new release soon, but the HEAD version should pretty much do what you want. Alex >>>>> "Ramanuj" == Ramanuj Singh <[EMAIL PROTECTED]> writes: Ramanuj> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Ramanuj> Subject: reports Ramanuj> Date: Sat, 5 Jun 2004 15:33:24 +0100 Ramanuj> How cvsgraph/cvsweb extract tags and branches from repository. I Ramanuj> have gone through their codes but I m harldly able to get some Ramanuj> information about the extraction of tags and branches. Or give me a Ramanuj> script which gives information about all the tags and branches along Ramanuj> with the date of creation and name of author. This is really urgent Ramanuj> as I m new in CVS and working as cvs administrator. Don't tell me Ramanuj> about the history command as it generates reports only for the tags Ramanuj> created with rtag command. Ramanuj> Even CVSWeb also gives the graphical view of branch and tag. If u Ramanuj> can help me in this scenario , I will be grateful to u. Have to Ramanuj> generate this kind of report on urgent basis. Ramanuj> I need the kind of report as history command generates for all Ramanuj> tags. As I have mentioned earlier the history command is not of Ramanuj> great help as generates report about the tags or branches created by Ramanuj> rtag command. So the tags created by simple tag command are not Ramanuj> mentioned in this repor Ramanuj> I need to generate report from cvs reporsitory for a project which Ramanuj> displays the fields as I mentioned before. Don't need to just look Ramanuj> up in wincvs and get information. I have to generate report from cvs Ramanuj> repository. Not have to manually see those information and pen it Ramanuj> down. May be a script can do. There are many projects in our Ramanuj> repository and for each project looking at the graphical view and Ramanuj> penning down the information is not the stuff we have to do. I have Ramanuj> to submit the reports about the tags and branches on Monday. I m cvs Ramanuj> newbee. So its really urgent. Ramanuj> The format for the report which will do is as follows, Ramanuj> Date Name of tag or branch Name of the author Ramanuj> Right now have to generate report for the project of duration of Ramanuj> three months from march to may, on weekly basis Ramanuj> So may be now u get the thing wat I want. Ramanuj> The information transmitted is intended only for the person or Ramanuj> entity to whom it is addressed and may contain confidential and / or Ramanuj> privileged Material. Any review, re-transmission, dissemination or Ramanuj> other use of or taking of any action in reliance upon, this Ramanuj> information by persons or entities other than the intended recipient Ramanuj> is prohibited. If you received this in error, please contact the Ramanuj> sender and delete the material from your computer. Thank you for Ramanuj> your understanding & co-operation. Ramanuj> <html xmlns:o="urn:schemas-microsoft-com:office:office" Ramanuj> xmlns:w="urn:schemas-microsoft-com:office:word" Ramanuj> xmlns="http://www.w3.org/TR/REC-html40"> Ramanuj> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; Ramanuj> charset=us-ascii"> Ramanuj> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> Ramanuj> <style> <!-- Ramanuj> /* Font Definitions */ @font-face Ramanuj> {font-family:Latha; Ramanuj> panose-1:2 0 4 0 0 0 0 0 0 0;} Ramanuj> /* Style Definitions */ Ramanuj> p.MsoNormal, li.MsoNormal, div.MsoNormal Ramanuj> {margin:0in; Ramanuj> margin-bottom:.0001pt; Ramanuj> font-size:12.0pt; Ramanuj> font-family:"Times New Roman";} Ramanuj> a:link, span.MsoHyperlink Ramanuj> {color:blue; Ramanuj> text-decoration:underline;} Ramanuj> a:visited, span.MsoHyperlinkFollowed Ramanuj> {color:purple; Ramanuj> text-decoration:underline;} Ramanuj> span.EmailStyle17 Ramanuj> {mso-style-type:personal-compose; Ramanuj> font-family:Arial; Ramanuj> color:windowtext;} Ramanuj> @page Section1 Ramanuj> {size:8.5in 11.0in; Ramanuj> margin:1.0in 1.25in 1.0in 1.25in;} Ramanuj> div.Section1 Ramanuj> {page:Section1;} --> Ramanuj> </style> Ramanuj> </head> Ramanuj> <body lang=EN-US link=blue vlink=purple> Ramanuj> <div class=Section1> Ramanuj> <p class=MsoNormal><font size=2 face=Latha><span Ramanuj> style='font-size:10.0pt; Ramanuj> font-family:Latha'>How cvsgraph/cvsweb extract tags and branches Ramanuj> from Ramanuj> repository. I have gone through their codes but I m harldly able to Ramanuj> get some information about the extraction of tags and branches. Or Ramanuj> give me a script which gives information about all the tags and Ramanuj> branches along with the date of creation and name of Ramanuj> author. This is really urgent as I m new in CVS and working as cvs Ramanuj> administrator. Don't tell me about the history command as it Ramanuj> generates reports only for the tags created with rtag Ramanuj> command.</span></font><font size=2 color=navy face=Latha><span Ramanuj> style='font-size:10.0pt;font-family:Latha; Ramanuj> color:navy'><o:p></o:p></span></font></p> Ramanuj> <U1:P></U1:P><O:P></O:P> Ramanuj> <p class=MsoNormal><font size=2 color=navy face=Arial><span Ramanuj> style='font-size: 10.0pt;font-family:Arial;color:navy'>Even CVSWeb Ramanuj> also gives the graphical view of branch and tag. If u can help me in Ramanuj> this scenario , I will be grateful to u. Have to generate this kind Ramanuj> of report on urgent Ramanuj> basis. <U1:P></U1:P></span></font><o:p></o:p></p> Ramanuj> <O:P></O:P> Ramanuj> <p class=MsoNormal Ramanuj> style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font Ramanuj> size=2 color=navy face=Arial><span Ramanuj> style='font-size:10.0pt;font-family:Arial; Ramanuj> color:navy'>I need the kind of report as history command generates Ramanuj> for all Ramanuj> tags. As I have mentioned earlier the history command is not of Ramanuj> great help as generates report about the tags or branches created by Ramanuj> rtag command. So the tags created by simple tag command are not Ramanuj> mentioned in this repor</span></font><o:p></o:p></p> Ramanuj> <p class=MsoNormal><font size=2 color=navy face=Latha><span Ramanuj> style='font-size: Ramanuj> 10.0pt;font-family:Latha;color:navy'><o:p> </o:p></span></font></p> Ramanuj> <p class=MsoNormal><font size=2 color=navy face=Latha><span Ramanuj> style='font-size: 10.0pt;font-family:Latha;color:navy'>I need to Ramanuj> generate report from cvs reporsitory for a project which Ramanuj> displays the fields as I mentioned before. Don't need to just look Ramanuj> up in wincvs and get information. I have to generate report from cvs Ramanuj> repository. Not have to manually see those information and pen it Ramanuj> down. May be a script can do. There are many projects in our Ramanuj> repository and for each project looking at the graphical view and Ramanuj> penning down the information is not the stuff we have to do. I have Ramanuj> to submit the reports about the tags and branches on Monday. I m cvs Ramanuj> newbee. So its really urgent. </span></font><font Ramanuj> face=Latha><span Ramanuj> face=Latha>style='font-family:Latha'><o:p></o:p></span></font></p> Ramanuj> <p class=MsoNormal Ramanuj> style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font Ramanuj> size=2 color=navy face=Latha><span Ramanuj> style='font-size:10.0pt;font-family:Latha; Ramanuj> color:navy'>The format for the report which will do is as Ramanuj> follows,<O:P></O:P></span></font><font Ramanuj> face=Latha><span style='font-family:Latha'> Ramanuj> face=Latha><o:p></o:p></span></font></p> Ramanuj> <p class=MsoNormal Ramanuj> style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font Ramanuj> size=2 color=navy face=Latha><span Ramanuj> style='font-size:10.0pt;font-family:Latha; Ramanuj> color:navy'>Date Name of Ramanuj> tag or Ramanuj> branch Name of the Ramanuj> author<O:P></O:P></span></font><font Ramanuj> face=Latha><span style='font-family:Latha'> Ramanuj> face=Latha><o:p></o:p></span></font></p> Ramanuj> <p class=MsoNormal Ramanuj> style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font Ramanuj> size=2 color=navy face=Latha><span Ramanuj> style='font-size:10.0pt;font-family:Latha; Ramanuj> color:navy'><O:P></O:P>Right now have to generate report for the Ramanuj> project of Ramanuj> duration of three months from march to may, on weekly Ramanuj> basis<O:P></O:P></span></font><font Ramanuj> face=Latha><span style='font-family:Latha'> Ramanuj> face=Latha><o:p></o:p></span></font></p> Ramanuj> <p class=MsoNormal Ramanuj> style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font Ramanuj> size=2 color=navy face=Latha><span Ramanuj> style='font-size:10.0pt;font-family:Latha; Ramanuj> color:navy'><O:P></O:P>So may be now u get the thing wat I Ramanuj> want.<O:P></O:P></span></font><font Ramanuj> face=Latha><span style='font-family:Latha'> Ramanuj> face=Latha><o:p></o:p></span></font></p> Ramanuj> <p class=MsoNormal><font size=2 face=Arial><span Ramanuj> style='font-size:10.0pt; Ramanuj> font-family:Arial'><o:p> </o:p></span></font></p> Ramanuj> </div> Ramanuj> </body> Ramanuj> </html> <BR> <BR> Ramanuj> <P><FONT SIZE=2 FACE="Arial">The information transmitted is intended Ramanuj> only for the person or entity to whom it is addressed and may Ramanuj> contain confidential and / or privileged Material. Any review, Ramanuj> re-transmission, dissemination or other use of or taking of any Ramanuj> action in reliance upon, this information by persons or entities Ramanuj> other than the intended recipient is prohibited. If you received Ramanuj> this in error, please contact the sender and delete the material Ramanuj> from your computer. Thank you for your understanding & Ramanuj> co-operation. </FONT></P> <BR> <BR> -- http://libcvs.cvshome.org/ Access CVS through a library. PGP: ID: 0x23DC453B FPR: 42D0 66C2 9FF8 553A 373A B819 4C34 93BA 23DC 453B For every great name in history a hundred others might have been substituted. -- Elias Canetti. Crowds and Power. (trans Carol Stewart) _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
