=================================================================== RCS file: /home/cvs/CVSROOT/Attic/cvsweb.conf,v retrieving revision 1.1 retrieving revision 1.8 diff -u -p -r1.1 -r1.8 --- CVSROOT/Attic/cvsweb.conf 1999/12/27 20:19:55 1.1 +++ 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.1 1999/12/27 20:19:55 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,16 +25,40 @@ # 'symbolic_name' 'path_to_the_actual_repository' %CVSROOT = ( - 'Development' => '/usr/local/src/cvsrep', - 'Configuration' => '/tmp/cvsroot/conf', - 'HTML-files' => '/tmp/upload' - ); + 'OpenXM' => '/home/cvs' + ); +%CVSROOTdescr = ( + 'OpenXM' => 'OpenXM CVS Repository' + ); + # This tree is enabled by default when # 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 ############## %DEFAULTVALUE = ( @@ -63,16 +89,16 @@ $cvstreedefault = 'Configuration'; # u Unified diff # c Context diff # s Side by side - "f" => "h", + "f" => ($is_textbased ? "u" : "h"), # hidecvsroot: Don't show the CVSROOT directory # 1 Hide CVSROOT directory # 0 Show CVSROOT directory - "hidecvsroot" => "0", + "hidecvsroot" => "1", # 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", ); @@ -87,10 +113,10 @@ $body_tag = ''; $logo = ''; # The title of the Page on startup -$defaulttitle = "CVS Repository"; +$defaulttitle = "OpenXM CVS Repository"; # 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 # and annotations @@ -115,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.

@@ -130,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. @@ -184,25 +213,31 @@ $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 +# See INSTALL section 8 +# +$use_descriptions = 0; + ############## # Human Readable Diff ############## @@ -224,12 +259,18 @@ $columnHeaderColorSorted = '#88ff88'; # 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) @@ -262,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. @@ -276,7 +317,7 @@ $mime_types = '/usr/local/web/apache/conf/mime.types'; "jpeg" => "image/jpeg", "jpg" => "image/jpeg", "*" => "text/plain", - ); + ); ############## # Misc @@ -347,5 +388,17 @@ $show_log_in_markup = 1; # Tabstop used to expand tabs in colored diffs. If undefined then # tabs are always expanded to 8 spaces. $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