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

Annotation of CVSROOT/cvsweb.conf, Revision 1.1

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

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