/[CvsGraph]/cvsgraph/cvsgraph.conf
ViewVC logotype

Annotate of /cvsgraph/cvsgraph.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations)
Sun Mar 4 01:38:23 2001 UTC (16 years, 8 months ago) by bertho
Branch: MAIN
Changes since 1.3: +45 -17 lines
Major update of the code.
- Complete new method of getting the revision structure by directly
  reading the rcs/cvs file. This should also speed things a bit
  because no external program needs to be called anymore.
  This also means that "remote-graphs" are no longer a possible
  extension of the program. But, who cares.
- Implemented branch-kerning to save place. The images are now
  much smaller in width, dependent on the settings of the exterior
  margins.
- Fixed disjoint braches by reading the structure direct from the
  rcs/cvs file. The revision/branch structure is no longer determined
  from the revision numbers, but solely from the rcs/cvs file structure.
- Fixed display of branches with no revisions attached to them. These
  only have a tag describing the new branch.
1 bertho 1.1 # CvsGraph configuration
2     #
3 bertho 1.4 # - Empty lines and whitespace are ignored.
4     #
5 bertho 1.1 # - Comments start with '#' and everything until
6     # end of line is ignored.
7 bertho 1.4 #
8 bertho 1.1 # - Strings are C-style strings in which characters
9     # may be escaped with '\' and written in octal
10     # and hex escapes. Note that '\' must be escaped
11     # if it is to be entered as a character.
12 bertho 1.4 #
13 bertho 1.1 # - Numbers may be entered as octal, decimal or
14 bertho 1.4 # hex as in 0117, 79 and 0x4f respectively.
15     #
16 bertho 1.1 # - Fonts are numbered 0..4 (defined as in libgd)
17 bertho 1.4 # 0 = tiny
18     # 1 = small
19     # 2 = medium (bold)
20     # 3 = large
21     # 4 = giant
22 bertho 1.1 #
23     # - Colors are a string like html-type colors in
24     # the form "#rrggbb" with parts written in hex
25     # rr = red (00..ff)
26     # gg = green (00-ff)
27     # bb = blue (00-ff)
28     #
29 bertho 1.4 # - There are several reserved words besides of the
30     # feature-keywords. These additional reserved words
31     # expand to numerical values:
32     # * false = 0
33     # * true = 1
34     # * left = 0
35     # * center = 1
36     # * right = 2
37     # * gif = 0
38     # * png = 1
39     # * jpeg = 2
40     # * tiny = 0
41     # * small = 1
42     # * medium = 2
43     # * large = 3
44     # * giant = 4
45 bertho 1.1
46     # cvsroot <string>
47     # The *absolute* base directory where the
48     # CSV/RCS repository can be found
49     # cvsmodule <string>
50     #
51     cvsroot = "/home/bertho/tmp/cvstest";
52     cvsmodule = "ttt";
53    
54     color_bg = "#ffffff";
55    
56 bertho 1.4 tag_font = medium;
57 bertho 1.1 tag_color = "#008000";
58    
59 bertho 1.4 rev_font = giant;
60 bertho 1.1 rev_color = "#000000";
61     rev_separator = 1;
62     rev_minline = 15;
63     rev_maxline = 30;
64     rev_lspace = 5;
65     rev_rspace = 5;
66     rev_tspace = 3;
67     rev_bspace = 3;
68    
69 bertho 1.4 # branch_font <number>
70     # The font of the number and tags
71     # branch_color <color>
72     # All branch element's color
73     # branch_[lrtb]space <number>
74     # Interior spacing (margin)
75     # branch_margin <number>
76     # Exterior spacing
77     # branch_connect <number>
78     # Length of the vertical connector
79     branch_font = medium;
80 bertho 1.1 branch_color = "#0000c0";
81     branch_bgcolor = "#ffffff";
82     branch_lspace = 5;
83     branch_rspace = 5;
84     branch_tspace = 3;
85     branch_bspace = 3;
86 bertho 1.4 branch_margin = 15;
87     branch_connect = 8;
88 bertho 1.1
89     # title <string>
90     # %c = cvsroot
91     # %m = module
92     # %f = filename
93     # %r = number of revisions
94     # %b = number of branches
95     # %% = '%'
96     # title_[xy] <number>
97     # Postion of title
98     # title_font <number>
99     # The font
100     # title_align <number>
101     # 0 = left
102     # 1 = center
103     # 2 = right
104 bertho 1.4 # title_color <color>
105 bertho 1.1 title = "%c/%m/%f\nRevisions: %r, Branches: %b";
106     title_x = 10;
107     title_y = 5;
108 bertho 1.4 title_font = tiny;
109     title_align = left;
110 bertho 1.1 title_color = "#800000";
111    
112     # Margins of the image
113     # Note: the title is outside the margin
114     margin_top = 25;
115     margin_bottom = 10;
116     margin_left = 10;
117     margin_right = 10;
118    
119 bertho 1.2 # Image format(s)
120     # image_type <number|{gif,jpeg,png}>
121     # gif (0) = Create gif image
122     # png (1) = Create png image
123     # jpeg (2) = Create jpeg image
124     # Image types are available if they can be found in
125     # the gd library. Newer versions of gd do not have
126     # gif anymore. CvsGraph will automatically generate
127     # png images instead.
128     # image_quality <number>
129     # The quality of a jpeg image (1..100)
130     image_type = gif;
131     image_quality = 75;
132    
133 bertho 1.3 # HTML ImageMap generation
134     #
135     map_name = "MyMapName";
136     map_branch = "Branch";
137     map_rev = "Revision";
138    

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0