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

Diff of /cvsgraph/cvsgraph.conf.5

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

revision 1.34, Mon Oct 3 20:40:25 2005 UTC revision 1.35, Sun Dec 18 01:57:57 2005 UTC
# Line 1  Line 1 
1  .TH "cvsgraph.conf" "5" "1.5.2" "B. Stultiens" "CVS/RCS Utilities"  .TH "cvsgraph.conf" "5" "1.6.0" "B. Stultiens" "CVS/RCS Utilities"
2  .SH "NAME"  .SH "NAME"
3  cvsgraph.conf \- CVS/RCS repository grapher configuration  cvsgraph.conf \- CVS/RCS repository grapher configuration
4  .SH "OVERVIEW"  .SH "OVERVIEW"
# Line 134  Line 134 
134  gg = green (00\-ff) and bb = blue (00\-ff).  gg = green (00\-ff) and bb = blue (00\-ff).
135    
136  .LP  .LP
137    Colors and some strings can also be defined as conditional
138    expressions so that revision/branch conditions can be repesented
139    visually:
140    .br
141      color/string = [ "key" op "content" truecase falsecase ];
142    .br
143    Operator 'op' can be one of:
144    .TP
145    =~
146    contained in regex
147    .TP
148    =*
149    contained in regex, case insensitive
150    .TP
151    !~
152    not contained in regex
153    .TP
154    !*
155    not contained in regex, case insensitive
156    .TP
157    <
158    less than string, timestamp or rev/branch number
159    .TP
160    <=
161    less or equal than string, timestamp or rev/branch number
162    .TP
163    >
164    greater than string, timestamp or rev/branch number
165    .TP
166    >=
167    greater or equal than string, timestamp or rev/branch number
168    .TP
169    ==
170    equal than string, timestamp or rev/branch number
171    .TP
172    !=
173    not equal than string, timestamp or rev/branch number
174    .LP
175    The 'content' is one of:
176        * POSIX 1003.2 extended regular expression
177        * timestamp in UTC format: YYYY[.MM[.DD[.hh[.mm[.ss]]]]]
178        * revision or branch number
179    The 'key' can be one of:
180    .TP
181    state
182    State of the revision
183    .TP
184    author
185    The auther of a revision
186    .TP
187    tag
188    both revision- and branch-tags
189    .TP
190    date
191    date of the revision
192    .TP
193    rev
194    numeric revision- or branch-number
195    .LP
196    Both 'truecase' and 'falsecase' can be either a (color-)string,
197    as described above, or a new conditional expression.
198    Examples:
199    .br
200        rev_bgcolor = [ "state" =~ "dead" "#e08080" "#f0f0f0" ];
201    .br
202        branch_color= [ "rev" < "2.1.2" "#000000" [ "tag" =~ "XyZ.*" "#123456" "#654321" ] ];
203    .br
204        rev_idtext  = [ "state" == "dead" "Dead %R" "%R" ]
205    .br
206    Note that not all colors can be changed on the fly. For example,
207    branch_color cannot be be changed based on revision identification
208    (i.e. author, date or state). The color_bg is always unique and
209    fixed (all expressions will evaluate to the false case).
210    Also, only string rev_text and rev_idtext can be conditional expressions
211    as other do not make much sense to be dynamic.
212    
213    .LP
214  Booleans have three possible arguments: true, false and not. `Not' means  Booleans have three possible arguments: true, false and not. `Not' means
215  inverse of what it was (logical negation) and is represented by the value -1.  inverse of what it was (logical negation) and is represented by the value -1.
216  For the configuration file that means that the default value is negated.  For the configuration file that means that the default value is negated.
# Line 450  Line 527 
527  Default is 0.  Default is 0.
528    
529  .TP  .TP
530  \fBrev_text\fR \fIstring\fR  \fBrev_idtext\fR \fIconditional string\fR
531    The revision ID or revision number in a revision box.
532    .br
533    Default is "%R".
534    
535    .TP
536    \fBrev_text\fR \fIcondtional string\fR
537  The additional text in a revision box under the revision number.  The additional text in a revision box under the revision number.
538  .br  .br
539  Default is "%d".  Default is "%d".

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0