File: notify

package info (click to toggle)
cvs-fast-export 1.55-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,628 kB
  • sloc: ansic: 5,743; python: 1,390; sh: 511; lex: 352; yacc: 271; makefile: 256; perl: 63
file content (20 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (112)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# The "notify" file controls where notifications from watches set by
# "cvs watch add" or "cvs edit" are sent.  The first entry on a line is
# a regular expression which is tested against the directory that the
# change is being made to, relative to the $CVSROOT.  If it matches,
# then the remainder of the line is a filter program that should contain
# one occurrence of %s for the user to notify, and information on its
# standard input.
#
# "ALL" or "DEFAULT" can be used in place of the regular expression.
#
# format strings are replaceed as follows:
#    %c = canonical name of the command being executed
#    %I = unique (randomly generated) commit ID
#    %R = the name of the referrer, if any, otherwise the value NONE
#    %p = path relative to repository
#    %r = repository (path portion of $CVSROOT)
#    %s = user to notify
#
# For example:
#ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification"