head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2003.02.18.20.03.44;	author rse;	state dead;
branches;
next	1.2;

1.2
date	2001.11.23.15.41.35;	author rse;	state Exp;
branches;
next	1.1;

1.1
date	2001.08.29.13.29.36;	author rse;	state Exp;
branches;
next	;


desc
@@


1.3
log
@remove obsoleted cvsweb stuff
@
text
@##
##  cvsweb.conf
##

#   PATH Handling
$command_path = '/e/openpkg/sw/bin:/bin:/usr/bin:/usr/local/bin:' .
                '/e/openpkg/sw/sbin:/sbin:/usr/sbin:/usr/local/sbin';
for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) {
	$CMD{$_} = search_path($_);
}
chomp($uname = `$CMD{uname}`);

#   Repository List
@@CVSrepositories = (
	'openpkg' => ['OpenPKG CVS Repository', '/e/openpkg/cvs'],
);

#   The default repository tree
$cvstreedefault = $CVSrepositories[2 * 0]; # the first one

#   Bug tracking system options
#@@prcategories = qw(
#    bin
#    conf
#    docs
#);
#$prcgi = "http://@@l_hostname@@.@@l_domainname@@/bugdb/guest/findid?%s";
#$prkeyword = "PR";

#   User Setting
%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",

	# hideattic: Hide or show files in Attic
	#   1      Hide files in Attic
	#   0      Show files in Attic
	"hideattic" => "1",

	# 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.
	"logsort" => "date",

	# f:	 Default diff format
	#   h      Human readable
	#   u      Unified diff
	#   c      Context diff
	#   s      Side by side
	"f" => "u",

	# hidecvsroot: Don't show the CVSROOT directory
	#   1      Hide CVSROOT directory
	#   0      Show CVSROOT directory
	"hidecvsroot" => "1",

	# hidenonreadable: Don't show entries which cannot be read
	#   1      Hide non-readable entries
	#   0      Show non-readable entries
	"hidenonreadable" => "1",
);

#
#   Layouting
#

# The title of the Page on startup
$defaulttitle = "";

# color of navigation Header for
# diffs and annotations
$navigationHeaderColor = '#e5e0d5';

$long_intro = "";

$short_instruction = <<EOT;
<p>
Click on a directory to enter that directory. Click on a file to display
its revision history and to get a chance to display diffs between revisions. 
</p>
EOT

my $iconsdir = "/cvsweb/cvsweb.icons";
%ICONS = (
	back => [("[BACK]", "$iconsdir/back.gif", 16, 16)],
	dir  => [("[DIR]",  "$iconsdir/dir.gif",  16, 16)],
	file => [("[TXT]",  "$iconsdir/text.gif", 16, 16)],
);
undef $iconsdir;

# the length to which the last logentry should
# be truncated when shown in the directory view
$shortLogLen = 80;

# Show author of last change
$show_author = 1;

# Show directory as table
$dirtable = 1;

# show different colors for even/odd rows
@@tabcolors = ('#f0f0f0', '#ffffff');
$tablepadding = 0;

# Color of Header
$columnHeaderColorDefault = '#e5e0d5';
$columnHeaderColorSorted  = '#f5f0e5';

# If you want to have colored borders 
# around each row, uncomment this
$tableBorderColor = '#cccccc';

@@HideModules = (
#	"^my/secret/module",
);

@@ForbiddenFiles = (
	"^\.ssh/authorized_keys\$",
	"^CVSROOT/passwd\$",   # CVSROOT/passwd should not be cvs add'ed, though
	"/\\.cvspass\$",       # Ditto.  Just in case.
);

$use_descriptions = 0;

$mime_types = 'cvsweb.mime';
%MTYPES = (
	"html"  => "text/html",
	"shtml" => "text/html",
	"gif"   => "image/gif",
	"jpeg"  => "image/jpeg",
	"jpg"   => "image/jpeg",
	"png"   => "image/png",
	"xpm"   => "image/xpm",
	"*"     => "text/plain",
);

$charset = 'iso-8859-1';

$allow_annotate = 0;

# allow pretty-printed version of files
$allow_markup = 1;

# allow compression with gzip
# of output if the Browser accepts
# it (HTTP_ACCEPT_ENCODING=gzip)
$allow_compress = 1;

# Make use of javascript functions.
# This way you can select one of your CVSroot
# without pressing 'Go' (.. if you do have more
# than one CVSROOT defined)
$use_java_script = 1;

# open Download-Links in another window
$open_extern_window = 1;

# The size of this extern window; this size option
# needs use_java_script to be defined
# just comment them if you don't want to have a fixed
# size
#$extern_window_width = 600;
#$extern_window_height = 440;

# Edit Options
# Enable form to edit your options (hideattic,sortbydate)
# this isn't necessary if you've $dirtable defined 'cause
# this allows editing of all your options more intuitive
$edit_option_form = (not $dirtable);

# If you have files which automatically refers to other files
# (such as HTML) then this allows you to browse the checked
# out files as if outside CVS.
$checkout_magic = 1;

# Show last changelog message for sub directories
# The current implementation makes many assumptions and may show the
# incorrect file at some times. The main assumption is that the last
# modified file has the newest filedate. But some CVS operations
# touches the file without even when a new version is't checked in,
# and TAG based browsing essientially puts this out of order, unless
# the last checkin was on the same tag as you are viewing.
# Enable this if you like the feature, but don't rely on correct results.
$show_subdir_lastmod = 0;

# Background color of logentry in markup
$markupLogColor = "#e5e0d5";

# Show CVS log when viewing file contents
$show_log_in_markup = 1;

# Preformat when viewing file contents.  This should be turned off
# when you have files in the repository that are in a multibyte
# encoding which uses HTML special characters ([<>&"]) as part of a
# multi-byte character. (such as iso-2022-jp, ShiftJIS, etc.)
# Otherwise those files will get screwed up in markup.
$preformat_in_markup = '';

# 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;

# Allows downloading a tarball of the current directory if set.
# Bear in mind that this allows downloading a tarball of your entire
# repository, which can take a lot of time and disk space to create!
# If you enable this, you may need to make sure that cvsweb can write to
# CVSROOT/val-tags, due to a bug in cvs.
$allow_tar = '';

# Options to pass to tar(1).
@@tar_options = qw();

# e.g. @@tar_options = qw(--ignore-failed-read);
#      GNU tar has some useful options against unexpected errors.

# Options to pass to gzip(1) when compressing a tarball to download.
@@gzip_options = qw();

# e.g. @@gzip_options = qw(-3);
#      Try lower compression level than 6 (default) if you want faster
#      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).
@@cvs_options = qw(-l);

1;

@


1.2
log
@hide a few things
@
text
@@


1.1
log
@Add CVSweb support to website
@
text
@d61 1
a61 1
	"hidecvsroot" => "0",
d124 1
@

