Configuration
From P4Spam
Contents |
Change Counter
By default P4Spam uses the p4spam.lastchange counter. If using for an existing Perforce server and you've got a bunch of existing changes, you might want to set the counter before running to the next change to process, like:
p4 counter p4spam.lastchange 2000
The next time P4Spam runs it will start with change 2001.
p4spam.conf
See the provided p4spam.conf for full details on the configuration options.
You can always specify a specific configuration by using the --config flag.
See `bin/p4spam --help` for more details.
Subscriptions
See Subscriptions.
Configuration Reference
NOTE: This is not a complete list (yet).
SUBJECT_FORMAT
Configure the subject line that is used for emails.
SUBJECT_FORMAT = '[P4] #%s - %s'
NOTE: The format requires 2 %s tokens, one for the change #, another for the comment.
Since: 1.1-rc1
SUBJECT_NEW_LINES
Support to cut off the subject line of emails on the first newline or strip using the maximum size.
Set to 'first' or 'strip' (default is strip)
SUBJECT_NEW_LINES = 'first'
Since: 1.1-rc1
DISABLE_DIFF_FOR_FILETYPE
Support to skip diffs for select file types.
DISABLE_DIFF_FOR_FILETYPE = [ 'binary+D' ]
Since: 1.1-rc1
