=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf,v retrieving revision 3.14 retrieving revision 3.15 diff -u -p -r3.14 -r3.15 --- cvsweb/Attic/cvsweb.conf 2001/01/01 21:24:03 3.14 +++ cvsweb/Attic/cvsweb.conf 2001/01/01 23:15:03 3.15 @@ -7,7 +7,7 @@ # 2000 A. MUSHA # based on work by Bill Fenner # $zId: cvsweb.conf,v 3.27 2000/07/27 10:16:39 kcoar Exp $ -# $Id: cvsweb.conf,v 3.14 2001/01/01 21:24:03 knu Exp $ +# $Id: cvsweb.conf,v 3.15 2001/01/01 23:15:03 knu Exp $ # ### @@ -23,15 +23,22 @@ # to the CVS repository so :pserver:someone@xyz.com:/data/cvsroot # won't work! -# 'symbolic_name' 'path_to_the_actual_repository' +# 'symbolic_name' => 'path_to_the_actual_repository' %CVSROOT = ( 'local' => '/home/cvs', - 'freebsd' => '/home/ncvs', +# 'freebsd' => '/home/ncvs', +# 'openbsd' => '/home/ncvs', +# 'netbsd' => '/home/ncvs', +# 'ruby' => '/var/anoncvs/ruby', ); +# 'symbolic_name' => 'name_to_display' %CVSROOTdescr = ( 'local' => 'Local Repository', - 'freebsd' => 'FreeBSD', +# 'freebsd' => 'FreeBSD', +# 'openbsd' => 'OpenBSD', +# 'netbsd' => 'NetBSD', +# 'ruby' => 'Ruby', ); # This tree is enabled by default when @@ -39,31 +46,31 @@ $cvstreedefault = 'local'; ############## -# PR categoties +# Bug tracking system options +# ("PR" means Problem Report, as in GNATS) ############## -@prcategories = qw( - advocacy - alpha - bin - conf - docs - gnu - i386 - kern - misc - pending - ports - sparc - ); +#@prcategories = qw( +# advocacy +# alpha +# bin +# conf +# docs +# gnu +# i386 +# kern +# misc +# pending +# ports +# sparc +# ); +# +#$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; +# +#$prkeyword = "PR"; ############## -# query-pr.cgi +# Manual gateway ############## -$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; - -############## -# man.cgi -############## $mancgi = "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; ############## @@ -193,12 +200,14 @@ EOT # These default icons are coming with apache. # If these icons are too large, check out the miniicons in the # icons/ directory; they have a width/height of 16/16 -# format: TEXT ICON-URL width height +my $iconsdir = "/icons"; +# format: TEXT ICON-URL width height %ICONS = ( - back => [ ("[BACK]", "/icons/cvsweb/back.gif", 20, 22) ], - dir => [ ("[DIR]", "/icons/cvsweb/dir.gif", 20, 22) ], - file => [ ("[TXT]", "/icons/cvsweb/text.gif", 20, 22) ], - ); + back => [ ("[BACK]", "$iconsdir/back.gif", 20, 22) ], + dir => [ ("[DIR]", "$iconsdir/dir.gif", 20, 22) ], + file => [ ("[TXT]", "$iconsdir/text.gif", 20, 22) ], + ); +undef $iconsdir; # the length to which the last logentry should # be truncated when shown in the directory view @@ -275,7 +284,8 @@ $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\\): ", + "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ", + "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ", ); # ignore whitespaces for human readable diffs @@ -434,7 +444,7 @@ $use_moddate = 1; $allow_tar = ''; # Options to pass to tar(1). -@tar_options = (); +@tar_options = qw(); # e.g. @tar_options = qw(--ignore-failed-read); # GNU tar has some useful options against unexpected errors.