зеркало из https://github.com/mozilla/pjs.git
182 строки
4.6 KiB
Plaintext
182 строки
4.6 KiB
Plaintext
# 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
|
|
#
|
|
# - 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 = "/cvsroot";
|
|
#cvsmodule = "";
|
|
|
|
# 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 = "%Y-%m-%d %H:%M:%S";
|
|
|
|
box_shadow = true;
|
|
|
|
tag_font = medium;
|
|
tag_color = "#007000";
|
|
|
|
rev_font = giant;
|
|
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 = "%d\n%a"; # or "%d\n%a, %s" for author and state too
|
|
rev_text_font = tiny;
|
|
rev_text_color = "#500020";
|
|
|
|
# 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 = "%m%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 = "revmap";
|
|
map_branch_href = "href=\"cvslog.cgi?file=%p%F&rev=%t\"";
|
|
map_branch_alt = "alt=\"%t\" %2";
|
|
map_rev_href = "href=\"cvsblame.cgi?file=%p%F&rev=%R\"";
|
|
map_rev_alt = "alt=\"%a\" onmouseover=\"showMessage('%R')\" id=\"link_%R\" %3";
|
|
map_diff_href = "href=\"%9cvsview2.cgi?diff_mode=context&whitespace_mode=show&file=%F&subdir=%p&command=DIFF_FRAMESET&rev1=%P&rev2=%R\"";
|
|
map_diff_alt = "alt=\"%P <-> %R\" %4";
|
|
|