=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf,v retrieving revision 3.25 retrieving revision 3.26 diff -u -p -r3.25 -r3.26 --- cvsweb/Attic/cvsweb.conf 2001/07/06 09:44:28 3.25 +++ cvsweb/Attic/cvsweb.conf 2001/08/01 09:32:22 3.26 @@ -6,8 +6,8 @@ # 1999 H. Nordstrom # 2000-2001 A. MUSHA # based on work by Bill Fenner -# $Id: cvsweb.conf,v 3.25 2001/07/06 09:44:28 knu Exp $ -# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 3.24 2001/04/24 15:24:01 knu Exp $ +# $Id: cvsweb.conf,v 3.26 2001/08/01 09:32:22 knu Exp $ +# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 3.25 2001/07/06 09:44:28 knu Exp $ # ### @@ -19,7 +19,7 @@ $command_path = '/bin:/usr/bin:/usr/local/bin'; # Search the above directories for each command for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) { - $CMD{$_} = search_path($_); + $CMD{$_} = search_path($_); } # The name of the operating system implementation @@ -40,35 +40,36 @@ chomp($uname = `$CMD{uname}`); # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository'] # Listed in the order specified: @CVSrepositories = ( - 'local' => ['Local Repository', '/home/cvs'], -# 'freebsd' => ['FreeBSD', '/home/ncvs'], -# 'openbsd' => ['OpenBSD', '/home/ncvs'], -# 'netbsd' => ['NetBSD', '/home/ncvs'], -# 'ruby' => ['Ruby', '/var/anoncvs/ruby'], - ); + 'local' => ['Local Repository', '/home/cvs'], +# 'freebsd' => ['FreeBSD', '/home/ncvs'], +# 'openbsd' => ['OpenBSD', '/home/ncvs'], +# 'netbsd' => ['NetBSD', '/home/ncvs'], +# 'ruby' => ['Ruby', '/var/anoncvs/ruby'], +); # This tree is enabled by default when # you enter the page -$cvstreedefault = $CVSrepositories[2 * 0]; # The first one +$cvstreedefault = $CVSrepositories[2 * 0]; # The first one ############## # 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 -# ); +# advocacy +# alpha +# bin +# conf +# docs +# gnu +# i386 +# kern +# misc +# pending +# ports +# sparc +#); + # #$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; # @@ -77,50 +78,52 @@ $cvstreedefault = $CVSrepositories[2 * 0]; # The first ############## # Manual gateway ############## -$mancgi = "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; +$mancgi = + "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; ############## # Defaults for UserSettings ############## %DEFAULTVALUE = ( - # sortby: File sort order - # file Sort by filename - # rev Sort by revision number - # date Sort by commit date - # author Sort by author - # log Sort by log message - "sortby" => "file", + # sortby: File sort order + # file Sort by filename + # rev Sort by revision number + # date Sort by commit date + # author Sort by author + # log Sort by log message - # hideattic: Hide or show files in Attic - # 1 Hide files in Attic - # 0 Show files in Attic + "sortby" => "file", - "hideattic" => "1", + # hideattic: Hide or show files in Attic + # 1 Hide files in Attic + # 0 Show files in Attic - # logsort: Sort order for CVS logs - # date Sort revisions by date - # rev Sort revision by revision number - # cvs Don't sort them. Same order as CVS/RCS shows them. + "hideattic" => "1", - "logsort" => "date", + # logsort: Sort order for CVS logs + # date Sort revisions by date + # rev Sort revision by revision number + # cvs Don't sort them. Same order as CVS/RCS shows them. - # f: Default diff format - # h Human readable - # u Unified diff - # c Context diff - # s Side by side - "f" => "u", + "logsort" => "date", - # hidecvsroot: Don't show the CVSROOT directory - # 1 Hide CVSROOT directory - # 0 Show CVSROOT directory - "hidecvsroot" => "0", + # f: Default diff format + # h Human readable + # u Unified diff + # c Context diff + # s Side by side + "f" => "u", - # hidenonreadable: Don't show entries which cannot be read - # 1 Hide non-readable entries - # 0 Show non-readable entries - "hidenonreadable" => "1", + # hidecvsroot: Don't show the CVSROOT directory + # 1 Hide CVSROOT directory + # 0 Show CVSROOT directory + "hidecvsroot" => "0", + + # hidenonreadable: Don't show entries which cannot be read + # 1 Hide non-readable entries + # 0 Show non-readable entries + "hidenonreadable" => "1", ); ############## @@ -210,12 +213,13 @@ EOT # If these icons are too large, check out the miniicons in the # icons/ directory; they have a width/height of 16/16 my $iconsdir = "/icons"; + # format: TEXT ICON-URL width height -%ICONS = ( - back => [ ("[BACK]", "$iconsdir/back.gif", 20, 22) ], - dir => [ ("[DIR]", "$iconsdir/dir.gif", 20, 22) ], - file => [ ("[TXT]", "$iconsdir/text.gif", 20, 22) ], - ); +%ICONS = ( + 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 @@ -254,8 +258,7 @@ $tableBorderColor = '#cccccc'; # Modules in the repository that should not be displayed, either by default # nor by explicit path specification. # -@HideModules = ( - ); +@HideModules = (); # # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules @@ -293,9 +296,9 @@ $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]\\): ", - "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ", - ); + "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ", + "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ", +); # ignore whitespaces for human readable diffs # (indendation and stuff ..) @@ -308,14 +311,14 @@ $hr_ignwhite = 0; $hr_ignkeysubst = 1; # Colors and font to show the diff type of code changes -$diffcolorHeading = '#99cccc'; # color of 'Line'-head of each diffed file -$diffcolorEmpty = '#cccccc'; # color of 'empty' lines -$diffcolorRemove = '#ff9999'; # Removed line(s) (left) ( - ) -$diffcolorChange = '#99ff99'; # Changed line(s) ( both ) -$diffcolorAdd = '#ccccff'; # Added line(s) ( - ) (right) -$diffcolorDarkChange = '#99cc99'; # lines, which are empty in change -$difffontface = "Helvetica,Arial"; -$difffontsize = "-1"; +$diffcolorHeading = '#99cccc'; # color of 'Line'-head of each diffed file +$diffcolorEmpty = '#cccccc'; # color of 'empty' lines +$diffcolorRemove = '#ff9999'; # Removed line(s) (left) ( - ) +$diffcolorChange = '#99ff99'; # Changed line(s) ( both ) +$diffcolorAdd = '#ccccff'; # Added line(s) ( - ) (right) +$diffcolorDarkChange = '#99cc99'; # lines, which are empty in change +$difffontface = "Helvetica,Arial"; +$difffontsize = "-1"; # the width of the textinput of the # request-diff-form @@ -337,18 +340,19 @@ $mime_types = '/usr/local/etc/apache/mime.types'; # file $mime_types (apache style mime.types - file) # - add common mappings here for faster lookup %MTYPES = ( - "html" => "text/html", - "shtml" => "text/html", - "gif" => "image/gif", - "jpeg" => "image/jpeg", - "jpg" => "image/jpeg", - "png" => "image/png", - "xpm" => "image/xpm", - "*" => "text/plain", - ); + "html" => "text/html", + "shtml" => "text/html", + "gif" => "image/gif", + "jpeg" => "image/jpeg", + "jpg" => "image/jpeg", + "png" => "image/png", + "xpm" => "image/xpm", + "*" => "text/plain", +); # Charset for HTML output $charset = ''; + # e.g. #$charset = $where =~ m,/ru[/_-], ? 'koi8-r' # : $where =~ m,/zh[/_-], ? 'big5' @@ -450,17 +454,20 @@ $allow_tar = ''; # Options to pass to tar(1). @tar_options = qw(); + # e.g. @tar_options = qw(--ignore-failed-read); # GNU tar has some useful options against unexpected errors. # Options to pass to gzip(1) when compressing a tarball to download. @gzip_options = qw(); + # e.g. @gzip_options = qw(-3); # Try lower compression level than 6 (default) if you want faster # compression, or higher, for better compression. # Options to pass to zip(1) when compressing a zip archive to download. @zip_options = qw(); + # e.g. @zip_options = qw(-3); # Try lower compression level than 6 (default) if you want faster # compression, or higher, for better compression. @@ -469,8 +476,10 @@ $allow_tar = ''; @cvs_options = qw(-l); push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD'); + # Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access # mode) option, which considerably speeds up checkouts over NFS. 1; + #EOF