diff options
author | 2004-01-31 14:27:59 +0000 | |
---|---|---|
committer | 2004-01-31 14:27:59 +0000 | |
commit | 6b372f8956e4ea206f76434df218feb36d6278ff (patch) | |
tree | fdc289259f5bb1e0c3d4a610827ad3fe37b9c090 /admin | |
parent | removed sponsor (diff) | |
download | gentoo-6b372f8956e4ea206f76434df218feb36d6278ff.tar.gz gentoo-6b372f8956e4ea206f76434df218feb36d6278ff.tar.bz2 gentoo-6b372f8956e4ea206f76434df218feb36d6278ff.zip |
Newly added again, as the old files seemed to be corrupted
Diffstat (limited to 'admin')
-rw-r--r-- | admin/www.gentoo.org/viewcvs/cvsgraph.conf | 192 | ||||
-rw-r--r-- | admin/www.gentoo.org/viewcvs/viewcvs.conf | 516 |
2 files changed, 708 insertions, 0 deletions
diff --git a/admin/www.gentoo.org/viewcvs/cvsgraph.conf b/admin/www.gentoo.org/viewcvs/cvsgraph.conf new file mode 100644 index 0000000000..6c0f6c5933 --- /dev/null +++ b/admin/www.gentoo.org/viewcvs/cvsgraph.conf @@ -0,0 +1,192 @@ +# CvsGraph configuration +# +# - Empty lines and whitespace are ignored. +# +# - Comments start with '#' and everything until +# end of line is ignored. +# +# - Strings are C-style strings in which characters +# may be escaped with '\' and written in octal +# and hex escapes. Note that '\' must be escaped +# if it is to be entered as a character. +# +# - Some strings are expanded with printf like +# conversions which start with '%'. Not all +# are applicable at all times, in which case they +# will expand to noting. +# %c = cvsroot (with trailing '/') +# %C = cvsroot (*without* trailing '/') +# %m = module (with trailing '/') +# %M = module (*without* trailing '/') +# %f = filename without path +# %F = filename without path and with ",v" stripped +# %p = path part of filename (with trailing '/') +# %r = number of revisions +# %b = number of branches +# %% = '%' +# %R = the revision number (e.g. '1.2.4.4') +# %P = previous revision number +# %B = the branch number (e.g. '1.2.4') +# %d = date of revision +# %a = author of revision +# %s = state of revision +# %t = current tag of branch or revision +# %0..%9 = command-line argument -0 .. -9 +# ViewCVS currently uses the following two command-line arguments to +# pass URL information to cvsgraph: +# -6 request.amp_query (the query preceeded with '&') +# -7 request.qmark_query (the query preceed with '?') +# +# - Numbers may be entered as octal, decimal or +# hex as in 0117, 79 and 0x4f respectively. +# +# - Fonts are numbered 0..4 (defined as in libgd) +# 0 = tiny +# 1 = small +# 2 = medium (bold) +# 3 = large +# 4 = giant +# +# - Colors are a string like html-type colors in +# the form "#rrggbb" with parts written in hex +# rr = red (00..ff) +# gg = green (00-ff) +# bb = blue (00-ff) +# +# - There are several reserved words besides of the +# feature-keywords. These additional reserved words +# expand to numerical values: +# * false = 0 +# * true = 1 +# * left = 0 +# * center = 1 +# * right = 2 +# * gif = 0 +# * png = 1 +# * jpeg = 2 +# * tiny = 0 +# * small = 1 +# * medium = 2 +# * large = 3 +# * giant = 4 + +# cvsroot <string> +# The *absolute* base directory where the +# CSV/RCS repository can be found +# cvsmodule <string> +# +cvsroot = "--unused--"; # unused with ViewCVS, will be overridden +cvsmodule = ""; # unused with ViewCVS -- please leave it blank + +# color_bg <color> +# The background color of the image +color_bg = "#ffffff"; + +# date_format <string> +# The strftime(3) format string for date and time +date_format = "%d-%b-%Y\n%H:%M:%S %z"; + +box_shadow = true; + +tag_font = tiny; +tag_color = "#500020"; + +rev_font = medium; +rev_color = "#000000"; +rev_bgcolor = "#f0f0f0"; +rev_separator = 1; +rev_minline = 15; +rev_maxline = 30; +rev_lspace = 5; +rev_rspace = 5; +rev_tspace = 3; +rev_bspace = 3; +rev_text = "%a\n%d"; # or "%d\n%a, %s" for author and state too +rev_text_font = small; +rev_text_color = "#007000"; + +# branch_font <number> +# The font of the number and tags +# branch_color <color> +# All branch element's color +# branch_[lrtb]space <number> +# Interior spacing (margin) +# branch_margin <number> +# Exterior spacing +# branch_connect <number> +# Length of the vertical connector +branch_font = medium; +branch_color = "#0000c0"; +branch_bgcolor = "#ffffc0"; +branch_lspace = 5; +branch_rspace = 5; +branch_tspace = 3; +branch_bspace = 3; +branch_margin = 15; +branch_connect = 8; + +# title <string> +# The title string is expanded (see above for details) +# title_[xy] <number> +# Postion of title +# title_font <number> +# The font +# title_align <number> +# 0 = left +# 1 = center +# 2 = right +# title_color <color> +title = "%C: %p%F\nRevisions: %r, Branches: %b"; +title_x = 10; +title_y = 5; +title_font = small; +title_align = left; +title_color = "#800000"; + +# Margins of the image +# Note: the title is outside the margin +margin_top = 35; +margin_bottom = 10; +margin_left = 10; +margin_right = 10; + +# Image format(s) +# image_type <number|{gif,jpeg,png}> +# gif (0) = Create gif image +# png (1) = Create png image +# jpeg (2) = Create jpeg image +# Image types are available if they can be found in +# the gd library. Newer versions of gd do not have +# gif anymore. CvsGraph will automatically generate +# png images instead. +# image_quality <number> +# The quality of a jpeg image (1..100) +image_type = png; +image_quality = 75; + +# HTML ImageMap generation +# map_name <string> +# The name= attribute in <map name="mapname">...</map> +# map_branch_href <string> +# map_branch_alt <string> +# map_rev_href <string> +# map_rev_alt <string> +# map_diff_href <string> +# map_diff_alt <string> +# These are the href= and alt= attributes in the <area> +# tags of html. The strings are expanded (see above). +map_name = "MyMapName"; +map_branch_href = "href=\"%m%F?only_with_tag=%t%8%6\""; +map_branch_alt = "alt=\"%0 %t (%B)\""; +# You might want to experiment with the following setting: +# 1. The default setting will take you to a ViewCVS generated page displaying +# that revision of the file, if you click into a revision box: +map_rev_href = "href=\"%m%F?rev=%R&content-type=text/vnd.viewcvs-markup%6\""; +# 2. This alternative setting will take you to the anchor representing this +# revision on a ViewCVS generated Log page for that file: +# map_rev_href = "href=\"%m%F%7#rev%R\""; +# +map_rev_alt = "alt=\"%1 %t (%R)\""; +map_diff_href = "href=\"%m%F.diff?r1=%P&r2=%R%8%6\""; +map_diff_alt = "alt=\"%2 %P <-> %R\""; + diff --git a/admin/www.gentoo.org/viewcvs/viewcvs.conf b/admin/www.gentoo.org/viewcvs/viewcvs.conf new file mode 100644 index 0000000000..4d495e8c7e --- /dev/null +++ b/admin/www.gentoo.org/viewcvs/viewcvs.conf @@ -0,0 +1,516 @@ +#--------------------------------------------------------------------------- +# +# Configuration file for ViewCVS +# +# Information on ViewCVS is located at the following web site: +# http://viewcvs.sourceforge.net/ +# +#--------------------------------------------------------------------------- + +# +# BASIC CONFIGURATION +# +# For correct operation, you will probably need to change the following +# configuration variables: +# +# cvs_roots (for CVS) +# svn_roots (for Subversion) +# svn_parent_path (for Subversion) +# default_root +# rcs_path +# mime_types_file +# +# It is usually desirable to change the following variables: +# +# address +# main_title +# forbidden +# +# use_enscript +# use_cvsgraph +# +# For Python source colorization: +# +# py2html_path +# +# If your icons are in a special location: +# +# icons +# +# Also, review the .ezt templates in the templates/ directory to adjust them +# for your particular site. +# + +# +# FORMAT INFORMATION +# +# 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. +# + +#--------------------------------------------------------------------------- +[general] + +# +# 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 +# roots should be separated by commas. +# +cvs_roots = + gentoo: /home/httpd/cvsroot/gentoo, + doc: /home/httpd/cvsroot/gentoo/xml/htdocs/doc, + gentoo-x86: /home/httpd/cvsroot/gentoo-x86, + gentoo-src: /home/httpd/cvsroot/gentoo-src, + gentoo-projects: /home/httpd/cvsroot/gentoo-projects +# cvs : /home/httpd/cvsroot +# +# 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 +# commas. +# +#svn_roots = +# svn : /home/svnrepos + +# +# The 'svn_parent_path' is a directory in which any number of +# Subversion repositories may reside. Rather than force you to add a +# new entry to 'svn_roots' each time you create a new repository, +# ViewCVS rewards you for putting all your Subversion repositories in +# a single parent directory by allowing you to simply specifiy that +# parent directory. ViewCVS will then notice each Subversion +# repository in that directory as a new root whose name is the +# subdirectory of the parent path in which that repository lives. +# +# 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. +# +#svn_parent_path = /home/svn-repositories + +# this is the name of the default root. +#default_root = cvs +default_root = gentoo-x86 + +# uncomment if the RCS binaries are not on the standard path +#rcs_path = /usr/bin/ + +# +# This is a pathname to a MIME types file to help viewcvs to guess the +# 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 + +# This address is shown in the footer of the generated pages. +# It must be replaced with the address of the local repository maintainer. +address = <a href="mailto:www@gentoo.org">www@gentoo.org</a> + +# this title is used on the main entry page +main_title = Repository + +# +# This should contain a list of modules in the repository that should not be +# displayed (by default or by explicit path specification). +# +# 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. +# +#forbidden = !gentoo, !gentoo-src, !gentoo-x86, !help_*.html, !images, !index.html +forbidden = admin, .lock, .frozen + +# 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*, !* +# + +# +# 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 +# + +# +# The languages available to ViewCVS. There are several i18n mechanisms +# 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 +# + +#--------------------------------------------------------------------------- +[templates] + +# +# The templates are specified relative to the configuration file. Absolute +# paths may be used, if you want to keep these elsewhere. +# +# 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. +# + +query = templates/query.ezt +footer = templates/footer.ezt +diff = templates/diff.ezt +graph = templates/graph.ezt +annotate = templates/annotate.ezt +markup = templates/markup.ezt + +directory = templates/directory.ezt +# For an alternate form, where the first column displays a revision number +# and brings you to the log view (and the filename displays the HEAD), then +# you may use this template: +# directory = templates/dir_alternate.ezt + +log = templates/log.ezt +# For a log view where the revisions are displayed in a table, you may +# want to try this template: +# log = templates/log_table.ezt + +#--------------------------------------------------------------------------- +[cvsdb] + +#host = localhost +#database_name = ViewCVS +#user = +#passwd = +#readonly_user = +#readonly_passwd = +#row_limit = 1000 + +#--------------------------------------------------------------------------- +[options] +### DOC + +# root_as_url_component: Interpret the first path component in the URL +# after the script location as the root to use. This is an +# alternative to using the 'root=' query key. If no path components +# exists in the script url after the script location, or if the first +# such path component does not identify the name of configured root +# (see the 'cvs_roots', 'svn_roots', and 'svn_parent_path' +# configuration items), the path will be expected to exist inside the +# configured default root (the 'default_root' configuration item). +# 1 Treat first path component as root name +# 0 No special treatment of first path component (use root=) +root_as_url_component = 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 + +# 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 = 0 + +# log_sort: Sort order for log messages +# 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 +# l Long human readable (more context) +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 + +# allow annotation of files. +allow_annotate = 1 + +# 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 + +# 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 the repository. +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 + +# show a portion of the most recent log entry in directory listings +show_logs = 1 + +# Show log when viewing file contents +show_log_in_markup = 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.. + +# +# If you want to use Marc-Andrew Lemburg's py2html (and Just van Rossum's +# PyFontify) to colorize Python files, then you may need to change this +# variable to point to their directory location. +# +# This directory AND the standard Python path will be searched. +# +py2html_path = . +#py2html_path = /usr/local/lib/python1.5/site-python + +# the length to which the most recent log entry should be truncated when +# shown in the directory view +short_log_len = 80 + +# should we use 'enscript' for syntax coloring? +use_enscript = 1 + +# +# if the enscript program is not on the path, set this value +# +enscript_path = +# enscript_path = /usr/bin/ + +# +# ViewCVS has its own set of mappings from filename extensions and filenames +# to languages. If the language is not supported by enscript, then it can +# be listed here to disable the use of enscript. +# +disable_enscript_lang = perl, bash, sh +# disable_enscript_lang = perl, cpp + +# +# ViewCVS can generate tarball from a repository on the fly. +# +allow_tar = 0 +# allow_tar = 1 + +# +# Use CvsGraph. See http://www.akhphd.au.dk/~bertho/cvsgraph/ for +# documentation and download. +# +use_cvsgraph = 1 +# use_cvsgraph = 1 + +# +# if the cvsgraph program is not on the path, set this value +# +cvsgraph_path = +# cvsgraph_path = /usr/local/bin/ + +# +# Location of the customized cvsgraph configuration file. +# You will need an absolute pathname here: +# +cvsgraph_conf = /home/httpd/viewcvs/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 ViewCVS 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 + +#--------------------------------------------------------------------------- +[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. +# + +#--------------------------------------------------------------------------- |