Shimon, I should mention that I am not actually running this code on my server as we want the review to happen before the commit to cvs. However, based on my admittedly incomplete under standing of the log_accum.pl shipped with codestriker...
Indeed that is what the code says, you must have codestiker installed on the cvs server (or at least part of it). However, you'll note that there is a $CODESTRIKER_URL URL that can point to any running instance of codestriker. So log_accum is using some codestriker code probably to format the data for submission to the codestriker database and then submit that information to the db. You don't need to actually run codestriker on the cvs server. Based on my reading of the code, I would say that the $CODESTRIKER_REPOSITORY value should match the repository value in the codestriker.conf file. It represents the path to your cvs directory on the cvs server. Again it's used in the submission of the data to the code striker db. Later Mark -----Original Message----- From: Shimon Bollinger [mailto:[EMAIL PROTECTED] Sent: December 10, 2006 4:10 AM To: Mark Lee Subject: RE: [Codestriker-user] Configuring the log_accum.pl file to create CVSdiff topics automatically Mark, Thank you for your quick reply. It seems that at least one Codestriker module must also be installed on the cvs server for log_accum.pl to work: use lib '/var/www/codestriker-1.8.4/bin'; use CodestrikerClient; Also, the following variable seems to imply that codestriker needs a cvs module. The installation instructions don't mention this. $CODESTRIKER_REPOSITORY = '/var/lib/cvs'; Any help you can give is appreciated. Shimon > -----Original Message----- > From: Mark Lee [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 07, 2006 10:53 PM > To: Shimon Bollinger > Subject: RE: [Codestriker-user] Configuring the log_accum.pl > file to create CVSdiff topics automatically > > Shimon, > > > > The log_accum.pl is run on the same server as CVS and is > invoked from the loginfo file in the CVSROOT directory. Open > the log_accum.pl in the bin directory and search for $CVSBIN. > Everything from there to the Subroutines section can be > changed to suit your environment > > > > Don't forget to add the commit_prep.pl to the commitinfo file > in your CVSROOT directory. > > > > Later > > Mark > > > > ________________________________ > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Shimon Bollinger > Sent: December 7, 2006 12:23 PM > To: codestriker-user@lists.sourceforge.net > Subject: [Codestriker-user] Configuring the log_accum.pl file > to create CVSdiff topics automatically > > > > I'm installing Codestrike 1.9.2 on Linux with CVS, Bugzilla, > and Apache. I'm having trouble configuring the "Creating CVS > Diff Topics Automatically" feature. The documentation says > "The log_accum.pl file needs to have some configuration > variables set at the start of the script to reflect your > site." I have two questions: > > 1) Does Codestrike have to be running on the same server as > CVS if I want to implement this feature? > 2) Which variables need to be set? > > Many thanks, > > Shimon Bollinger > Kayote Networks > [EMAIL PROTECTED] > > > > > > Information contained in this e-mail and any attachments are > intended for the use of the addressee only, and may contain > confidential information of Ubiquity Software Corporation. > All unauthorized use, disclosure or distribution is strictly > prohibited. If you are not the addressee, please notify the > sender immediately and destroy all copies of this email. > Unless otherwise expressly agreed in writing signed by an > officer of Ubiquity Software Corporation, nothing in this > communication shall be deemed to be legally binding. Thank-you > Information contained in this e-mail and any attachments are intended for the use of the addressee only, and may contain confidential information of Ubiquity Software Corporation. All unauthorized use, disclosure or distribution is strictly prohibited. If you are not the addressee, please notify the sender immediately and destroy all copies of this email. Unless otherwise expressly agreed in writing signed by an officer of Ubiquity Software Corporation, nothing in this communication shall be deemed to be legally binding. Thank you. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Codestriker-user mailing list Codestriker-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/codestriker-user