Index: codestriker.pl =================================================================== RCS file: /home/groups/c/co/codestriker/cvs/codestriker/codestriker.pl,v retrieving revision 1.7 diff -u -u -r1.7 codestriker.pl --- codestriker.pl 18 Apr 2002 10:27:52 -0000 1.7 +++ codestriker.pl 20 Apr 2002 22:31:32 -0000 @@ -1,11 +1,9 @@ #!/usr/bin/perl -wT -# New comment - ############################################################################### # Codestriker: Copyright (c) 2001, 2002 David Sitsky. All rights reserved. # sits@users.sourceforge.net -# Version 1.1 +# Version 1.2 # # Codestriker is a perl CGI script which is used for performing code reviews # in a collaborative fashion as opposed to using unstructured emails. @@ -24,6 +22,10 @@ # This program is free software; you can redistribute it and modify it under # the terms of the GPL. +# Constants for viewing modes. +$NORMAL_MODE = 0; +$COLOURED_MODE = 1; + # BEGIN CONFIGURATION OPTIONS -------------------- # Location of where to store the code review data. Make sure the @@ -36,9 +38,6 @@ # Location of sendmail. $sendmail = "/usr/lib/sendmail"; -# Indicate whether or not the script can interface to CVS. -$cvsenabled = 1; - # How the CVS repository is accessed. For local access, this is set as the # empty string. #$cvsaccess = ":ext:sits\@cvs.cvsplot.sourceforge.net:"; @@ -46,7 +45,8 @@ # The path of the cvs repository"; #$cvsrep = "/cvsroot/codestriker"; -$cvsrep = "/home/sits/cvs"; +#$cvsrep = "/home/sits/cvs"; +$cvsrep = "/set/this/if/you/want/to/link/to/cvs"; # The CVS command to execute in order to retrieve file data. The revision # argument and filename is appended to the end of this string. @@ -57,7 +57,7 @@ # If the repository is local, this setting won't be required, as $cvsrep will # just be the local pathname. Make sure this is in a secure location. #$ENV{'CVS_RSH'} = "ssh -i /var/www/codestriker/identity"; -$ENV{'CVS_RSH'} = "ssh"; +#$ENV{'CVS_RSH'} = "ssh"; # Set the PATH to something sane. $ENV{'PATH'} = "/bin:/usr/bin"; Index: newdir/ls.txt =================================================================== RCS file: newdir/ls.txt diff -N newdir/ls.txt --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ newdir/ls.txt 21 Apr 2002 03:05:20 -0000 @@ -0,0 +1,13 @@ +total 71424 +-rw-rw-r-- 1 sits sits 3780 Apr 18 18:53 19117_thumb.jpg +-r--r--r-- 1 sits sits 56357 Apr 18 1997 %backup%~ +-rw-rw-r-- 1 sits sits 1845 Dec 15 09:15 bagmati.txt +drwxrwxr-x 2 sits sits 4096 Jan 1 22:48 bin +-rw-rw-r-- 1 sits sits 19637 Mar 23 10:10 bodyboardequipment.html +-rw-rw-r-- 1 sits sits 26217 Mar 23 10:13 bodyboardmoves.html +drwxrwxr-x 3 sits sits 4096 Jan 4 11:21 branch-gronk +dr-xr-xr-x 29 sits sits 4096 Jun 27 2000 cap-archive +drwxrwxr-x 3 sits sits 4096 Jan 3 22:07 carol +drwxrwxr-x 4 sits sits 4096 Dec 11 22:08 cdtools +drwxrwxr-x 2 sits sits 4096 Jan 3 09:35 chkmail +drwxrwxr-x 2 sits sits 4096 Apr 17 07:47 CODE Index: newdir/oldls.txt =================================================================== RCS file: newdir/oldls.txt diff -N newdir/oldls.txt --- newdir/oldls.txt 21 Apr 2002 05:05:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,18 +0,0 @@ -total 161 -drwxr-xr-x 2 root root 4096 Sep 24 2001 bin -drwxr-xr-x 3 root root 1024 Apr 21 07:49 boot -drwxr-xr-x 14 root root 90112 Apr 21 07:49 dev -drwxr-xr-x 58 root root 8192 Apr 21 07:51 etc -drwxr-xr-x 4 root root 4096 Sep 24 2001 home -drwxr-xr-x 6 root root 4096 Sep 24 2001 lib -drwxr-xr-x 2 root root 16384 Feb 2 2001 lost+found -drwxr-xr-x 2 root root 0 Apr 21 07:49 misc -drwxr-xr-x 6 root root 4096 Sep 25 2001 mnt -drwxr-xr-x 6 root root 4096 Aug 24 1999 opt -dr-xr-xr-x 88 root root 0 Apr 21 2002 proc -drwxr-x--- 21 root root 4096 Apr 21 13:30 root -drwxr-xr-x 2 root root 4096 Sep 24 2001 sbin -drwxr-xr-x 3 root root 4096 Feb 2 2001 tftpboot -drwxrwxrwt 15 root root 4096 Apr 21 14:24 tmp -drwxr-xr-x 24 root root 4096 Sep 24 2001 usr -drwxr-xr-x 24 root root 4096 Sep 24 2001 var