[BACK]Return to cvsweb.conf CVS log [TXT][DIR] Up to [local] / CVSROOT

Annotation of CVSROOT/cvsweb.conf, Revision 1.2

1.1       maekawa     1: # -*-perl-*-
                      2: # Configuration of cvsweb.cgi, the
                      3: # CGI interface to CVS Repositories.
                      4: #
                      5: # (c) 1998-1999 H. Zeller    <zeller@think.de>
                      6: #     1999      H. Nordström <hno@hem.passagen.se>
                      7: #          based on work by Bill Fenner  <fenner@freebsd.org>
                      8: # $Id: cvsweb.conf,v 1.23 1999/10/20 07:43:59 hzeller Exp $
                      9: #
                     10: ###
                     11:
                     12: ##############
                     13: # CVS Root
                     14: ##############
                     15: # CVSweb can handle several CVS-Repositories
                     16: # at once. Enter a short symbolic names and the
                     17: # full path of these repositories here.
                     18: # NOTE that the symbolic names may not contain
                     19: # whitespaces.
                     20: # Note, that cvsweb.cgi currently needs to have physical access
                     21: # to the CVS repository so :pserver:someone@xyz.com:/data/cvsroot
                     22: # won't work!
                     23:
                     24: # 'symbolic_name' 'path_to_the_actual_repository'
                     25: %CVSROOT = (
                     26:            'Development' => '/usr/local/src/cvsrep',
1.2     ! maekawa    27: #          'Configuration' => '/tmp/cvsroot/conf',
        !            28:            'HTML-files' => '/tmp/upload',
        !            29:            'OpenXM' => '/home/cvs'
1.1       maekawa    30:            );
                     31:
                     32: # This tree is enabled by default when
                     33: # you enter the page
1.2     ! maekawa    34: $cvstreedefault = 'OpenXM';
1.1       maekawa    35:
                     36: ##############
                     37: # Defaults for UserSettings
                     38: ##############
                     39: %DEFAULTVALUE = (
                     40:       # sortby: File sort order
                     41:       #   file   Sort by filename
                     42:       #   rev    Sort by revision number
                     43:       #   date   Sort by commit date
                     44:       #   author Sort by author
                     45:       #   log    Sort by log message
                     46:
                     47:       "sortby" => "file",
                     48:
                     49:       # hideattic: Hide or show files in Attic
                     50:       #   1      Hide files in Attic
                     51:       #   0      Show files in Attic
                     52:
                     53:       "hideattic" => "1",
                     54:
                     55:       # logsort: Sort order for CVS logs
                     56:       #   date   Sort revisions by date
                     57:       #   rev    Sort revision by revision number
                     58:       #   cvs    Don't sort them. Same order as CVS/RCS shows them.
                     59:
                     60:       "logsort" => "date",
                     61:
                     62:       # f:      Default diff format
                     63:       #   h      Human readable
                     64:       #   u      Unified diff
                     65:       #   c      Context diff
                     66:       #   s      Side by side
                     67:       "f" => "h",
                     68:
                     69:       # hidecvsroot: Don't show the CVSROOT directory
                     70:       #   1      Hide CVSROOT directory
                     71:       #   0      Show CVSROOT directory
                     72:       "hidecvsroot" => "0",
                     73:
                     74:       # hidenonreadable: Don't show entries which cannot be read
                     75:       #   1      Hide non-readable entries
                     76:       #   0      Show non-readble entries
                     77:       "hidenonreadable" => "1",
                     78: );
                     79:
                     80: ##############
                     81: # some layout stuff
                     82: ##############
                     83:
                     84: # color settings in the body-tag
                     85: $body_tag = '<body text="#000000" bgcolor="#ffffff">';
                     86:
                     87: # Wanna have a logo on the page ?
                     88: $logo = '<img src="/icons/apache_pb.gif">';
                     89:
                     90: # The title of the Page on startup
                     91: $defaulttitle = "CVS Repository";
                     92:
                     93: # The address is shown on the footer
                     94: $address = "zeller\@think.de";
                     95:
                     96: # Default page background color for the diffs
                     97: # and annotations
                     98: $backcolor = "#eeeeee";
                     99:
                    100: # color of navigation Header for
                    101: # diffs and annotations
                    102: $navigationHeaderColor = '#9999ee';
                    103:
                    104: $long_intro = <<EOT;
                    105: <p>
                    106: This is a WWW interface for CVS Repositories.
                    107: You can browse the file hierarchy by picking directories
                    108: (which have slashes after them, <i>e.g.</i>, <b>src/</b>).
                    109: If you pick a file, you will see the revision history
                    110: for that file.
                    111: Selecting a revision number will download that revision of
                    112: the file.  There is a link at each revision to display
                    113: diffs between that revision and the previous one, and
                    114: a form at the bottom of the page that allows you to
                    115: display diffs between arbitrary revisions.
                    116: </p>
                    117: <p>
                    118: This script has been written by Bill Fenner
                    119: &lt;<a href="mailto:fenner\@freebsd.org">fenner\@freebsd.org</a>&gt;
                    120: and improved by Henner Zeller
                    121: &lt;<a href="mailto:zeller\@think.de">zeller\@think.de</a>&gt;,
                    122: Henrik Nordstr&ouml;m
                    123: &lt;<a href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>&gt;, and
                    124: Ken Coar
                    125: &lt;<a href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>&gt;;
                    126: it is covered by the
                    127: <a href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>.
                    128: </p>
                    129: <p>
                    130: If you would like to use this CGI script on your own web server and
                    131: CVS tree, see Zeller's
                    132: <a href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi"
                    133: >CVSweb distribution site</a>. Bill's original script can be found
                    134: <a href="http://www.freebsd.org/~fenner/cvsweb/">here</a>.
                    135: </p>
                    136: <p>
                    137: Please send any suggestions, comments, etc. to
                    138: <a href="mailto:fenner\@freebsd.org">Bill Fenner</a> or, regarding the
                    139: modifications, to
                    140: <a href="mailto:zeller\@think.de">Henner Zeller</a>,
                    141: <a href="mailto:hno\@hem.passagen.se">Henrik Nordstr&ouml;m</a>, or
                    142: <a href="mailto:Ken.Coar\@Golux.Com">Ken Coar</a>.
                    143: </p>
                    144: EOT
                    145:
                    146: $short_instruction = <<EOT;
                    147: <p>
                    148: Click on a directory to enter that directory. Click on a file to display
                    149: its revision history and to get a chance to display diffs between revisions.
                    150: </p>
                    151: EOT
                    152:
                    153: # used icons; if icon-url is empty, the text representation is used; if
                    154: # you do not want to have an ugly tooltip for the icon, remove the
                    155: # text-representation.
                    156: # The width and height of the icon allow the browser to correcly display
                    157: # the table while still loading the icons.
                    158: # These default icons are coming with apache.
                    159: # If these icons are too large, check out the miniicons in the
                    160: # icons/ directory; they have a width/height of 16/16
                    161: # format:               TEXT      ICON-URL          width height
                    162: %ICONS  = (
                    163:           back => [ ("[BACK]", "/icons/back.gif", 20,   22) ],
                    164:           dir  => [ ("[DIR]",  "/icons/dir.gif",  20,   22) ],
                    165:           file => [ ("[TXT]",  "/icons/text.gif", 20,   22) ],
                    166:           );
                    167:
                    168: # the length to which the last logentry should
                    169: # be truncated when shown in the directory view
                    170: $shortLogLen = 80;
                    171:
                    172: # Show author of last change
                    173: $show_author = 1;
                    174:
                    175: ##############
                    176: # table view for directories
                    177: ##############
                    178:
                    179: # Show directory as table
                    180: # this is much more readable but has one
                    181: # drawback: the whole table has to be loaded
                    182: # before common browsers display it which may
                    183: # be annoying if you have a slow link - and a
                    184: # large directory ..
                    185: $dirtable = 1;
                    186:
                    187: # show different colors for even/odd rows
                    188: @tabcolors = ('#ccccee', '#ffffff');
                    189: $tablepadding = 2;
                    190:
                    191: # Color of Header
                    192: $columnHeaderColorDefault = '#cccccc';
                    193: $columnHeaderColorSorted = '#88ff88';
                    194:
                    195: #
                    196: # If you want to have colored borders
                    197: # around each row, uncomment this
                    198: # $tableBorderColor = '#999999';
                    199:
                    200: #
                    201: # Modules in the repository that should not be displayed, either by default
                    202: # nor by explicit path specification.
                    203: #
                    204: @HideModules = (
                    205:                );
                    206:
                    207: ##############
                    208: # Human Readable Diff
                    209: ##############
                    210:
                    211: # (c) 1998 H. Zeller <zeller@think.de>
                    212: #
                    213: # Generates two columns of color encoded
                    214: # diff; much like xdiff or emacs-ediff mode.
                    215: #
                    216: # The diff-stuff is a piece of code I once made for
                    217: # cvs2html which is under GPL,
                    218: # see http://www.sslug.dk/cvs2html
                    219: # (c) 1997/98 Peter Toft <pto@sslug.imm.dtu.dk>
                    220: #
                    221: # some parameters to screw:
                    222: ##
                    223:
                    224: # make lines breakable so that the columns do not
                    225: # exceed the width of the browser
                    226: $hr_breakable = 1;
                    227:
                    228: # give out function names in human readable diffs
                    229: # this just makes sense if we have C-files, otherwise
                    230: # diff's heuristic doesn't work well ..
                    231: # ( '-p' option to diff)
                    232: $hr_funout = 0;
                    233:
                    234: # ignore whitespaces for human readable diffs
                    235: # (indendation and stuff ..)
                    236: # ( '-w' option to diff)
                    237: $hr_ignwhite = 1;
                    238:
                    239: # ignore diffs which are caused by
                    240: # keyword-substitution like $Id - Stuff
                    241: # ( '-kk' option to rcsdiff)
                    242: $hr_ignkeysubst = 1;
                    243:
                    244: # Colors and font to show the diff type of code changes
                    245: $diffcolorHeading    = '#99cccc';  # color of 'Line'-head of each diffed file
                    246: $diffcolorEmpty      = '#cccccc';  # color of 'empty' lines
                    247: $diffcolorRemove     = '#ff9999';  # Removed line(s) (left)  (  -  )
                    248: $diffcolorChange     = '#99ff99';  # Changed line(s) (     both    )
                    249: $diffcolorAdd        = '#ccccff';  # Added line(s)   (  - )  (right)
                    250: $diffcolorDarkChange = '#99cc99';  # lines, which are empty in change
                    251: $difffontface        = "Helvetica,Arial";
                    252: $difffontsize        = "-1";
                    253:
                    254: # the width of the textinput of the
                    255: # request-diff-form
                    256: $inputTextSize = 12;
                    257:
                    258: ##############
                    259: # Mime Types
                    260: ##############
                    261:
                    262: # mapping to mimetypes to help
                    263: # cvsweb to guess the correct mime-type on
                    264: # checkout; you can use the mime.types from
                    265: # apache here:
                    266: $mime_types = '/usr/local/web/apache/conf/mime.types';
                    267:
                    268: # quick mime-type lookup; maps file-suffices to
                    269: # mime-types for displaying checkouts in the browser.
                    270: # Further MimeTypes will be found in the
                    271: # file $mime_types (apache style mime.types - file)
                    272: # - add common mappings here for faster lookup
                    273: %MTYPES = (
                    274:           "html"  => "text/html",
                    275:           "shtml" => "text/html",
                    276:           "gif"   => "image/gif",
                    277:           "jpeg"  => "image/jpeg",
                    278:           "jpg"   => "image/jpeg",
                    279:           "*"     => "text/plain",
                    280:           );
                    281:
                    282: ##############
                    283: # Misc
                    284: ##############
                    285: # allow annotation of files
                    286: # this requires rw-access to the
                    287: # CVSROOT/history - file and rw-access
                    288: # to the subdirectory to place the lock
                    289: # so you maybe don't want it
                    290: $allow_annotate = 1;
                    291:
                    292: # allow pretty-printed version of files
                    293: $allow_markup = 1;
                    294:
                    295: # allow compression with gzip
                    296: # of output if the Browser accepts
                    297: # it (HTTP_ACCEPT_ENCODING=gzip)
                    298: # [make sure to have gzip in the path]
                    299: $allow_compress = 1;
                    300:
                    301: # Make use of javascript functions.
                    302: # This way you can select one of your CVSroot
                    303: # without pressing 'Go' (.. if you do have more
                    304: # than one CVSROOT defined)
                    305: $use_java_script = 1;
                    306:
                    307: # open Download-Links in another window
                    308: $open_extern_window = 1;
                    309:
                    310: # The size of this extern window; this size option
                    311: # needs use_java_script to be defined
                    312: # just comment them if you don't want to have a fixed
                    313: # size
                    314: #$extern_window_width = 600;
                    315: #$extern_window_height = 440;
                    316:
                    317: # Edit Options
                    318: # Enable form to edit your options (hideattic,sortbydate)
                    319: # this isn't necessary if you've $dirtable defined 'cause
                    320: # this allows editing of all your options more intuitive
                    321: $edit_option_form = (not $dirtable);
                    322:
                    323: # remember to set the path to your
                    324: # rcsutils: rlog, rcsdiff (gzip if you use compression)
                    325: #$ENV{'PATH'} = '/usr/local/bin';
                    326:
                    327: # If you have files which automatically refers to other files
                    328: # (such as HTML) then this allows you to browse the checked
                    329: # out files as if outside CVS.
                    330: $checkout_magic = 1;
                    331:
                    332: # Show last changelog message for sub directories
                    333: # The current implementation makes many assumptions and may show the
                    334: # incorrect file at some times. The main assumption is that the last
                    335: # modified file has the newest filedate. But some CVS operations
                    336: # touches the file without even when a new version is't checked in,
                    337: # and TAG based browsing essientially puts this out of order, unless
                    338: # the last checkin was on the same tag as you are viewing.
                    339: # Enable this if you like the feature, but don't rely on correct results.
                    340: $show_subdir_lastmod = 0;
                    341:
                    342: # Background color of logentry in markup
                    343: $markupLogColor = "#ffffff";
                    344:
                    345: # Show CVS log when viewing file contents
                    346: $show_log_in_markup = 1;
                    347:
                    348: # Tabstop used to expand tabs in colored diffs. If undefined then
                    349: # tabs are always expanded to 8 spaces.
                    350: $tabstop = 8;
                    351:
                    352: #EOF

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>