Newer
Older
Import / web / internal.invertedlogic.com / svn / viewvc.conf
#---------------------------------------------------------------------------
#
# Configuration file for ViewVC
#
# Information on ViewVC is located at the following web site:
#     http://viewvc.org/
#
#---------------------------------------------------------------------------
[general]
svn_roots = blah: /home/invertedlogic_internal/svn/blah, research: /home/invertedlogic_internal/svn/research,  code: /home/invertedlogic_internal/svn/code, web: /home/invertedlogic_internal/svn/web, environment: /home/invertedlogic_internal/svn/environment, applications: /home/invertedlogic_internal/svn/applications, private: /home/invertedlogic_internal/svn/private, projects: /home/invertedlogic_internal/svn/projects

#root_parents = /home/svn-repositories : svn,
#               /home/cvs-repositories : cvs
default_root = cvs
address = 
kv_files =
languages = en-us
#---------------------------------------------------------------------------
[utilities]
rcs_dir =
# rcs_dir = /usr/bin/
cvsnt =
svn =
diff = 
cvsgraph =
#---------------------------------------------------------------------------
[options]
root_as_url_component = 1
checkout_magic = 0
allowed_views = markup, annotate, roots
authorizer = forbidden
hide_cvsroot = 1
mangle_email_addresses = 0
default_file_view = log
http_expiration_time = 600
generate_etags = 1
svn_config_dir = 
use_rcsparse = 0

# 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

# 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

# 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
hide_attic = 1

# hide_errorful_entries: Hide or show errorful directory entries
# (perhaps due to not being readable, or some other rlog parsing
# error, etc.)
#   1      Hide errorful entries from the directory display
#   0      Show errorful entries (with their errors) in the directory display
hide_errorful_entries = 0

# log_sort: Sort order for log messages
#   date   Sort revisions by date
#   rev    Sort revision by revision number
#   none   Use the version control system's ordering
log_sort = date

# diff_format: Default diff format
#   h      Human readable
#   u      Unified diff
#   c      Context diff
#   s      Side by side
#   l      Long human readable (more context)
#   f      Full human readable (entire file)
diff_format = h

# hr_breakable: Diff view line breaks
#   1     lines break at spaces
#   0     no line breaking
# Or, use a positive integer > 1 to cut lines after that many characters
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 = 0

# ignore diffs which are caused by
# keyword-substitution like $Id - Stuff
# ( '-kk' option to rcsdiff)
hr_ignore_keyword_subst = 1

# Enable highlighting of intraline changes in human readable diffs
# this feature is experimental and currently requires python 2.4
hr_intraline = 0

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

# The directory which contains the EZT templates used by ViewVC to
# customize the display of the various output views.  ViewVC looks in
# this directory for files with names that match the name of the view
# ("log", "directory", etc.) plus the ".ezt" extension.  If specified
# as a relative path, it is relative to the directory where this config
# file resides; absolute paths may be used as well.
#
# If %lang% occurs in the pathname, then the selected language will be
# substituted.
#
# See also the [templates] configuration section, where you can
# override templates on a per-view basis.
#
template_dir = templates

# Web path to a directory that contains ViewVC static files
# (stylesheets, images, etc.)  If set, static files will get
# downloaded directory from this location.  If unset, static files
# will be served by the ViewVC script (at a likely performance
# penalty, and from the "docroot" subdirectory of the directory
# specified by the "template_dir" option).
#docroot = /docroot

# Show last changelog message for CVS subdirectories
# NOTE: 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 not checked in,
# and TAG based browsing essentially 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.
#
# ** WARNING: Enabling this will currently leak unauthorized path names **
show_subdir_lastmod = 0

# Show the most recent log entry in directory listings.
show_logs = 1

# Show log when viewing file contents
show_log_in_markup = 1

# Cross filesystem copies when traversing Subversion file revision histories.
cross_copies = 1

# Display dates as UTC or in local time zone
use_localtime = 0
#use_localtime = 1

### CONFIGURATION DEFAULTS ###
###
### Defaults for configuration variables that shouldn't need
### to be configured..

# the length to which the most recent log entry should be truncated when
# shown in the directory view
short_log_len = 80

# should we colorize known file content syntaxes?  (requires Pygments module)
enable_syntax_coloration = 1

# Use CvsGraph. See http://www.akhphd.au.dk/~bertho/cvsgraph/ for
# documentation and download. 
use_cvsgraph = 0
#use_cvsgraph = 1

# Location of the customized cvsgraph configuration file.  
cvsgraph_conf = cvsgraph.conf

#
# Set to enable regular expression search of all files in a directory
#
# 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.
#
use_re_search = 0
# use_re_search = 1

#
# Split directories and logs into pages.
# Allows ViewVC to present discrete pages to the users instead of the
# entire log or directory.
# Set use_pagesize to the number of entries you want displayed on a page.
#
use_pagesize = 0
# use_pagesize = 20

# 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

#---------------------------------------------------------------------------
[templates]

# You can override the templates used by various ViewVC views in this
# section.  By default, ViewVC will look for templates in the
# 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.
# 
# Templates are specified relative to the configured template
# directory (see the "template_dir" option), but absolute paths may
# also be used as well.
#
# 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.
#
#diff = diff.ezt
#directory = directory.ezt
### an alternative directory view
#directory = dir_new.ezt   
#error = error.ezt
#file = file.ezt
#graph = graph.ezt
#log = log.ezt
### a table-based alternative log view
#log = log_table.ezt  
#query = query.ezt
#query_form = query_form.ezt
#query_results = query_results.ezt
#revision = revision.ezt
#roots = roots.ezt

#---------------------------------------------------------------------------
[cvsdb]

# Set to 1 to enable the database integration feature, 0 otherwise.
enabled = 0

# Database hostname and port.
#host = localhost
#port = 3306

# ViewVC database name.
#database_name = ViewVC

# Username and password of user with read/write privileges to the ViewVC
# database.
#user = 
#passwd = 

# Username and password of user with read privileges to the ViewVC
# database.
#readonly_user = 
#readonly_passwd = 

# Limit the number of rows returned by a given query to this number.
#row_limit = 1000

# Limit the number of rows returned by a given query made as part an
# RSS feed request to this number.  (Keeping in mind that RSS readers
# tend to poll regularly for new data, you might want to keep this set
# to a conservative number.)
#rss_row_limit = 100

# Check if the repository is found in the database before showing
# the query link and RSS feeds.  Set to 1 to enable check.
# 
# WARNING: Enabling this check adds the cost of a database connection
# and query to most ViewVC requests.  If all your roots are represented
# in the commits database, or if you don't care about the creation of
# RSS and query links that might lead ultimately to error pages for
# certain of your roots, or if you simply don't want to add this extra
# cost to your ViewVC requests, leave this disabled.
#check_database_for_root = 0

#---------------------------------------------------------------------------
[vhosts]

# Virtual hosts are individual logical servers accessible via
# different hostnames, but which are all really the same physical
# computer.  For example, you might have your web server configured to
# accept incoming traffic for both http://www.yourdomain.com/ and
# http://viewvc.yourdomain.com/.  Users pointing their web browsers at
# each of those two URLs might see entirely different content via one
# URL versus the other, but all that content actually lives on the
# same computer, is served up via the same web server, and so
# on.  It just *looks* like its coming from multiple servers.
#
# ViewVC allows you to customize its configuration options for
# individual virtual hosts.  You might, for example, wish to expose
# all of your Subversion repositories at http://svn.yourdomain.com/viewvc/ 
# and all your CVS ones at http://cvs.yourdomain.com/viewvc/, with no
# cross-exposure.  Using ViewVC's virtual host (vhost) configuration
# support, you can do this.  Simply create two vhost configurations
# (one for each of your hostnames), then configure the cvs_roots
# option only for the vhost associated with cvs.yourdomain.com, and
# configure the svn_roots option only for the vhost associated with
# svn.yourdomain.com.
#
# This section is a freeform configuration section, where you create
# both the option names and their values.  The names of the options
# are then treated as canonical names of virtual hosts, and their
# values are defined to be comma-delimited lists of hostname globs
# against which incoming ViewVC requests will be matched to figure out
# which vhost they apply to.
#
# After you've named and defined your vhosts, you may then create new
# configuration sections whose names are of the form
# vhost-VHOSTNAME/CONFIGSECTION.  VHOSTNAME here is the canonical name
# of one of the virtual hosts you defined under the [vhosts] section.
# Inside those configuration sections, you override the standard
# ViewVC options typically found in the base configuration section
# named CONFIGSECTION ("general", "option", etc.)
#
# Here is an example:
#
# [vhosts]
# libs = libs.yourdomain.*, *.yourlibs.*
# gui = guiproject.yourdomain.*
#
# [vhost-libs/general]
# cvs_roots = 
# svn_roots = svnroot: /var/svn/libs-repos
# default_root = svnroot
#
# [vhost-libs/options]
# show_logs = 1
#
# [vhost-gui/general]
# cvs_roots = cvsroot: /var/cvs/guiproject
# svn_roots = 
# default_root = cvsroot
#

#---------------------------------------------------------------------------
# ViewVC recognizes per-root configuration overrides, too.  To
# override the value of a configuration parameter only for a single
# root, create a configuration section whose names is of the form
# root-ROOTNAME/CONFIGSECTION.  ROOTNAME here is the name of the root
# as defined explicitly in cvs_roots or svn_roots or implicitly as the
# basename of a root path in root_parents.  Options found in this new
# configuration section override for this one root the corresponding
# options found in the base configuration section CONFIGSECTION
# ("options", "authz-*", etc.)
#
# Here is an example showing how to enable Subversion authz-based
# authorization for only the single root named "svnroot":
# 
# [root-svnroot/options]
# authorizer = svnauthz
#
# [root-svnroot/authz-svnauthz]
# authzfile = /path/to/authzfile
#

#---------------------------------------------------------------------------
[authz-forbidden]

# The "forbidden" authorizer forbids access to repository modules,
# defined to be top-level subdirectories in a repository.  You can use
# a simple list of modules, or something more 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.
#
# NOTE: Again, this is for the hiding of modules within repositories, *not* 
# for the hiding of repositories (roots) themselves.
#
# 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*, !*
#
forbidden = 

#---------------------------------------------------------------------------
[authz-forbiddenre]

# The "forbiddenre" authorizer forbids access to repositories and
# repository paths by comparing a list of regular expressions
# (separated by commas) against paths consisting of the repository (or
# root) name plus the path of the versioned file or directory to be
# tested.  For example, to see if the user is authorized to see the
# path "/trunk/www/index.html" in the repository whose root name is
# "svnrepos", this authorizer will check the path
# "svnrepos/trunk/www/index.html" against the list of forbidden
# regular expressions.  Directory paths will be terminated by a forward
# slash.
#
# Like the "forbidden" authorizer...
#
#   *) 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.
#
#   *) Tests are performed in sequence. The first match will terminate the
#      testing. This allows for more complex allow/deny patterns.
#
# Unlike the "forbidden" authorizer, you can can use this to hide roots, too.
#
# Some examples:
#
#    Disallow files named "PRIVATE", but allow all others:
#       forbiddenre = /PRIVATE$
#
#    Disallow the "hidden" repository, allowing all others:
#       forbiddenre = ^hidden(/|$)
#
#    Allow only the "example1" and "example2" roots and the paths inside them,
#    disallowing all others (which can be done in multiple ways):
#       forbiddenre = !^example1(/|$), !^example2(/|$)/
#       forbiddenre = !^example[12](/|$)
#
#    Only allow visibility of HTML files and the directories that hold them:
#       forbiddenre = !^([^/]+|.*(/|\.html))$
#
forbiddenre = 

#---------------------------------------------------------------------------
[authz-svnauthz]

# The "svnauthz" authorizer uses a Subversion authz configuration file
# to determine access to repository paths.  This option specifies the
# location of that file using an absolute path.
#
authzfile =

#---------------------------------------------------------------------------