| |
|
Line 1
|
Parallel
|
Line 1
|
Parallel
|
|
#!/usr/bin/perl -wT |
|
#!/usr/bin/perl -wT |
|
|
|
|
|
# New comment |
|
|
|
|
|
|
|
############################################################################### |
|
############################################################################### |
|
# Codestriker: Copyright (c) 2001, 2002 David Sitsky. All rights reserved. |
|
# Codestriker: Copyright (c) 2001, 2002 David Sitsky. All rights reserved. |
|
# sits@users.sourceforge.net |
|
# sits@users.sourceforge.net |
|
# Version 1.1 |
|
# Version 1.2 |
|
# |
|
# |
|
# Codestriker is a perl CGI script which is used for performing code reviews |
|
# Codestriker is a perl CGI script which is used for performing code reviews |
|
# in a collaborative fashion as opposed to using unstructured emails. |
|
# in a collaborative fashion as opposed to using unstructured emails. |
| |
| |
|
Line 24
|
Parallel
|
Line 22
|
Parallel
|
|
# This program is free software; you can redistribute it and modify it under |
|
# This program is free software; you can redistribute it and modify it under |
|
# the terms of the GPL. |
|
# the terms of the GPL. |
|
|
|
|
|
|
|
# Constants for viewing modes. |
|
|
|
$NORMAL_MODE = 0; |
|
|
|
$COLOURED_MODE = 1; |
|
|
|
|
|
# BEGIN CONFIGURATION OPTIONS -------------------- |
|
# BEGIN CONFIGURATION OPTIONS -------------------- |
|
|
|
|
|
# Location of where to store the code review data. Make sure the |
|
# Location of where to store the code review data. Make sure the |
| |
| |
|
Line 36
|
Parallel
|
Line 38
|
Parallel
|
|
# Location of sendmail. |
|
# Location of sendmail. |
|
$sendmail = "/usr/lib/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 |
|
# How the CVS repository is accessed. For local access, this is set as the |
|
# empty string. |
|
# empty string. |
|
#$cvsaccess = ":ext:sits\@cvs.cvsplot.sourceforge.net:"; |
|
#$cvsaccess = ":ext:sits\@cvs.cvsplot.sourceforge.net:"; |
| |
| |
|
Line 46
|
Parallel
|
Line 45
|
Parallel
|
| 46 |
|
|
|
|
# The path of the cvs repository"; |
|
# The path of the cvs repository"; |
|
#$cvsrep = "/cvsroot/codestriker"; |
|
#$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 |
|
# 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. |
|
# 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 |
|
# 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. |
|
# just be the local pathname. Make sure this is in a secure location. |
| 59 |
#$ENV{'CVS_RSH'} = "ssh -i /var/www/codestriker/identity"; |
|
#$ENV{'CVS_RSH'} = "ssh -i /var/www/codestriker/identity"; |
|
$ENV{'CVS_RSH'} = "ssh"; |
|
#$ENV{'CVS_RSH'} = "ssh"; |
|
|
|
|
|
# Set the PATH to something sane. |
|
# Set the PATH to something sane. |
|
$ENV{'PATH'} = "/bin:/usr/bin"; |
|
$ENV{'PATH'} = "/bin:/usr/bin"; |
| |