From: Brian G. P. <br...@br...> - 2005-01-24 12:50:11
|
On Monday 24 January 2005 03:48 am, Satish Babu G wrote: > Hi. This is satish from CGI BANGALORE India. I want to know how to connect > remote repository using statcvs. My requirement is like this. I need to > connect to sourceforge London using pserver protocol. Is there any way (at > least through ant scripting ) to connect to remote repositary through > statcvs. Please let me know how to connect. Waiting for your reply. You need a full cvs log. Read the documentation, all the details are there. PServer can be painfully slow to generate the full log on a large project. For a quick overview, here are the steps that I use for a Sourceforge project that I am the administrator of (modified to use pserver): #!/bin/bash HOME=/home/brian/cvs cd $HOME echo "Updating XRMS CVS" cvs -q -z3 -d :pserver:ano...@cv...:/cvsroot/xrms checkout xrms echo "generating log" cd xrms cvs log > cvslog cd $HOME echo "generating statistics" cd xrmsstats /usr/java/bin/java -jar statcvs.jar -title "XRMS CRM" -verbose -viewcvs http://cvs.sourceforge.net/viewcvs.py/xrms/xrms/ ../xrms/cvslog ../xrms/ I've separated each single line of the shell script above with a blank line to account for inevitable email wrapping. The approach above can be incredibly slow via PServer. It may be faster to make a complete local copy of the entire repository. Sourceforge creates a daily backup tarball of the entire CVS repository: wget http://cvs.sourceforge.net/cvstarballs/xrms-cvsroot.tar.bz2 wget http://cvs.sourceforge.net/cvstarballs/projectname-cvsroot.tar.bz2 I hope this helps. Regards, - Brian |