=================================================================== RCS file: /home/cvs/CVSROOT/Attic/cvsweb.conf,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- CVSROOT/Attic/cvsweb.conf 2000/07/27 06:45:16 1.7 +++ CVSROOT/Attic/cvsweb.conf 2000/07/29 19:39:12 1.8 @@ -3,9 +3,11 @@ # CGI interface to CVS Repositories. # # (c) 1998-1999 H. Zeller -# 1999 H. Nordström -# based on work by Bill Fenner -# $Id: cvsweb.conf,v 1.7 2000/07/27 06:45:16 maekawa Exp $ +# 1999 H. Nordstrom +# 2000 A. MUSHA +# based on work by Bill Fenner +# $zId: cvsweb.conf,v 1.27 2000/07/27 10:16:39 kcoar Exp $ +# $Id: cvsweb.conf,v 1.8 2000/07/29 19:39:12 maekawa Exp $ # ### @@ -23,14 +25,40 @@ # 'symbolic_name' 'path_to_the_actual_repository' %CVSROOT = ( - 'OpenXM' => '/home/cvs' - ); + 'OpenXM' => '/home/cvs' + ); +%CVSROOTdescr = ( + 'OpenXM' => 'OpenXM CVS Repository' + ); + # This tree is enabled by default when # you enter the page $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 ############## %DEFAULTVALUE = ( @@ -61,7 +89,7 @@ $cvstreedefault = 'OpenXM'; # u Unified diff # c Context diff # s Side by side - "f" => "u", + "f" => ($is_textbased ? "u" : "h"), # hidecvsroot: Don't show the CVSROOT directory # 1 Hide CVSROOT directory @@ -70,7 +98,7 @@ $cvstreedefault = 'OpenXM'; # hidenonreadable: Don't show entries which cannot be read # 1 Hide non-readable entries - # 0 Show non-readble entries + # 0 Show non-readable entries "hidenonreadable" => "1", ); @@ -113,13 +141,15 @@ display diffs between arbitrary revisions.

This script has been written by Bill Fenner -<fenner\@freebsd.org> +<fenner\@FreeBSD.org> and improved by Henner Zeller <zeller\@think.de>, Henrik Nordström <hno\@hem.passagen.se>, and Ken Coar -<Ken.Coar\@Golux.Com>; +<Ken.Coar\@Golux.Com>, then +Akinori MUSHA <knu\@FreeBSD.org> +brought it back to FreeBSD community and added more facilities; it is covered by the BSD-Licence.

@@ -128,12 +158,13 @@ If you would like to use this CGI script on your own w CVS tree, see Zeller's CVSweb distribution site. Bill's original script can be found -here. +here.

Please send any suggestions, comments, etc. to -Bill Fenner or, regarding the +Bill Fenner or, regarding the modifications, to +Akinori MUSHA, Henner Zeller, Henrik Nordström, or Ken Coar. @@ -182,24 +213,24 @@ $show_author = 1; $dirtable = 1; # show different colors for even/odd rows -@tabcolors = ('#ccccee', '#ffffff'); +@tabcolors = ('#ffffff', '#ffffff'); $tablepadding = 2; # Color of Header -$columnHeaderColorDefault = '#cccccc'; -$columnHeaderColorSorted = '#88ff88'; +$columnHeaderColorDefault = '#ffffcc'; +$columnHeaderColorSorted = '#ffcc66'; # # If you want to have colored borders # around each row, uncomment this -# $tableBorderColor = '#999999'; +$tableBorderColor = '#cccccc'; # # Modules in the repository that should not be displayed, either by default # nor by explicit path specification. # @HideModules = ( - ); + ); # # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules @@ -228,12 +259,18 @@ $use_descriptions = 0; # exceed the width of the browser $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 # diff's heuristic doesn't work well .. # ( '-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 # (indendation and stuff ..) # ( '-w' option to diff) @@ -266,7 +303,7 @@ $inputTextSize = 12; # cvsweb to guess the correct mime-type on # checkout; you can use the mime.types from # 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 # mime-types for displaying checkouts in the browser. @@ -280,7 +317,7 @@ $mime_types = '/usr/local/web/apache/conf/mime.types'; "jpeg" => "image/jpeg", "jpg" => "image/jpeg", "*" => "text/plain", - ); + ); ############## # Misc