version 1.1, 1999/12/27 20:19:55 |
version 1.8, 2000/07/29 19:39:12 |
|
|
# CGI interface to CVS Repositories. |
# CGI interface to CVS Repositories. |
# |
# |
# (c) 1998-1999 H. Zeller <zeller@think.de> |
# (c) 1998-1999 H. Zeller <zeller@think.de> |
# 1999 H. Nordström <hno@hem.passagen.se> |
# 1999 H. Nordstrom <hno@hem.passagen.se> |
# based on work by Bill Fenner <fenner@freebsd.org> |
# 2000 A. MUSHA <knu@FreeBSD.org> |
|
# based on work by Bill Fenner <fenner@FreeBSD.org> |
|
# $zId: cvsweb.conf,v 1.27 2000/07/27 10:16:39 kcoar Exp $ |
# $Id$ |
# $Id$ |
# |
# |
### |
### |
|
|
|
|
# 'symbolic_name' 'path_to_the_actual_repository' |
# 'symbolic_name' 'path_to_the_actual_repository' |
%CVSROOT = ( |
%CVSROOT = ( |
'Development' => '/usr/local/src/cvsrep', |
'OpenXM' => '/home/cvs' |
'Configuration' => '/tmp/cvsroot/conf', |
); |
'HTML-files' => '/tmp/upload' |
|
); |
|
|
|
|
%CVSROOTdescr = ( |
|
'OpenXM' => 'OpenXM CVS Repository' |
|
); |
|
|
# This tree is enabled by default when |
# This tree is enabled by default when |
# you enter the page |
# you enter the page |
$cvstreedefault = 'Configuration'; |
$cvstreedefault = 'OpenXM'; |
|
|
############## |
############## |
|
# PR categoties |
|
############## |
|
@prcategories = qw( |
|
advocacy |
|
alpha |
|
bin |
|
conf |
|
docs |
|
gnu |
|
i386 |
|
kern |
|
misc |
|
ports |
|
sparc |
|
); |
|
|
|
############## |
|
# query-pr.cgi |
|
############## |
|
$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr="; |
|
|
|
############## |
# Defaults for UserSettings |
# Defaults for UserSettings |
############## |
############## |
%DEFAULTVALUE = ( |
%DEFAULTVALUE = ( |
Line 63 $cvstreedefault = 'Configuration'; |
|
Line 89 $cvstreedefault = 'Configuration'; |
|
# u Unified diff |
# u Unified diff |
# c Context diff |
# c Context diff |
# s Side by side |
# s Side by side |
"f" => "h", |
"f" => ($is_textbased ? "u" : "h"), |
|
|
# hidecvsroot: Don't show the CVSROOT directory |
# hidecvsroot: Don't show the CVSROOT directory |
# 1 Hide CVSROOT directory |
# 1 Hide CVSROOT directory |
# 0 Show CVSROOT directory |
# 0 Show CVSROOT directory |
"hidecvsroot" => "0", |
"hidecvsroot" => "1", |
|
|
# hidenonreadable: Don't show entries which cannot be read |
# hidenonreadable: Don't show entries which cannot be read |
# 1 Hide non-readable entries |
# 1 Hide non-readable entries |
# 0 Show non-readble entries |
# 0 Show non-readable entries |
"hidenonreadable" => "1", |
"hidenonreadable" => "1", |
); |
); |
|
|
Line 87 $body_tag = '<body text="#000000" bgcolor="#ffffff">'; |
|
Line 113 $body_tag = '<body text="#000000" bgcolor="#ffffff">'; |
|
$logo = '<img src="/icons/apache_pb.gif">'; |
$logo = '<img src="/icons/apache_pb.gif">'; |
|
|
# The title of the Page on startup |
# The title of the Page on startup |
$defaulttitle = "CVS Repository"; |
$defaulttitle = "OpenXM CVS Repository"; |
|
|
# The address is shown on the footer |
# The address is shown on the footer |
$address = "zeller\@think.de"; |
$address = "maekawa\@math.sci.kobe-u.ac.jp"; |
|
|
# Default page background color for the diffs |
# Default page background color for the diffs |
# and annotations |
# and annotations |
Line 115 display diffs between arbitrary revisions. |
|
Line 141 display diffs between arbitrary revisions. |
|
</p> |
</p> |
<p> |
<p> |
This script has been written by Bill Fenner |
This script has been written by Bill Fenner |
<<a href="mailto:fenner\@freebsd.org">fenner\@freebsd.org</a>> |
<<a href="mailto:fenner\@FreeBSD.org">fenner\@FreeBSD.org</a>> |
and improved by Henner Zeller |
and improved by Henner Zeller |
<<a href="mailto:zeller\@think.de">zeller\@think.de</a>>, |
<<a href="mailto:zeller\@think.de">zeller\@think.de</a>>, |
Henrik Nordström |
Henrik Nordström |
<<a href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>>, and |
<<a href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>>, and |
Ken Coar |
Ken Coar |
<<a href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>>; |
<<a href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>>, then |
|
Akinori MUSHA <<a href="mailto:knu\@FreeBSD.org">knu\@FreeBSD.org</a>> |
|
brought it back to FreeBSD community and added more facilities; |
it is covered by the |
it is covered by the |
<a href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>. |
<a href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>. |
</p> |
</p> |
Line 130 If you would like to use this CGI script on your own w |
|
Line 158 If you would like to use this CGI script on your own w |
|
CVS tree, see Zeller's |
CVS tree, see Zeller's |
<a href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi" |
<a href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi" |
>CVSweb distribution site</a>. Bill's original script can be found |
>CVSweb distribution site</a>. Bill's original script can be found |
<a href="http://www.freebsd.org/~fenner/cvsweb/">here</a>. |
<a href="http://www.FreeBSD.org/~fenner/cvsweb/">here</a>. |
</p> |
</p> |
<p> |
<p> |
Please send any suggestions, comments, etc. to |
Please send any suggestions, comments, etc. to |
<a href="mailto:fenner\@freebsd.org">Bill Fenner</a> or, regarding the |
<a href="mailto:fenner\@FreeBSD.org">Bill Fenner</a> or, regarding the |
modifications, to |
modifications, to |
|
<a href="mailto:knu\@FreeBSD.org">Akinori MUSHA</a>, |
<a href="mailto:zeller\@think.de">Henner Zeller</a>, |
<a href="mailto:zeller\@think.de">Henner Zeller</a>, |
<a href="mailto:hno\@hem.passagen.se">Henrik Nordström</a>, or |
<a href="mailto:hno\@hem.passagen.se">Henrik Nordström</a>, or |
<a href="mailto:Ken.Coar\@Golux.Com">Ken Coar</a>. |
<a href="mailto:Ken.Coar\@Golux.Com">Ken Coar</a>. |
Line 184 $show_author = 1; |
|
Line 213 $show_author = 1; |
|
$dirtable = 1; |
$dirtable = 1; |
|
|
# show different colors for even/odd rows |
# show different colors for even/odd rows |
@tabcolors = ('#ccccee', '#ffffff'); |
@tabcolors = ('#ffffff', '#ffffff'); |
$tablepadding = 2; |
$tablepadding = 2; |
|
|
# Color of Header |
# Color of Header |
$columnHeaderColorDefault = '#cccccc'; |
$columnHeaderColorDefault = '#ffffcc'; |
$columnHeaderColorSorted = '#88ff88'; |
$columnHeaderColorSorted = '#ffcc66'; |
|
|
# |
# |
# If you want to have colored borders |
# If you want to have colored borders |
# around each row, uncomment this |
# around each row, uncomment this |
# $tableBorderColor = '#999999'; |
$tableBorderColor = '#cccccc'; |
|
|
# |
# |
# Modules in the repository that should not be displayed, either by default |
# Modules in the repository that should not be displayed, either by default |
# nor by explicit path specification. |
# nor by explicit path specification. |
# |
# |
@HideModules = ( |
@HideModules = ( |
); |
); |
|
|
|
# |
|
# Use CVSROOT/CVSROOT/descriptions for describing the directories/modules |
|
# See INSTALL section 8 |
|
# |
|
$use_descriptions = 0; |
|
|
############## |
############## |
# Human Readable Diff |
# Human Readable Diff |
############## |
############## |
Line 224 $columnHeaderColorSorted = '#88ff88'; |
|
Line 259 $columnHeaderColorSorted = '#88ff88'; |
|
# exceed the width of the browser |
# exceed the width of the browser |
$hr_breakable = 1; |
$hr_breakable = 1; |
|
|
# give out function names in human readable diffs |
# give out function names in diffs |
# this just makes sense if we have C-files, otherwise |
# this just makes sense if we have C-files, otherwise |
# diff's heuristic doesn't work well .. |
# diff's heuristic doesn't work well .. |
# ( '-p' option to diff) |
# ( '-p' option to diff) |
$hr_funout = 0; |
$showfunc = 1; |
|
|
|
# For each pair of regexps, files that match the first regexp will be diff'ed |
|
# with an '-F' option with the second regexp. |
|
%funcline_regexp = ( |
|
"\\.(4th|fr)\$" => "\\(^\\| \\|\t\\): ", |
|
); |
|
|
# ignore whitespaces for human readable diffs |
# ignore whitespaces for human readable diffs |
# (indendation and stuff ..) |
# (indendation and stuff ..) |
# ( '-w' option to diff) |
# ( '-w' option to diff) |
Line 262 $inputTextSize = 12; |
|
Line 303 $inputTextSize = 12; |
|
# cvsweb to guess the correct mime-type on |
# cvsweb to guess the correct mime-type on |
# checkout; you can use the mime.types from |
# checkout; you can use the mime.types from |
# apache here: |
# apache here: |
$mime_types = '/usr/local/web/apache/conf/mime.types'; |
$mime_types = '/usr/local/etc/apache/mime.types'; |
|
|
# quick mime-type lookup; maps file-suffices to |
# quick mime-type lookup; maps file-suffices to |
# mime-types for displaying checkouts in the browser. |
# mime-types for displaying checkouts in the browser. |
Line 276 $mime_types = '/usr/local/web/apache/conf/mime.types'; |
|
Line 317 $mime_types = '/usr/local/web/apache/conf/mime.types'; |
|
"jpeg" => "image/jpeg", |
"jpeg" => "image/jpeg", |
"jpg" => "image/jpeg", |
"jpg" => "image/jpeg", |
"*" => "text/plain", |
"*" => "text/plain", |
); |
); |
|
|
############## |
############## |
# Misc |
# Misc |
Line 347 $show_log_in_markup = 1; |
|
Line 388 $show_log_in_markup = 1; |
|
# Tabstop used to expand tabs in colored diffs. If undefined then |
# Tabstop used to expand tabs in colored diffs. If undefined then |
# tabs are always expanded to 8 spaces. |
# tabs are always expanded to 8 spaces. |
$tabstop = 8; |
$tabstop = 8; |
|
|
|
# if you wish to display absolute times in your local timezone, |
|
# then define mytz and fill in the strings for your standard and |
|
# daylight time. Note that you must also make sure the system |
|
# timezone is correctly set. |
|
# @mytz=("EST", "EDT"); |
|
|
|
# cvsweb is friendly to caches by indicating a suitable |
|
# last-modified timestamp. Doing this uses slightly more |
|
# CPU so you might want to disable it if you have a slow |
|
# server |
|
$use_moddate = 1; |
|
|
#EOF |
#EOF |