2000-03-23 14:57:59 +03:00
|
|
|
#---------------------------------------------------------------------------
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
2005-12-17 20:19:28 +03:00
|
|
|
# Configuration file for ViewVC
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
2005-12-17 20:19:28 +03:00
|
|
|
# Information on ViewVC is located at the following web site:
|
|
|
|
# http://viewvc.org/
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
2006-09-28 21:51:17 +04:00
|
|
|
# THE FORMAT OF THIS CONFIGURATION FILE
|
|
|
|
#
|
|
|
|
# This file is delineated by sections, specified in [brackets]. Within
|
|
|
|
# each section, are a number of configuration settings. These settings
|
|
|
|
# take the form of: name = value. Values may be continued on the
|
|
|
|
# following line by indenting the continued line.
|
|
|
|
#
|
|
|
|
# WARNING: Indentation *always* means continuation. Name=value lines
|
|
|
|
# should always start in column zero.
|
|
|
|
#
|
|
|
|
# Comments should always start in column zero, and are identified
|
|
|
|
# with "#".
|
|
|
|
#
|
|
|
|
# Certain configuration settings may have multiple values. These should
|
|
|
|
# be separated by a comma. The settings where this is allowed are noted
|
|
|
|
# below. Any other setting that requires special syntax is noted at that
|
|
|
|
# setting.
|
|
|
|
#
|
|
|
|
#
|
2006-07-12 08:18:39 +04:00
|
|
|
# SOME TERMINOLOGY USED HEREIN
|
|
|
|
#
|
|
|
|
# "root" - This is a CVS or Subversion repository. For Subversion, the
|
|
|
|
# meaning is pretty clear, as the virtual, versioned directory tree
|
|
|
|
# stored inside a Subversion repository looks nothing like the actual
|
|
|
|
# tree visible with shell utilities that holds the repository. For
|
|
|
|
# CVS, this is more confusing, because CVS's repository layout mimics
|
|
|
|
# (actually, defines) the layout of the stuff housed in the repository.
|
|
|
|
# But a CVS repository can be identified by the presence of a CVSROOT
|
|
|
|
# subdirectory in its root directory.
|
|
|
|
#
|
|
|
|
# "module" - A module is a top-level subdirectory of a root, usually
|
|
|
|
# associated with the concept of a single "project" among many housed
|
|
|
|
# within a single repository.
|
|
|
|
#
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
2006-09-28 21:51:17 +04:00
|
|
|
# BASIC VIEWVC CONFIGURATION HINTS
|
|
|
|
#
|
|
|
|
# While ViewVC has quite a few configuration options, you generally
|
|
|
|
# only need to change a small subset of them to get your ViewVC
|
|
|
|
# installation working properly. Here are some options that we
|
|
|
|
# recommend you pay attention to. Of course, don't try to change the
|
|
|
|
# options here -- do so in the relevant section of the configuration
|
|
|
|
# file below.
|
|
|
|
#
|
|
|
|
# For correct operation, you will probably need to change the following
|
|
|
|
# configuration variables:
|
|
|
|
#
|
|
|
|
# cvs_roots (for CVS)
|
|
|
|
# svn_roots (for Subversion)
|
|
|
|
# root_parents (for CVS or Subversion)
|
|
|
|
# default_root
|
|
|
|
# mime_types_file
|
|
|
|
# the many options in the [utilities] section
|
|
|
|
#
|
|
|
|
# It is usually desirable to change the following variables:
|
|
|
|
#
|
|
|
|
# address
|
|
|
|
# forbidden
|
|
|
|
#
|
|
|
|
# use_enscript
|
|
|
|
# use_cvsgraph
|
|
|
|
#
|
|
|
|
# To optimize delivery of ViewVC static files:
|
|
|
|
#
|
|
|
|
# docroot
|
|
|
|
#
|
|
|
|
# To customize the display of ViewVC for your site:
|
|
|
|
#
|
|
|
|
# template_dir
|
|
|
|
# the [templates] override section
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
2000-03-23 14:57:59 +03:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
[general]
|
|
|
|
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
|
|
|
# This setting specifies each of the CVS roots on your system and assigns
|
|
|
|
# names to them. Each root should be given by a "name: path" value. Multiple
|
2003-07-29 06:57:51 +04:00
|
|
|
# roots should be separated by commas and can be placed on separate lines.
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
2003-07-29 06:57:51 +04:00
|
|
|
cvs_roots = cvs: /home/cvsroot
|
2000-03-23 14:57:59 +03:00
|
|
|
|
2002-12-12 05:02:52 +03:00
|
|
|
#
|
|
|
|
# This setting specifies each of the Subversion roots (repositories)
|
|
|
|
# on your system and assigns names to them. Each root should be given
|
|
|
|
# by a "name: path" value. Multiple roots should be separated by
|
2003-07-29 06:57:51 +04:00
|
|
|
# commas and can be placed on separate lines.
|
2002-12-12 05:02:52 +03:00
|
|
|
#
|
2003-07-29 06:57:51 +04:00
|
|
|
#svn_roots = svn: /home/svnrepos
|
2002-12-12 05:02:52 +03:00
|
|
|
|
2004-07-16 19:43:01 +04:00
|
|
|
# The 'root_parents' setting specifies a list of directories in which
|
|
|
|
# any number of repositories may reside. Rather than force you to add
|
|
|
|
# a new entry to 'cvs_roots' or 'svn_roots' each time you create a new
|
2005-12-17 20:19:28 +03:00
|
|
|
# repository, ViewVC rewards you for organising all your repositories
|
2004-07-16 19:43:01 +04:00
|
|
|
# under a few parent directories by allowing you to simply specifiy
|
2005-12-17 20:19:28 +03:00
|
|
|
# just those parent directories. ViewVC will then notice each
|
2002-12-12 05:02:52 +03:00
|
|
|
# repository in that directory as a new root whose name is the
|
|
|
|
# subdirectory of the parent path in which that repository lives.
|
|
|
|
#
|
2004-07-16 19:43:01 +04:00
|
|
|
# You can specify multiple parent paths separated by commas or new lines.
|
|
|
|
#
|
2002-12-12 05:02:52 +03:00
|
|
|
# Caution: these names can, of course, clash with names you have
|
|
|
|
# defined in your cvs_roots or svn_roots configuration items. If this
|
|
|
|
# occurs, you can either rename the offending repository on disk, or
|
|
|
|
# grant new names to the clashing item in cvs_roots or svn_roots.
|
2004-07-16 19:43:01 +04:00
|
|
|
# Each parent path is processed sequentially, so repositories under
|
|
|
|
# later parent paths may override earlier ones.
|
2002-12-12 05:02:52 +03:00
|
|
|
#
|
2004-07-16 19:43:01 +04:00
|
|
|
#root_parents = /home/svn-repositories : svn,
|
|
|
|
# /home/cvs-repositories : cvs
|
2002-12-12 05:02:52 +03:00
|
|
|
|
2005-02-04 21:32:32 +03:00
|
|
|
# this is the name of the default root
|
|
|
|
# (ignored when root_as_url_component is turned on)
|
2002-12-12 05:02:52 +03:00
|
|
|
default_root = cvs
|
2000-03-23 14:57:59 +03:00
|
|
|
|
Get ccvs module in working state, and add "use_rcsparse" option to use
it instead of bincvs. It works for log pages, directory pages, markup
pages, checkouts, and tarball downloads, but not for diffs because vclib
doesn't currently have an interface for diffing.
* viewcvs.conf.dist
(use_rcsparse):
new option
* lib/config.py
(Config.set_defaults):
make use_rcsparse off by default
* lib/viewcvs.py
(Request.run_viewcvs)
import ccvs module instead of bincvs if use_rcsparse is enabled
(markup_stream_enscript):
check for eof() method on file objects before calling
* lib/vclib/bincvs/__init__.py
(CVSRepository, BinCVSRepository):
separate new base class CVSRepository out of BinCVSRepository.
The new base class is shared with the ccvs module
(BinCVSRepository.filelog, _file_log):
move calls to rcs utilities out of _file_log() function and into the
filelog() method. This way _file_log() can be shared with the ccvs
module
(Revision.__init__):
add default argument values to simplify some calls in the ccvs module
(_get_logs, _log_path):
move some functionality out of _get_logs() into new _log_path()
function, which is shared with ccvs
* lib/vclib/ccvs/__init__.py
Lots of kludges added to this module to get it running again and taking
advantage of functionality already implemented in bincvs. It's not
pretty, but at least it works and is no longer out of date.
(CCVSRepository, CVSRepository):
delete old CVSRepository class, create new CCVSRepository class
implementing the current vclib api
(MatchingSink):
new sink superclass
(InfoSink):
updated to work with tags and default branches instead of always
finding latest trunk revisions. Also changed to work with DirEntry
objects
(TreeSink):
updated to work with Revision objects
(StreamText.next_revision, StreamText):
remove "next_revision" debugging method and all references to it
(COSink):
reimplement with a simpler algorithm
* lib/vclib/ccvs/rcsparse/common.py
(Sink.admin_completed):
new callback
(_Parser.parse):
call new callback
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@798 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-01-25 22:25:30 +03:00
|
|
|
# use rcsparse python module to retrieve cvs repository information instead
|
|
|
|
# of invoking rcs utilities. this feature is experimental
|
|
|
|
use_rcsparse = 0
|
|
|
|
|
2000-03-24 13:45:07 +03:00
|
|
|
#
|
2005-12-17 20:19:28 +03:00
|
|
|
# This is a pathname to a MIME types file to help viewvc to guess the
|
2000-03-24 13:45:07 +03:00
|
|
|
# correct MIME type on checkout.
|
|
|
|
#
|
|
|
|
# If you are having problems with the default guess on the MIME type, then
|
|
|
|
# uncomment this option and point it at a MIME type file.
|
|
|
|
#
|
|
|
|
# For example, you can use the mime.types from apache here:
|
|
|
|
#mime_types_file = /usr/local/apache/conf/mime.types
|
2000-03-23 14:57:59 +03:00
|
|
|
|
2001-10-23 00:30:05 +04:00
|
|
|
# This address is shown in the footer of the generated pages.
|
2002-12-12 05:02:52 +03:00
|
|
|
# It must be replaced with the address of the local repository maintainer.
|
|
|
|
address = <a href="mailto:cvs-admin@insert.your.domain.here">No admin address has been configured</a>
|
2000-03-23 14:57:59 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# This should contain a list of modules in the repository that should not be
|
|
|
|
# displayed (by default or by explicit path specification).
|
|
|
|
#
|
2000-05-09 03:54:35 +04:00
|
|
|
# This configuration can be a simple list of modules, or it can get quite
|
|
|
|
# complex:
|
|
|
|
#
|
|
|
|
# *) The "!" can be used before a module to explicitly state that it
|
|
|
|
# is NOT forbidden. Whenever this form is seen, then all modules will
|
|
|
|
# be forbidden unless one of the "!" modules match.
|
|
|
|
#
|
|
|
|
# *) Shell-style "glob" expressions may be used. "*" will match any
|
|
|
|
# sequence of zero or more characters, "?" will match any single
|
|
|
|
# character, "[seq]" will match any character in seq, and "[!seq]"
|
|
|
|
# will match any character not in seq.
|
|
|
|
#
|
|
|
|
# *) Tests are performed in sequence. The first match will terminate the
|
|
|
|
# testing. This allows for more complex allow/deny patterns.
|
|
|
|
#
|
|
|
|
# Tests are case-sensitive.
|
|
|
|
#
|
2006-07-12 08:18:39 +04:00
|
|
|
# NOTE: Again, this is for the hiding of modules within repositories, *not*
|
|
|
|
# for the hiding of repositories (roots) themselves.
|
|
|
|
#
|
2000-03-23 14:57:59 +03:00
|
|
|
forbidden =
|
2000-05-09 03:54:35 +04:00
|
|
|
|
|
|
|
# Some examples:
|
|
|
|
#
|
|
|
|
# Disallow "example" but allow all others:
|
|
|
|
# forbidden = example
|
|
|
|
#
|
|
|
|
# Disallow "example1" and "example2" but allow all others:
|
|
|
|
# forbidden = example1, example2
|
|
|
|
#
|
|
|
|
# Allow *only* "example1" and "example2":
|
|
|
|
# forbidden = !example1, !example2
|
|
|
|
#
|
|
|
|
# Forbid modules starting with "x":
|
|
|
|
# forbidden = x*
|
|
|
|
#
|
|
|
|
# Allow modules starting with "x" but no others:
|
|
|
|
# forbidden = !x*
|
|
|
|
#
|
|
|
|
# Allow "xml", forbid other modules starting with "x", and allow the rest:
|
|
|
|
# forbidden = !xml, x*, !*
|
|
|
|
#
|
2000-03-23 14:57:59 +03:00
|
|
|
|
2001-12-20 03:18:12 +03:00
|
|
|
#
|
|
|
|
# This option provides a mechanism for custom key/value pairs to be
|
|
|
|
# available to templates. These are stored in key/value files (KV files).
|
|
|
|
#
|
|
|
|
# Pathnames to the KV files are listed here, specified as absolute paths
|
|
|
|
# or relative to this configuration file. The kV files follow the same
|
|
|
|
# format as this configuration file. It may have multiple, user-defined
|
|
|
|
# sections, and user-defined options in those sections. These are all
|
|
|
|
# placed into a structure available to the templates as:
|
|
|
|
#
|
|
|
|
# kv.SECTION.OPTION
|
|
|
|
#
|
|
|
|
# Note that an option name can be dotted. For example:
|
|
|
|
#
|
|
|
|
# [my_images]
|
|
|
|
# logos.small = /images/small-logo.png
|
|
|
|
# logos.big = /images/big-logo.png
|
|
|
|
#
|
|
|
|
# Templates can use these with a directive like: [kv.my_images.logos.small]
|
|
|
|
#
|
|
|
|
# Note that sections across multiple files will be merged. If two files
|
|
|
|
# have a [my_images] section, then the options will be merged together.
|
|
|
|
# If two files have the same option name in a section, then one will
|
|
|
|
# overwrite the other (it is unspecified regarding which "wins").
|
|
|
|
#
|
|
|
|
# To further categorize the KV files, and how the values are provided to
|
|
|
|
# the templates, a KV file name may be annotated with an additional level
|
|
|
|
# of dotted naming. For example:
|
|
|
|
#
|
|
|
|
# kv_files = [asf]kv/images.conf
|
|
|
|
#
|
|
|
|
# Assuming the same section as above, the template would refer to an image
|
|
|
|
# using [kv.asf.my_images.logos.small]
|
|
|
|
#
|
|
|
|
# Lastly, it is possible to use %lang% in the filenames to specify a
|
|
|
|
# substitution of the selected language-tag.
|
|
|
|
#
|
|
|
|
kv_files =
|
|
|
|
|
|
|
|
# example:
|
|
|
|
# kv_files = kv/file1.conf, kv/file2.conf, [i18n]kv/%lang%_data.conf
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
2005-12-17 20:19:28 +03:00
|
|
|
# The languages available to ViewVC. There are several i18n mechanisms
|
2001-12-20 03:18:12 +03:00
|
|
|
# available:
|
|
|
|
#
|
|
|
|
# 1) using key/value extension system and reading KV files based on
|
|
|
|
# the selected language
|
|
|
|
# 2) GNU gettext to substitute text in the templates
|
|
|
|
# 3) using different templates, based on the selected language
|
|
|
|
#
|
|
|
|
# ### NOTE: at the moment, the GNU gettext style is not implemented
|
|
|
|
#
|
|
|
|
# This option is a comma-separated list of language-tag values. The first
|
|
|
|
# language-tag listed is the default language, and will be used if an
|
|
|
|
# Accept-Language header is not present in the request, or none of the
|
|
|
|
# user's requested languages are available. If there are ties on the
|
|
|
|
# selection of a language, then the first to appear in the list is chosen.
|
|
|
|
#
|
|
|
|
languages = en-us
|
|
|
|
|
|
|
|
# other examples:
|
|
|
|
#
|
|
|
|
# languages = en-us, de
|
|
|
|
# languages = en-us, en-gb, de
|
|
|
|
# languages = de, fr, en-us
|
|
|
|
#
|
|
|
|
|
2006-07-28 15:04:12 +04:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
[utilities]
|
|
|
|
|
|
|
|
# ViewVC uses (sometimes optionally) various third-party programs to do some
|
|
|
|
# of the heavy lifting. Generally, it will attempt to execute those utility
|
|
|
|
# programs in such a way that if they are found in ViewVC's executable
|
|
|
|
# search path ($PATH, %PATH%, etc.) all is well. But sometimes these tools
|
|
|
|
# aren't installed in the executable search path, so here's where you can
|
|
|
|
# tell ViewVC where to find them.
|
|
|
|
#
|
|
|
|
# NOTE: Options with a "_dir" suffix are for configuring the directories
|
|
|
|
# in which certain programs live; otherwise, the option value should
|
|
|
|
# point to the actual program.
|
|
|
|
|
|
|
|
# RCS utilities, used for viewing CVS repositories
|
|
|
|
rcs_dir =
|
|
|
|
# rcs_dir = /usr/bin/
|
|
|
|
|
|
|
|
# ViewVC can use CVSNT (www.cvsnt.org) instead of the RCS utilities to
|
|
|
|
# retrieve information from CVS repositories. To enable use of CVSNT,
|
|
|
|
# set the "cvsnt" value to the path of the CVSNT executable. (If CVSNT
|
|
|
|
# is on the standard path, you can also set it to the name of the
|
|
|
|
# CVSNT executable). By default "cvsnt" is set to "cvs" on Windows and
|
|
|
|
# is not set on other platforms.
|
|
|
|
cvsnt =
|
|
|
|
# cvsnt =
|
|
|
|
# cvsnt = cvs
|
|
|
|
# cvsnt = K:\Program Files\cvsnt\cvs.exe
|
|
|
|
# cvsnt = = /usr/bin/cvs
|
|
|
|
|
|
|
|
# Subversion command-line client, used for viewing Subversion repositories
|
|
|
|
svn =
|
|
|
|
# svn_dir = /usr/bin/svn
|
|
|
|
|
|
|
|
# GNU diff, used for showing file version differences
|
|
|
|
diff =
|
|
|
|
# diff = /usr/bin/diff
|
|
|
|
|
|
|
|
# GNU Enscript, a syntax highlighting program (see options.use_enscript)
|
|
|
|
enscript =
|
|
|
|
# enscript = /usr/bin/enscript
|
|
|
|
|
|
|
|
# Highlight, a syntax highlighting program (see options.use_highlight)
|
|
|
|
highlight =
|
|
|
|
# highlight = /usr/bin/highlight
|
|
|
|
|
|
|
|
# Marc-Andrew Lemburg's py2html, Python colorizer (see options.use_py2html)
|
|
|
|
py2html_dir = .
|
|
|
|
# py2html_dir = /usr/local/lib/python1.5/site-python
|
|
|
|
|
|
|
|
# PHP, used to colorize PHP files (see options.use_php)
|
2006-09-28 00:06:22 +04:00
|
|
|
# (This should be set to the path of a PHP CLI executable, not the path
|
|
|
|
# to a CGI executable. If you use a CGI executable, you may see "no input file
|
|
|
|
# specified" or "force-cgi-redirect" errors instead of colorized source. The
|
|
|
|
# output of "php -v" tells you whether an given executable is CLI or CGI.)
|
2006-07-28 15:04:12 +04:00
|
|
|
php = php
|
|
|
|
# php = /usr/local/bin/php
|
|
|
|
# php = C:\Program Files\php\cli\php.exe
|
|
|
|
|
|
|
|
# CvsGraph, a graphical CVS version graph generator (see options.use_cvsgraph)
|
|
|
|
cvsgraph =
|
|
|
|
# cvsgraph = /usr/local/bin/cvsgraph
|
|
|
|
|
|
|
|
# Gzip, file compression utility (see options.allow_tar)
|
|
|
|
gzip =
|
|
|
|
# gzip = /usr/bin/gzip
|
|
|
|
|
|
|
|
# Sed, stream editor
|
|
|
|
sed =
|
|
|
|
# sed = /usr/bin/sed
|
|
|
|
|
|
|
|
|
2000-03-23 14:57:59 +03:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
[options]
|
|
|
|
|
2002-12-12 05:02:52 +03:00
|
|
|
# root_as_url_component: Interpret the first path component in the URL
|
|
|
|
# after the script location as the root to use. This is an
|
2005-12-17 20:19:28 +03:00
|
|
|
# alternative to using the "root=" query key. If ViewVC is configured
|
2005-02-13 19:48:12 +03:00
|
|
|
# with multiple repositories, this results in more natural looking
|
2006-04-04 07:11:02 +04:00
|
|
|
# ViewVC URLs.
|
2005-02-13 19:48:12 +03:00
|
|
|
# Note: Enabling this option will break backwards compatibility with
|
2006-04-04 07:11:02 +04:00
|
|
|
# any old ViewCVS URL which doesn't have an explicit "root" parameter.
|
2002-12-12 05:02:52 +03:00
|
|
|
root_as_url_component = 0
|
|
|
|
|
2006-04-04 07:11:02 +04:00
|
|
|
# default_file_view: "log" or "co"
|
|
|
|
# Controls whether the default view for file URLs is a checkout view or
|
|
|
|
# a log view. "log" is the default for backwards compatibility with old
|
|
|
|
# ViewCVS URLs, but "co" has the advantage that it allows ViewVC to serve
|
|
|
|
# static HTML pages directly from a repository with working links
|
|
|
|
# to other repository files
|
|
|
|
# Note: Changing this option may cause old ViewCVS URLs that referred
|
|
|
|
# to log pages to load checkout pages instead.
|
|
|
|
default_file_view = log
|
|
|
|
|
|
|
|
# checkout_magic: Use checkout links with magic /*checkout*/ prefixes so
|
|
|
|
# checked out HTML pages can have working links to other repository files
|
|
|
|
# Note: This option is DEPRECATED and should not be used in new ViewVC
|
|
|
|
# installations. Setting "default_file_view = co" achieves the same effect
|
|
|
|
checkout_magic = 0
|
2005-02-13 19:48:12 +03:00
|
|
|
|
2004-06-24 00:57:16 +04:00
|
|
|
# http_expiration_time: Expiration time (in seconds) for cacheable
|
2005-12-17 20:19:28 +03:00
|
|
|
# pages served by ViewVC. Note that in most cases, a cache aware
|
2004-06-24 00:57:16 +04:00
|
|
|
# client will only revalidate the page after it expires (using the
|
|
|
|
# If-Modified-Since and/or If-None-Match headers) and that browsers
|
|
|
|
# will also revalidate the page when the reload button is pressed.
|
|
|
|
# Set to 0 to disable the transmission of these caching headers.
|
|
|
|
http_expiration_time = 600
|
|
|
|
|
|
|
|
# generate_etags: Generate Etag headers for relevant pages to assist
|
|
|
|
# in browser caching.
|
|
|
|
# 1 Generate Etags
|
|
|
|
# 0 Don't generate Etags
|
|
|
|
generate_etags = 1
|
|
|
|
|
2000-03-23 14:57:59 +03:00
|
|
|
# sort_by: 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
|
|
|
|
sort_by = file
|
|
|
|
|
2005-03-07 18:13:23 +03:00
|
|
|
# sort_group_dirs: Group directories when sorting
|
|
|
|
# 1 Group directories together
|
|
|
|
# 0 No grouping -- sort directories as any other item would be sorted
|
|
|
|
sort_group_dirs = 1
|
|
|
|
|
2001-12-23 07:13:35 +03:00
|
|
|
# hide_attic: Hide or show the contents of the Attic subdirectory
|
|
|
|
# 1 Hide dead files inside Attic subdir
|
|
|
|
# 0 Show the files which are inside the Attic subdir
|
2000-03-23 14:57:59 +03:00
|
|
|
hide_attic = 1
|
|
|
|
|
2002-12-12 05:02:52 +03:00
|
|
|
# log_sort: Sort order for log messages
|
2000-03-23 14:57:59 +03:00
|
|
|
# date Sort revisions by date
|
|
|
|
# rev Sort revision by revision number
|
|
|
|
# cvs Don't sort them. Same order as CVS/RCS shows them.
|
|
|
|
log_sort = date
|
|
|
|
|
|
|
|
# diff_format: Default diff format
|
|
|
|
# h Human readable
|
|
|
|
# u Unified diff
|
|
|
|
# c Context diff
|
|
|
|
# s Side by side
|
2001-10-21 15:06:25 +04:00
|
|
|
# l Long human readable (more context)
|
2000-03-23 14:57:59 +03:00
|
|
|
diff_format = h
|
|
|
|
|
|
|
|
# hide_cvsroot: Don't show the CVSROOT directory
|
|
|
|
# 1 Hide CVSROOT directory
|
|
|
|
# 0 Show CVSROOT directory
|
|
|
|
hide_cvsroot = 1
|
|
|
|
|
|
|
|
# set to 1 to make lines break at spaces,
|
|
|
|
# set to 0 to make no-break lines,
|
|
|
|
# set to a positive integer to make the lines cut at that length
|
|
|
|
hr_breakable = 1
|
|
|
|
|
|
|
|
# give out function names in human readable 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
|
|
|
|
|
|
|
|
# ignore whitespaces for human readable diffs
|
|
|
|
# (indendation and stuff ..)
|
|
|
|
# ( '-w' option to diff)
|
|
|
|
hr_ignore_white = 1
|
|
|
|
|
|
|
|
# ignore diffs which are caused by
|
|
|
|
# keyword-substitution like $Id - Stuff
|
|
|
|
# ( '-kk' option to rcsdiff)
|
|
|
|
hr_ignore_keyword_subst = 1
|
|
|
|
|
2006-02-05 01:51:55 +03:00
|
|
|
# Enable highlighting of intraline changes in human readable diffs
|
|
|
|
# this feature is experimental and currently requires python 2.4
|
|
|
|
#
|
|
|
|
hr_intraline = 0
|
|
|
|
|
2000-03-23 14:57:59 +03:00
|
|
|
# allow annotation of files.
|
2000-05-12 14:18:17 +04:00
|
|
|
allow_annotate = 1
|
2000-03-23 14:57:59 +03:00
|
|
|
|
|
|
|
# allow pretty-printed version of files
|
|
|
|
allow_markup = 1
|
|
|
|
|
|
|
|
# allow compression with gzip of output if the Browser accepts it
|
|
|
|
# (HTTP_ACCEPT_ENCODING=gzip)
|
|
|
|
# [make sure to have gzip in the path]
|
|
|
|
allow_compress = 1
|
|
|
|
|
2005-12-17 20:19:28 +03:00
|
|
|
# The directory which contains the EZT templates used by ViewVC to
|
|
|
|
# customize the display of the various output views. ViewVC looks in
|
In short, facilitate the creation, testing, installation, and sharing
of "template sets."
I'm introducing a new configuration variable ('template_dir') which is
the parent directory of all ViewCVS templates. Those templates have
names which match the views they describe (directory.ezt,
revision.ezt, graph.ezt, etc.). The 'docroot' variable will now
default to "<template_dir>/docroot". Finally, the [templates] section
will continue to work as before, save that all configuration therein
(and templates not configured will fallback to
"<template_dir>/<view_name>.ezt").
The beauty of this is that folks can start whipping up (and
maintaining themselves) ViewCVS template sets which can be traded and
shared, like themes for Mozilla or Windows XP. EZT is super-powerful,
and there are some really fun things you can do with it to serve up
interesting and unique ViewCVS views. But while we want to encourage
creativity and innovation, we don't want the ViewCVS project itself
having to maintain everyone's fun little themes. Anyway, so now
installing a new template set is just a matter of dropping that set
directory somewhere (anywhere, really) on your system and pointing
'template_dir' to that directory tree. No (very annoying) template
modification conflicts to deal with every time you update ViewCVS on
your system.
And the best part is that existing ViewCVS configurations should all
continue to work compatibly.
* viewcvs/viewcvs.conf.dist
Add a new option, "template_dir". Tweak documentation on the
"docroot" option. And make the whole [templates] section work a
little differently.
* viewcvs/lib/config.py
(Config.set_defaults): Use 'None' as the default value for the
self.templates.directory, self.templates.log,
self.templates.query, self.templates.diff, self.templates.graph,
self.templates.annotate, self.templates.markup,
self.templates.error, self.templates.query_form,
self.templates.query_results, and self.templates.roots options.
Add a new default value for self.options.template_dir.
* viewcvs/lib/viewcvs.py
(get_view_template): New.
(generate_page): Instead of taking a template name, take a view
name. Also, call get_view_template() to generate the full
template path.
(view_markup, view_roots, view_directory, view_log, view_annotate,
view_cvsgraph, view_diff, view_revision_svn, view_queryform,
view_queryform, view_error): Update calls to generate_page().
* viewcvs/lib/query.py
(main): Use viewcvs.get_view_template().
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1029 8cb11bc2-c004-0410-86c3-e597b4017df7
2005-02-08 05:46:20 +03:00
|
|
|
# this directory for files with names that match the name of the view
|
|
|
|
# ("log", "directory", etc.) plus the ".ezt" extension. If specified
|
2006-12-20 19:37:34 +03:00
|
|
|
# as a relative path, it is relative to the directory where this config
|
|
|
|
# file resides; absolute paths may be used as well.
|
In short, facilitate the creation, testing, installation, and sharing
of "template sets."
I'm introducing a new configuration variable ('template_dir') which is
the parent directory of all ViewCVS templates. Those templates have
names which match the views they describe (directory.ezt,
revision.ezt, graph.ezt, etc.). The 'docroot' variable will now
default to "<template_dir>/docroot". Finally, the [templates] section
will continue to work as before, save that all configuration therein
(and templates not configured will fallback to
"<template_dir>/<view_name>.ezt").
The beauty of this is that folks can start whipping up (and
maintaining themselves) ViewCVS template sets which can be traded and
shared, like themes for Mozilla or Windows XP. EZT is super-powerful,
and there are some really fun things you can do with it to serve up
interesting and unique ViewCVS views. But while we want to encourage
creativity and innovation, we don't want the ViewCVS project itself
having to maintain everyone's fun little themes. Anyway, so now
installing a new template set is just a matter of dropping that set
directory somewhere (anywhere, really) on your system and pointing
'template_dir' to that directory tree. No (very annoying) template
modification conflicts to deal with every time you update ViewCVS on
your system.
And the best part is that existing ViewCVS configurations should all
continue to work compatibly.
* viewcvs/viewcvs.conf.dist
Add a new option, "template_dir". Tweak documentation on the
"docroot" option. And make the whole [templates] section work a
little differently.
* viewcvs/lib/config.py
(Config.set_defaults): Use 'None' as the default value for the
self.templates.directory, self.templates.log,
self.templates.query, self.templates.diff, self.templates.graph,
self.templates.annotate, self.templates.markup,
self.templates.error, self.templates.query_form,
self.templates.query_results, and self.templates.roots options.
Add a new default value for self.options.template_dir.
* viewcvs/lib/viewcvs.py
(get_view_template): New.
(generate_page): Instead of taking a template name, take a view
name. Also, call get_view_template() to generate the full
template path.
(view_markup, view_roots, view_directory, view_log, view_annotate,
view_cvsgraph, view_diff, view_revision_svn, view_queryform,
view_queryform, view_error): Update calls to generate_page().
* viewcvs/lib/query.py
(main): Use viewcvs.get_view_template().
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1029 8cb11bc2-c004-0410-86c3-e597b4017df7
2005-02-08 05:46:20 +03:00
|
|
|
#
|
|
|
|
# If %lang% occurs in the pathname, then the selected language will be
|
|
|
|
# substituted.
|
|
|
|
#
|
|
|
|
template_dir = templates
|
|
|
|
|
2005-12-17 20:19:28 +03:00
|
|
|
# Web path to a directory that contains ViewVC static files
|
In short, facilitate the creation, testing, installation, and sharing
of "template sets."
I'm introducing a new configuration variable ('template_dir') which is
the parent directory of all ViewCVS templates. Those templates have
names which match the views they describe (directory.ezt,
revision.ezt, graph.ezt, etc.). The 'docroot' variable will now
default to "<template_dir>/docroot". Finally, the [templates] section
will continue to work as before, save that all configuration therein
(and templates not configured will fallback to
"<template_dir>/<view_name>.ezt").
The beauty of this is that folks can start whipping up (and
maintaining themselves) ViewCVS template sets which can be traded and
shared, like themes for Mozilla or Windows XP. EZT is super-powerful,
and there are some really fun things you can do with it to serve up
interesting and unique ViewCVS views. But while we want to encourage
creativity and innovation, we don't want the ViewCVS project itself
having to maintain everyone's fun little themes. Anyway, so now
installing a new template set is just a matter of dropping that set
directory somewhere (anywhere, really) on your system and pointing
'template_dir' to that directory tree. No (very annoying) template
modification conflicts to deal with every time you update ViewCVS on
your system.
And the best part is that existing ViewCVS configurations should all
continue to work compatibly.
* viewcvs/viewcvs.conf.dist
Add a new option, "template_dir". Tweak documentation on the
"docroot" option. And make the whole [templates] section work a
little differently.
* viewcvs/lib/config.py
(Config.set_defaults): Use 'None' as the default value for the
self.templates.directory, self.templates.log,
self.templates.query, self.templates.diff, self.templates.graph,
self.templates.annotate, self.templates.markup,
self.templates.error, self.templates.query_form,
self.templates.query_results, and self.templates.roots options.
Add a new default value for self.options.template_dir.
* viewcvs/lib/viewcvs.py
(get_view_template): New.
(generate_page): Instead of taking a template name, take a view
name. Also, call get_view_template() to generate the full
template path.
(view_markup, view_roots, view_directory, view_log, view_annotate,
view_cvsgraph, view_diff, view_revision_svn, view_queryform,
view_queryform, view_error): Update calls to generate_page().
* viewcvs/lib/query.py
(main): Use viewcvs.get_view_template().
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1029 8cb11bc2-c004-0410-86c3-e597b4017df7
2005-02-08 05:46:20 +03:00
|
|
|
# (stylesheets, images, etc.) If set, static files will get
|
|
|
|
# downloaded directory from this location. If unset, static files
|
2005-12-17 20:19:28 +03:00
|
|
|
# will be served by the ViewVC script (at a likely performance
|
In short, facilitate the creation, testing, installation, and sharing
of "template sets."
I'm introducing a new configuration variable ('template_dir') which is
the parent directory of all ViewCVS templates. Those templates have
names which match the views they describe (directory.ezt,
revision.ezt, graph.ezt, etc.). The 'docroot' variable will now
default to "<template_dir>/docroot". Finally, the [templates] section
will continue to work as before, save that all configuration therein
(and templates not configured will fallback to
"<template_dir>/<view_name>.ezt").
The beauty of this is that folks can start whipping up (and
maintaining themselves) ViewCVS template sets which can be traded and
shared, like themes for Mozilla or Windows XP. EZT is super-powerful,
and there are some really fun things you can do with it to serve up
interesting and unique ViewCVS views. But while we want to encourage
creativity and innovation, we don't want the ViewCVS project itself
having to maintain everyone's fun little themes. Anyway, so now
installing a new template set is just a matter of dropping that set
directory somewhere (anywhere, really) on your system and pointing
'template_dir' to that directory tree. No (very annoying) template
modification conflicts to deal with every time you update ViewCVS on
your system.
And the best part is that existing ViewCVS configurations should all
continue to work compatibly.
* viewcvs/viewcvs.conf.dist
Add a new option, "template_dir". Tweak documentation on the
"docroot" option. And make the whole [templates] section work a
little differently.
* viewcvs/lib/config.py
(Config.set_defaults): Use 'None' as the default value for the
self.templates.directory, self.templates.log,
self.templates.query, self.templates.diff, self.templates.graph,
self.templates.annotate, self.templates.markup,
self.templates.error, self.templates.query_form,
self.templates.query_results, and self.templates.roots options.
Add a new default value for self.options.template_dir.
* viewcvs/lib/viewcvs.py
(get_view_template): New.
(generate_page): Instead of taking a template name, take a view
name. Also, call get_view_template() to generate the full
template path.
(view_markup, view_roots, view_directory, view_log, view_annotate,
view_cvsgraph, view_diff, view_revision_svn, view_queryform,
view_queryform, view_error): Update calls to generate_page().
* viewcvs/lib/query.py
(main): Use viewcvs.get_view_template().
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1029 8cb11bc2-c004-0410-86c3-e597b4017df7
2005-02-08 05:46:20 +03:00
|
|
|
# penalty, and from the "docroot" subdirectory of the directory
|
|
|
|
# specified by the "template_dir" option).
|
2004-09-28 20:33:44 +04:00
|
|
|
#docroot = /docroot
|
2003-07-25 00:37:39 +04:00
|
|
|
|
2000-03-23 14:57:59 +03:00
|
|
|
# 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
|
2005-12-29 18:17:31 +03:00
|
|
|
# touches the file without even when a new version is not checked in,
|
|
|
|
# and TAG based browsing essentially puts this out of order, unless
|
2000-03-23 14:57:59 +03:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# show a portion of the most recent log entry in directory listings
|
|
|
|
show_logs = 1
|
|
|
|
|
2002-12-12 05:02:52 +03:00
|
|
|
# Show log when viewing file contents
|
2000-03-23 14:57:59 +03:00
|
|
|
show_log_in_markup = 1
|
|
|
|
|
2004-04-20 18:41:35 +04:00
|
|
|
# Cross filesystem copies when traversing Subversion file revision histories.
|
|
|
|
cross_copies = 1
|
2003-09-26 05:34:33 +04:00
|
|
|
|
2002-05-06 06:05:25 +04:00
|
|
|
# Display dates as UTC or in local time zone
|
|
|
|
use_localtime = 0
|
|
|
|
#use_localtime = 1
|
|
|
|
|
2000-03-23 14:57:59 +03:00
|
|
|
# == Configuration defaults ==
|
|
|
|
# Defaults for configuration variables that shouldn't need
|
|
|
|
# to be configured..
|
|
|
|
|
2006-07-28 15:04:12 +04:00
|
|
|
# should we use Marc-Andrew Lemburg's py2html (and Just van Rossum's
|
|
|
|
# PyFontify) to colorize Python files?
|
|
|
|
use_py2html = 0
|
2000-03-23 14:57:59 +03:00
|
|
|
|
|
|
|
# the length to which the most recent log entry should be truncated when
|
|
|
|
# shown in the directory view
|
|
|
|
short_log_len = 80
|
|
|
|
|
2000-05-12 14:18:17 +04:00
|
|
|
# should we use 'enscript' for syntax coloring?
|
|
|
|
use_enscript = 0
|
2000-05-07 16:54:02 +04:00
|
|
|
|
2005-12-20 21:42:32 +03:00
|
|
|
# should we use 'highlight' for syntax coloring?
|
2006-01-17 04:43:12 +03:00
|
|
|
# NOTE: use_enscript has to be 0 or enscript will be used instead
|
|
|
|
use_highlight = 0
|
2005-12-20 21:42:32 +03:00
|
|
|
|
|
|
|
# should we add line numbers?
|
|
|
|
highlight_line_numbers = 1
|
|
|
|
|
|
|
|
# convert tabs to ## spaces (use 0 for no conversion)
|
|
|
|
highlight_convert_tabs = 2
|
|
|
|
|
2003-10-28 04:46:59 +03:00
|
|
|
# use php to colorize .php and .inc files?
|
|
|
|
use_php = 0
|
|
|
|
|
2001-04-28 12:50:28 +04:00
|
|
|
#
|
2005-12-17 20:19:28 +03:00
|
|
|
# ViewVC can generate tarball from a repository on the fly.
|
2001-04-28 12:50:28 +04:00
|
|
|
#
|
2001-04-28 14:38:16 +04:00
|
|
|
allow_tar = 0
|
|
|
|
# allow_tar = 1
|
2001-04-28 12:50:28 +04:00
|
|
|
|
2001-09-22 10:01:44 +04:00
|
|
|
#
|
|
|
|
# Use CvsGraph. See http://www.akhphd.au.dk/~bertho/cvsgraph/ for
|
|
|
|
# documentation and download.
|
|
|
|
#
|
|
|
|
use_cvsgraph = 0
|
|
|
|
# use_cvsgraph = 1
|
|
|
|
|
2001-10-23 04:18:15 +04:00
|
|
|
#
|
2001-10-24 13:44:59 +04:00
|
|
|
# Location of the customized cvsgraph configuration file.
|
2001-10-23 04:18:15 +04:00
|
|
|
#
|
Tweak logic used to find installed paths ("lib" directory, configuration
file, templates, etc). Specifically, make the following changes:
- Get rid of hardcoded paths in module files ("lib" directory) and
configuration files (viewcvs.conf and mod_python's .htaccess)
- Allow stub scripts (for asp, cgi, and mod_python) to specify
configuration files so it's possible to have multiple configurations of
viewcvs running off a single installation.
- Be more consistent about resolving paths when they aren't hardcoded
(when ViewCVS is running from a source directory). In particular, try
not to depend on the working directory. That way it's legal to run
./standalone.py instead of bin/standalone.py without getting an
ImportError.
- Get rid of global cfg variables in viewcvs.py and cvsdb.py. They led to
all sorts of hacks in other files to pilfer and reset them. They were
also possible sources of races in multithreaded environments like
mod_python and asp.
- Rewrite mod_python handler so library paths can be specified inside the
stub files.
* lib/apache.py
removed, contained old mod_python handler
* lib/config.py
(Config.load_config):
remove sys.argv voodoo, just load the configuration path specified in
the pathname argument
(Config.set_defaults):
use relative path for cvsgraph_conf setting instead of hardcoded
<VIEWCVS_INSTALL_DIRECTORY> literal
* lib/cvsdb.py
(CONF_PATHNAME, config, cfg):
removed, configuration stuff
(CheckinDatabase.__init__, CheckinDatabase.CreateSQLQueryString):
add "_row_limit" member instead of using cfg object
(CreateCheckinDatabase):
removed, a do-nothing function
(ConnectDatabaseReadOnly, ConnectDatabase):
add cfg arguments
(GetUnrecordedCommitList):
add db argument
* lib/query.py
(CONF_PATHAME):
removed
(build_commit, run_query, main):
add cfg arguments, use new viewcvs.get_template function
* lib/viewcvs.py
(CONF_PATHNAME, cfg, g_install_dir):
removed
(Request.__init__):
add cfg member
(Request.run_viewcvs, Request.get_link, check_freshness,
get_view_template, generate_page, default_view, get_file_view_info,
format_log, common_template_data, MarkupEnscript.__init__,
markup_stream_python, markup_stream_php, make_time_string, view_markup,
sort_file_data, view_directory, paging, view_log, view_annotate,
view_cvsgraph_image, view_cvsgraph, view_doc, rcsdiff_date_reformat,
spaced_html_text, DiffSource.__init__, DiffSource._get_row, view_patch,
view_diff, generate_tarball, download_tarball, view_revision,
is_query_supported, english_query, build_commit, view_query,
view_error, main):
stop using global config, use cfg arguments or request member instead
(_install_path):
new, use __file__ to locate template and configuation paths
(get_view_template):
use _install_path and return compiled template instead of path
(is_viewable, default_view):
rename is_viewable to default_view and return view instead of boolean
(handle_config, load_config):
rename handle_config to load_config and return config object instead
of setting cfg global
* bin/cgi/viewcvs.cgi
* bin/cgi/query.cgi
* bin/cvsdbadmin
* bin/loginfo-handler
* bin/standalone.py
* bin/svndbadmin
look for library relative to sys.argv[0] when no hardcoded library
path is available. Also add configuration loading code.
* bin/asp/viewcvs.asp
* bin/asp/query.asp
add configuration loading code
* bin/mod_python/.htaccess
specify new mod_python handler, remove reference to
<VIEWCVS_APACHE_LIBRARY_DIRECTORY>
* bin/mod_python/handler.py
added, holds new mod_python handler
* bin/mod_python/viewcvs.py
* bin/mod_python/query.py
rewrite for new handler, add hardcoded library and configuration paths
* viewcvs.conf.dist
remove references to <VIEWCVS_INSTALL_DIRECTORY>
* viewcvs-install
(FILE_INFO_LIST):
stop hardcoding paths in config files
(SetPythonPaths,):
get rid of <VIEWCVS_INSTALL_DIRECTORY> and
<VIEWCVS_APACHE_LIBRARY_DIRECTORY> substitutions
(ApacheEscape, _re_apache):
removed
(InstallTree):
stop hardcoding paths in lib directory
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1173 8cb11bc2-c004-0410-86c3-e597b4017df7
2005-12-06 07:04:14 +03:00
|
|
|
cvsgraph_conf = cvsgraph.conf
|
2001-10-23 04:18:15 +04:00
|
|
|
|
2001-12-11 08:19:22 +03:00
|
|
|
#
|
|
|
|
# Set to enable regular expression search of all files in a directory
|
|
|
|
#
|
2001-12-12 14:48:21 +03:00
|
|
|
# WARNING:
|
|
|
|
#
|
|
|
|
# Enabling this option can consume HUGE amounts of server time. A
|
|
|
|
# "checkout" must be performed on *each* file in a directory, and
|
|
|
|
# the result needs to be searched for a match against the regular
|
|
|
|
# expression.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# SECURITY WARNING: Denial Of Service
|
|
|
|
#
|
|
|
|
# Since a user can enter the regular expression, it is possible for
|
|
|
|
# them to enter an expression with many alternatives and a lot of
|
|
|
|
# backtracking. Executing that search over thousands of lines over
|
|
|
|
# dozens of files can easily tie up a server for a long period of
|
|
|
|
# time.
|
|
|
|
#
|
|
|
|
# This option should only be used on sites with trusted users. It is
|
|
|
|
# highly inadvisable to use this on a public site.
|
|
|
|
#
|
2001-12-11 08:19:22 +03:00
|
|
|
use_re_search = 0
|
|
|
|
# use_re_search = 1
|
|
|
|
|
2001-12-31 07:39:34 +03:00
|
|
|
#
|
|
|
|
# Split directories and logs into pages.
|
2005-12-17 20:19:28 +03:00
|
|
|
# Allows ViewVC to present discrete pages to the users instead of the
|
2001-12-31 07:39:34 +03:00
|
|
|
# entire log or directory.
|
|
|
|
# Set use_pagesize to the number of entries you want displayed on a page.
|
|
|
|
#
|
|
|
|
use_pagesize = 0
|
|
|
|
# use_pagesize = 20
|
|
|
|
|
2005-12-23 16:24:26 +03:00
|
|
|
# Limit number of changed paths shown per commit in the Subversion revision
|
|
|
|
# view and in query results. This is not a hard limit (the UI provides
|
|
|
|
# options to show all changed paths), but it prevents ViewVC from generating
|
|
|
|
# enormous and hard to read pages by default when they happen to contain
|
|
|
|
# import or merge commits affecting hundreds or thousands of files.
|
|
|
|
# Set to 0 to disable the limit.
|
|
|
|
limit_changes = 100
|
|
|
|
|
2005-02-08 05:48:14 +03:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
[templates]
|
|
|
|
|
2005-12-17 20:19:28 +03:00
|
|
|
# You can override the templates used by various ViewVC views in this
|
|
|
|
# section. By default, ViewVC will look for templates in the
|
2005-02-08 05:48:14 +03:00
|
|
|
# directory specified by the "template_dir" configuration option (see
|
|
|
|
# the documentation for that option for details). But if you want to
|
|
|
|
# use a different template for a particular view, simply uncomment the
|
|
|
|
# appropriate option below and specify the currect location of the EZT
|
|
|
|
# template file you wish to use for that view.
|
|
|
|
#
|
2006-12-20 19:37:34 +03:00
|
|
|
# Templates are specified relative to the directory where this config
|
|
|
|
# file resides, but absolute paths may also be used as well.
|
2005-02-08 05:48:14 +03:00
|
|
|
#
|
|
|
|
# If %lang% occurs in the pathname, then the selected language will be
|
|
|
|
# substituted.
|
|
|
|
#
|
|
|
|
# Note: the selected language is defined by the "languages" item in the
|
|
|
|
# [general] section, and based on the request's Accept-Language
|
|
|
|
# header.
|
|
|
|
#
|
|
|
|
#directory = templates/directory.ezt
|
2005-12-29 18:17:31 +03:00
|
|
|
### an alternative directory view
|
|
|
|
#directory = templates/dir_new.ezt
|
2005-02-08 05:48:14 +03:00
|
|
|
#log = templates/log.ezt
|
2005-12-29 18:17:31 +03:00
|
|
|
### a table-based alternative log view
|
|
|
|
#log = templates/log_table.ezt
|
2005-02-08 05:48:14 +03:00
|
|
|
#query = templates/query.ezt
|
|
|
|
#diff = templates/diff.ezt
|
|
|
|
#graph = templates/graph.ezt
|
|
|
|
#annotate = templates/annotate.ezt
|
|
|
|
#markup = templates/markup.ezt
|
|
|
|
#revision = templates/revision.ezt
|
|
|
|
#query_form = templates/query_form.ezt
|
|
|
|
#query_results = templates/query_results.ezt
|
|
|
|
#error = templates/error.ezt
|
|
|
|
#roots = templates/roots.ezt
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
[cvsdb]
|
|
|
|
|
|
|
|
enabled = 0
|
|
|
|
#host = localhost
|
2005-12-22 06:07:31 +03:00
|
|
|
#port = 3306
|
2006-03-18 03:33:54 +03:00
|
|
|
#database_name = ViewVC
|
2005-02-08 05:48:14 +03:00
|
|
|
#user =
|
|
|
|
#passwd =
|
|
|
|
#readonly_user =
|
|
|
|
#readonly_passwd =
|
|
|
|
#row_limit = 1000
|
|
|
|
|
2000-03-24 13:45:07 +03:00
|
|
|
#---------------------------------------------------------------------------
|
2000-05-09 06:00:56 +04:00
|
|
|
[vhosts]
|
|
|
|
### DOC
|
|
|
|
|
|
|
|
# vhost1 = glob1, glob2
|
|
|
|
# vhost2 = glob3, glob4
|
|
|
|
|
|
|
|
# [vhost1-section]
|
|
|
|
# option = value
|
|
|
|
# [vhost1-othersection]
|
|
|
|
# option = value
|
|
|
|
# [vhost2-section]
|
|
|
|
# option = value
|
|
|
|
|
|
|
|
#
|
|
|
|
# Here is an example:
|
|
|
|
#
|
|
|
|
# [vhosts]
|
|
|
|
# lyra = *lyra.org
|
|
|
|
#
|
|
|
|
# [lyra-general]
|
|
|
|
# forbidden = hideme
|
|
|
|
#
|
|
|
|
# [lyra-options]
|
|
|
|
# show_logs = 0
|
|
|
|
#
|
|
|
|
# Note that "lyra" is the "canonical" name for all hosts in the lyra.org
|
|
|
|
# domain. This canonical name is then used within the additional, vhost-
|
|
|
|
# specific sections to override specific values in the common sections.
|
|
|
|
#
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|