Topic Text   Topic Comments (872)   Topic Properties   Topic Information sits@use...
Topic title: Example topic Wednesday June 11, 2008 02:45:30

Download topic text | View in monospace font | Tab width set to 8 (change to 4)

Files in topic: (view all files)  
codestriker/codestriker.pl  1.7   {+8,-8}
newdir/ls.txt   {+13,-0}
newdir/oldls.txt   {+0,-18}

[Add General Comment] to topic.

File codestriker/codestriker.pl (Revision 1.7) [Add File Comment] [Top] [>>]
 
Line 1 | Parallel Line 1 | Parallel
1 #!/usr/bin/perl -wT 1 #!/usr/bin/perl -wT
2 2
3 # New comment
4
5 ############################################################################### 3 ###############################################################################
6 # Codestriker: Copyright (c) 2001, 2002 David Sitsky. All rights reserved. 4 # Codestriker: Copyright (c) 2001, 2002 David Sitsky. All rights reserved.
7 # sits@users.sourceforge.net 5 # sits@users.sourceforge.net
8 # Version 1.1 6 # Version 1.2
9 # 7 #
10 # Codestriker is a perl CGI script which is used for performing code reviews 8 # Codestriker is a perl CGI script which is used for performing code reviews
11 # in a collaborative fashion as opposed to using unstructured emails. 9 # in a collaborative fashion as opposed to using unstructured emails.
 
 
Line 24 | Parallel Line 22 | Parallel
24 # This program is free software; you can redistribute it and modify it under 22 # This program is free software; you can redistribute it and modify it under
25 # the terms of the GPL. 23 # the terms of the GPL.
26 24
25 # Constants for viewing modes.
26 $NORMAL_MODE = 0;
27 $COLOURED_MODE = 1;
28
27 # BEGIN CONFIGURATION OPTIONS -------------------- 29 # BEGIN CONFIGURATION OPTIONS --------------------
28 30
29 # Location of where to store the code review data. Make sure the 31 # Location of where to store the code review data. Make sure the
 
 
Line 36 | Parallel Line 38 | Parallel
36 # Location of sendmail. 38 # Location of sendmail.
37 $sendmail = "/usr/lib/sendmail"; 39 $sendmail = "/usr/lib/sendmail";
38 40
39 # Indicate whether or not the script can interface to CVS.
40 $cvsenabled = 1;
41
42 # How the CVS repository is accessed. For local access, this is set as the 41 # How the CVS repository is accessed. For local access, this is set as the
43 # empty string. 42 # empty string.
44 #$cvsaccess = ":ext:sits\@cvs.cvsplot.sourceforge.net:"; 43 #$cvsaccess = ":ext:sits\@cvs.cvsplot.sourceforge.net:";
 
 
Line 46 | Parallel Line 45 | Parallel
46 45
47 # The path of the cvs repository"; 46 # The path of the cvs repository";
48 #$cvsrep = "/cvsroot/codestriker"; 47 #$cvsrep = "/cvsroot/codestriker";
49 $cvsrep = "/home/sits/cvs"; 48 #$cvsrep = "/home/sits/cvs";
49 $cvsrep = "/set/this/if/you/want/to/link/to/cvs";
50 50
51 # The CVS command to execute in order to retrieve file data. The revision 51 # The CVS command to execute in order to retrieve file data. The revision
52 # argument and filename is appended to the end of this string. 52 # argument and filename is appended to the end of this string.
 
 
Line 57 | Parallel Line 57 | Parallel
57 # If the repository is local, this setting won't be required, as $cvsrep will 57 # If the repository is local, this setting won't be required, as $cvsrep will
58 # just be the local pathname. Make sure this is in a secure location. 58 # just be the local pathname. Make sure this is in a secure location.
59 #$ENV{'CVS_RSH'} = "ssh -i /var/www/codestriker/identity"; 59 #$ENV{'CVS_RSH'} = "ssh -i /var/www/codestriker/identity";
60 $ENV{'CVS_RSH'} = "ssh"; 60 #$ENV{'CVS_RSH'} = "ssh";
61 61
62 # Set the PATH to something sane. 62 # Set the PATH to something sane.
63 $ENV{'PATH'} = "/bin:/usr/bin"; 63 $ENV{'PATH'} = "/bin:/usr/bin";
 
File codestriker/codestriker.pl (Revision 1.7) [Add File Comment] [Top] [>>]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.