.snapsource
directory in your
home directory. Lines beginning with a double slash sign (//
) in
the configuration file are considered as comment lines and will be
ignored by snapsource
. WARNING: Starting in release
0.11, the old comment delimiter (`#
') was obsoleted, because the
pound sign was used by Tk to represent color names.
In general, a SnapSource configuration file is line-oriented and each line consists of a parameter name and its value delimited by an equal sign. All configuration entries have to be written not to exceed a single line.
INTERVAL
parameter
specifies how often the external event should be generated.
The value specified is given in minutes.
SOURCE_DIRECTORY
specifies the top-level directory where the source code of the project
is stored. This directory will be recursively checked by SnapSource.
The TARGET_DIRECTORY
specifies the directory to store the base
and delta files. Under this target directory, SnapSource will create
two subdirectories: base
(for storing the base files) and
delta
(for storing the delta files).
The structure of SOURCE_DIRECTORY
will be mimicked in the target
directory as
TARGET_DIRECTORY/base
and TARGET_DIRECTORY/delta
. Files in
the delta directory will have a suffix
diff.
YYYYMMDDhhmmss
INCLUDE_PATTERNS
and
EXCLUDE_PATTERNS
are provided for this purpose.
Patterns can be given as if they were shell wild cards.
Starting in Revision 0.15, SnapSource offers an option for excluding
directory names as well. This behavior is controlled by the parameter
EXCLUDE_DIRS
. Any directories whose name matches any of the
patterns specified in this option will be excluded from the search by
snapsource. This also implies that all the files and lower
subdirectories under those directories will be excluded.
The parameters ADD_COLOR
, CHANGE_COLOR
, and
DELETE_COLOR
can be set to any color names in the X windows color
name data base or a color constant prefixed with a pound sign
(`#
') as used by Tk_Color
.
In this release of SnapSource, the parameter DIFF_OPTION
can be
used to specify how delta files are to be generated.
CRONTAB
will be set to /usr/bin/crontab
.