[BACK]Return to cvsweb.conf CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / cvsweb

Diff for /cvsweb/Attic/cvsweb.conf between version 3.20 and 3.26

version 3.20, 2001/01/11 02:00:55 version 3.26, 2001/08/01 09:32:22
Line 4 
Line 4 
 #  #
 # (c) 1998-1999 H. Zeller    <zeller@think.de>  # (c) 1998-1999 H. Zeller    <zeller@think.de>
 #     1999      H. Nordstrom <hno@hem.passagen.se>  #     1999      H. Nordstrom <hno@hem.passagen.se>
 #     2000      A. MUSHA     <knu@FreeBSD.org>  #     2000-2001 A. MUSHA     <knu@FreeBSD.org>
 #          based on work by Bill Fenner  <fenner@FreeBSD.org>  #          based on work by Bill Fenner  <fenner@FreeBSD.org>
 # $zId: cvsweb.conf,v 3.27 2000/07/27 10:16:39 kcoar Exp $  
 # $Id$  # $Id$
   # $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 3.25 2001/07/06 09:44:28 knu Exp $
 #  #
 ###  ###
   
 # Set the path for the following commands:  # Set the path for the following commands:
 #   uname, cvs, rlog, rcsdiff  #   uname, cvs, rlog, rcsdiff
 #   gzip (if you enable $allow_compress)  #   gzip (if you enable $allow_compress)
 #   tar,rm (if you enable $allow_tar)  #   tar, rm, zip (if you enable $allow_tar)
 $command_path = '/bin:/usr/bin:/usr/local/bin';  $command_path = '/bin:/usr/bin:/usr/local/bin';
   
 # Search the above directories for each command  # Search the above directories for each command
 for (qw(uname cvs rlog rcsdiff gzip tar rm)) {  for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) {
     $CMD{$_} = search_path($_);          $CMD{$_} = search_path($_);
 }  }
   
 # The name of the operating system implementation  # The name of the operating system implementation
 $uname = `$CMD{uname}`;  chomp($uname = `$CMD{uname}`);
   
 ##############  ##############
 # CVS Root  # CVS Root
Line 40  $uname = `$CMD{uname}`;
Line 40  $uname = `$CMD{uname}`;
 # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']  # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
 # Listed in the order specified:  # Listed in the order specified:
 @CVSrepositories = (  @CVSrepositories = (
                     'local'     => ['Local Repository', '/home/cvs'],          'local'   => ['Local Repository', '/home/cvs'],
 #                   'freebsd'   => ['FreeBSD',          '/home/ncvs'],  #       'freebsd' => ['FreeBSD',          '/home/ncvs'],
 #                   'openbsd'   => ['OpenBSD',          '/home/ncvs'],  #       'openbsd' => ['OpenBSD',          '/home/ncvs'],
 #                   'netbsd'    => ['NetBSD',           '/home/ncvs'],  #       'netbsd'  => ['NetBSD',           '/home/ncvs'],
 #                   'ruby'      => ['Ruby',             '/var/anoncvs/ruby'],  #       'ruby'    => ['Ruby',             '/var/anoncvs/ruby'],
                    );  );
   
 # This tree is enabled by default when  # This tree is enabled by default when
 # you enter the page  # you enter the page
 $cvstreedefault = $CVSrepositories[2 * 0];      # The first one  $cvstreedefault = $CVSrepositories[2 * 0];    # The first one
   
 ##############  ##############
 # Bug tracking system options  # Bug tracking system options
 # ("PR" means Problem Report, as in GNATS)  # ("PR" means Problem Report, as in GNATS)
 ##############  ##############
 #@prcategories = qw(  #@prcategories = qw(
 #                  advocacy  #    advocacy
 #                  alpha  #    alpha
 #                  bin  #    bin
 #                  conf  #    conf
 #                  docs  #    docs
 #                  gnu  #    gnu
 #                  i386  #    i386
 #                  kern  #    kern
 #                  misc  #    misc
 #                  pending  #    pending
 #                  ports  #    ports
 #                  sparc  #    sparc
 #                 );  #);
   
 #  #
 #$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";  #$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";
 #  #
Line 77  $cvstreedefault = $CVSrepositories[2 * 0]; # The first
Line 78  $cvstreedefault = $CVSrepositories[2 * 0]; # The first
 ##############  ##############
 # Manual gateway  # 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  # Defaults for UserSettings
 ##############  ##############
 %DEFAULTVALUE = (  %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          "sortby" => "file",
       #   1      Hide files in Attic  
       #   0      Show files in Attic  
   
       "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          "hideattic" => "1",
       #   date   Sort revisions by date  
       #   rev    Sort revision by revision number  
       #   cvs    Don't sort them. Same order as CVS/RCS shows them.  
   
       "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          "logsort" => "date",
       #   h      Human readable  
       #   u      Unified diff  
       #   c      Context diff  
       #   s      Side by side  
       "f" => "u",  
   
       # hidecvsroot: Don't show the CVSROOT directory          # f:     Default diff format
       #   1      Hide CVSROOT directory          #   h      Human readable
       #   0      Show CVSROOT directory          #   u      Unified diff
       "hidecvsroot" => "0",          #   c      Context diff
           #   s      Side by side
           "f" => "u",
   
       # hidenonreadable: Don't show entries which cannot be read          # hidecvsroot: Don't show the CVSROOT directory
       #   1      Hide non-readable entries          #   1      Hide CVSROOT directory
       #   0      Show non-readable entries          #   0      Show CVSROOT directory
       "hidenonreadable" => "1",          "hidecvsroot" => "0",
   
           # hidenonreadable: Don't show entries which cannot be read
           #   1      Hide non-readable entries
           #   0      Show non-readable entries
           "hidenonreadable" => "1",
 );  );
   
 ##############  ##############
Line 160  a form at the bottom of the page that allows you to
Line 163  a form at the bottom of the page that allows you to
 display diffs between arbitrary revisions.  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 &lt;<a
 &lt;<a href="mailto:fenner\@FreeBSD.org">fenner\@FreeBSD.org</a>&gt;  href="mailto:fenner\@FreeBSD.org">fenner\@FreeBSD.org</a>&gt; and
 and improved by Henner Zeller  improved by Henner Zeller &lt;<a
 &lt;<a href="mailto:zeller\@think.de">zeller\@think.de</a>&gt;,  href="mailto:zeller\@think.de">zeller\@think.de</a>&gt;, Henrik
 Henrik Nordstr&ouml;m  Nordstr&ouml;m &lt;<a
 &lt;<a href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>&gt;, and  href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>&gt;, and
 Ken Coar  Ken Coar &lt;<a
 &lt;<a href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>&gt;, then  href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>&gt;, then
 Akinori MUSHA &lt;<a href="mailto:knu\@FreeBSD.org">knu\@FreeBSD.org</a>&gt;  Akinori MUSHA &lt;<a
 brought it back to FreeBSD community and added more facilities;  href="mailto:knu\@FreeBSD.org">knu\@FreeBSD.org</a>&gt; brought it
 it is covered by the  back to FreeBSD community and made further improvements; it is covered
 <a href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>.  by the <a
   href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>.
 </p>  </p>
 <p>  <p>
 If you would like to use this CGI script on your own web server and  If you would like to use this CGI script on your own web server and
 CVS tree, see Zeller's  CVS tree, download the latest version <a
 <a href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi"  href="http://www.idaemons.org/~knu/cvsweb/">here</a>, and also check
 >CVSweb distribution site</a>. Bill's original script can be found  out Zeller's <a
 <a href="http://www.FreeBSD.org/~fenner/cvsweb/">here</a>.  href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi" >CVSweb
   distribution site</a>.  Bill's original script can be found <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
Line 207  EOT
Line 213  EOT
 # If these icons are too large, check out the miniicons in the  # If these icons are too large, check out the miniicons in the
 # icons/ directory; they have a width/height of 16/16  # icons/ directory; they have a width/height of 16/16
 my $iconsdir = "/icons";  my $iconsdir = "/icons";
   
 # format:             TEXT      ICON-URL              width height  # format:             TEXT      ICON-URL              width height
 %ICONS  = (  %ICONS = (
            back => [ ("[BACK]", "$iconsdir/back.gif", 20,   22) ],          back => [("[BACK]", "$iconsdir/back.gif", 20, 22)],
            dir  => [ ("[DIR]",  "$iconsdir/dir.gif",  20,   22) ],          dir  => [("[DIR]",  "$iconsdir/dir.gif",  20, 22)],
            file => [ ("[TXT]",  "$iconsdir/text.gif", 20,   22) ],          file => [("[TXT]",  "$iconsdir/text.gif", 20, 22)],
           );  );
 undef $iconsdir;  undef $iconsdir;
   
 # the length to which the last logentry should  # the length to which the last logentry should
Line 251  $tableBorderColor = '#cccccc';
Line 258  $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  # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules
Line 290  $showfunc = 1;
Line 296  $showfunc = 1;
 # For each pair of regexps, files that match the first regexp will be diff'ed  # For each pair of regexps, files that match the first regexp will be diff'ed
 # with an '-F' option with the second regexp.  # with an '-F' option with the second regexp.
 %funcline_regexp = (  %funcline_regexp = (
                     "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ",          "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ",
                     "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ",          "\\.rb\$"       => "^[\t ]*\\(class\\|module\\|def\\) ",
                    );  );
   
 # ignore whitespaces for human readable diffs  # ignore whitespaces for human readable diffs
 # (indendation and stuff ..)  # (indendation and stuff ..)
Line 305  $hr_ignwhite = 0;
Line 311  $hr_ignwhite = 0;
 $hr_ignkeysubst = 1;  $hr_ignkeysubst = 1;
   
 # Colors and font to show the diff type of code changes  # Colors and font to show the diff type of code changes
 $diffcolorHeading    = '#99cccc';  # color of 'Line'-head of each diffed file  $diffcolorHeading    = '#99cccc';    # color of 'Line'-head of each diffed file
 $diffcolorEmpty      = '#cccccc';  # color of 'empty' lines  $diffcolorEmpty      = '#cccccc';    # color of 'empty' lines
 $diffcolorRemove     = '#ff9999';  # Removed line(s) (left)  (  -  )  $diffcolorRemove     = '#ff9999';    # Removed line(s) (left)  (  -  )
 $diffcolorChange     = '#99ff99';  # Changed line(s) (     both    )  $diffcolorChange     = '#99ff99';    # Changed line(s) (     both    )
 $diffcolorAdd        = '#ccccff';  # Added line(s)   (  - )  (right)  $diffcolorAdd        = '#ccccff';    # Added line(s)   (  - )  (right)
 $diffcolorDarkChange = '#99cc99';  # lines, which are empty in change  $diffcolorDarkChange = '#99cc99';    # lines, which are empty in change
 $difffontface        = "Helvetica,Arial";  $difffontface = "Helvetica,Arial";
 $difffontsize        = "-1";  $difffontsize = "-1";
   
 # the width of the textinput of the  # the width of the textinput of the
 # request-diff-form  # request-diff-form
Line 334  $mime_types = '/usr/local/etc/apache/mime.types';
Line 340  $mime_types = '/usr/local/etc/apache/mime.types';
 # file $mime_types (apache style mime.types - file)  # file $mime_types (apache style mime.types - file)
 # - add common mappings here for faster lookup  # - add common mappings here for faster lookup
 %MTYPES = (  %MTYPES = (
            "html"  => "text/html",          "html"  => "text/html",
            "shtml" => "text/html",          "shtml" => "text/html",
            "gif"   => "image/gif",          "gif"   => "image/gif",
            "jpeg"  => "image/jpeg",          "jpeg"  => "image/jpeg",
            "jpg"   => "image/jpeg",          "jpg"   => "image/jpeg",
            "png"   => "image/png",          "png"   => "image/png",
            "xpm"   => "image/xpm",          "xpm"   => "image/xpm",
            "*"     => "text/plain",          "*"     => "text/plain",
           );  );
   
 # Charset for HTML output  # Charset for HTML output
 $charset = '';  $charset = '';
   
 # e.g.  # e.g.
 #$charset = $where =~ m,/ru[/_-], ? 'koi8-r'  #$charset = $where =~ m,/ru[/_-], ? 'koi8-r'
 #  : $where =~ m,/zh[/_-], ? 'big5'  #  : $where =~ m,/zh[/_-], ? 'big5'
Line 447  $allow_tar = '';
Line 454  $allow_tar = '';
   
 # Options to pass to tar(1).  # Options to pass to tar(1).
 @tar_options = qw();  @tar_options = qw();
   
 # e.g. @tar_options = qw(--ignore-failed-read);  # e.g. @tar_options = qw(--ignore-failed-read);
 #      GNU tar has some useful options against unexpected errors.  #      GNU tar has some useful options against unexpected errors.
   
 # Options to pass to gzip(1) when compressing a tarball to download.  # Options to pass to gzip(1) when compressing a tarball to download.
 @gzip_options = qw();  @gzip_options = qw();
   
 # e.g. @gzip_options = qw(-3);  # e.g. @gzip_options = qw(-3);
 #      Try lower compression level than 6 (default) if you want faster  #      Try lower compression level than 6 (default) if you want faster
 #      compression, or upper, for higher compression.  #      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.
   
 # Options to pass to cvs(1).  # Options to pass to cvs(1).
 @cvs_options = qw(-l);  @cvs_options = qw(-l);
   
 push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');  push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');
   
 #      Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access  #      Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access
 #      mode) option, which considerably speeds up checkouts over NFS.  #      mode) option, which considerably speeds up checkouts over NFS.
   
 1;  1;
   
 #EOF  #EOF

Legend:
Removed from v.3.20  
changed lines
  Added in v.3.26

CVSweb