Re: [Codestriker-user] Configuring the log_accum.pl file to create CVSdiff topics automatically
Brought to you by:
sits
|
From: Mark L. <ml...@ub...> - 2006-12-13 14:16:57
|
NP. Good to know that only the .pm is required. As for team discipline... I suggest a large stick... and a carrot of course. :-) Later Mark -----Original Message----- From: Shimon Bollinger [mailto:Shi...@Ka...]=20 Sent: December 13, 2006 1:56 AM To: Mark Lee Subject: RE: [Codestriker-user] Configuring the log_accum.pl file to create CVSdiff topics automatically Mark, Thanks again for your help. It seems that only CodestrikerClient.pm needs to be installed on the cvs server. I have set $CODESTRIKER_URL and $CODESTRIKER_REPOSITORY as you suggested. Happily, Codestriker is working as expected with cvs! Now if I can only discipline my team to use it effectively... Shimon > -----Original Message----- > From: Mark Lee [mailto:ml...@ub...]=20 > Sent: Tuesday, December 12, 2006 9:47 PM > To: Shimon Bollinger; cod...@li... > Subject: RE: [Codestriker-user] Configuring the log_accum.pl=20 > file to create CVSdiff topics automatically >=20 > Shimon, >=20 > I should mention that I am not actually running this code on=20 > my server as we want the review to happen before the commit=20 > to cvs. However, based on my admittedly incomplete under=20 > standing of the log_accum.pl shipped with codestriker... >=20 > Indeed that is what the code says, you must have codestiker=20 > installed on the cvs server (or at least part of it). =20 > However, you'll note that there is a $CODESTRIKER_URL URL=20 > that can point to any running instance of codestriker. So=20 > log_accum is using some codestriker code probably to format=20 > the data for submission to the codestriker database and then=20 > submit that information to the db. You don't need to=20 > actually run codestriker on the cvs server. >=20 > Based on my reading of the code, I would say that the=20 > $CODESTRIKER_REPOSITORY value should match the repository=20 > value in the codestriker.conf file. It represents the path=20 > to your cvs directory on the cvs server. Again it's used in=20 > the submission of the data to the code striker db. >=20 > Later > Mark >=20 > -----Original Message----- > From: Shimon Bollinger [mailto:Shi...@Ka...] > Sent: December 10, 2006 4:10 AM > To: Mark Lee > Subject: RE: [Codestriker-user] Configuring the log_accum.pl=20 > file to create CVSdiff topics automatically >=20 > Mark, >=20 > Thank you for your quick reply. It seems that at least one=20 > Codestriker module must also be installed on the cvs server=20 > for log_accum.pl to > work: >=20 > use lib '/var/www/codestriker-1.8.4/bin'; > use CodestrikerClient;=20 >=20 > Also, the following variable seems to imply that codestriker=20 > needs a cvs module. The installation instructions don't mention this. >=20 > $CODESTRIKER_REPOSITORY =3D '/var/lib/cvs'; >=20 > Any help you can give is appreciated. >=20 > Shimon >=20 > > -----Original Message----- > > From: Mark Lee [mailto:ml...@ub...] > > Sent: Thursday, December 07, 2006 10:53 PM > > To: Shimon Bollinger > > Subject: RE: [Codestriker-user] Configuring the=20 > log_accum.pl file to=20 > > create CVSdiff topics automatically > >=20 > > Shimon, > >=20 > > =20 > >=20 > > The log_accum.pl is run on the same server as CVS and is=20 > invoked from=20 > > the loginfo file in the CVSROOT directory. Open the=20 > log_accum.pl in=20 > > the bin directory and search for $CVSBIN. > > Everything from there to the Subroutines section can be changed to=20 > > suit your environment > >=20 > > =20 > >=20 > > Don't forget to add the commit_prep.pl to the commitinfo=20 > file in your=20 > > CVSROOT directory. > >=20 > > =20 > >=20 > > Later > >=20 > > Mark > >=20 > > =20 > >=20 > > ________________________________ > >=20 > > From: cod...@li... > > [mailto:cod...@li...] On=20 > Behalf Of=20 > > Shimon Bollinger > > Sent: December 7, 2006 12:23 PM > > To: cod...@li... > > Subject: [Codestriker-user] Configuring the log_accum.pl file to=20 > > create CVSdiff topics automatically > >=20 > > =20 > >=20 > > I'm installing Codestrike 1.9.2 on Linux with CVS, Bugzilla, and=20 > > Apache. I'm having trouble configuring the "Creating CVS=20 > Diff Topics=20 > > Automatically" feature. The documentation says "The=20 > log_accum.pl file=20 > > needs to have some configuration variables set at the start of the=20 > > script to reflect your site." I have two questions: > >=20 > > 1) Does Codestrike have to be running on the same server as=20 > CVS if I=20 > > want to implement this feature? > > 2) Which variables need to be set? > >=20 > > Many thanks, > >=20 > > Shimon Bollinger > > Kayote Networks > > shi...@ka... > >=20 > >=20 > >=20 > >=20 > >=20 > > Information contained in this e-mail and any attachments=20 > are intended=20 > > for the use of the addressee only, and may contain confidential=20 > > information of Ubiquity Software Corporation. > > All unauthorized use, disclosure or distribution is strictly=20 > > prohibited. If you are not the addressee, please notify the sender=20 > > immediately and destroy all copies of this email. > > Unless otherwise expressly agreed in writing signed by an=20 > officer of=20 > > Ubiquity Software Corporation, nothing in this=20 > communication shall be=20 > > deemed to be legally binding. Thank-you > >=20 >=20 >=20 >=20 > Information contained in this e-mail and any attachments are=20 > intended for the use of the addressee only, and may contain=20 > confidential information of Ubiquity Software Corporation. =20 > All unauthorized use, disclosure or distribution is strictly=20 > prohibited. If you are not the addressee, please notify the=20 > sender immediately and destroy all copies of this email. =20 > Unless otherwise expressly agreed in writing signed by an=20 > officer of Ubiquity Software Corporation, nothing in this=20 > communication shall be deemed to be legally binding. Thank you. >=20 >=20 |