[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: notify
From: |
ar2kcm |
Subject: |
Re: notify |
Date: |
Fri, 12 Oct 2001 12:07:08 -0600 |
The entire loginfo file should look like the following:
# The "loginfo" file controls where "cvs commit" log information
# is sent. The first entry on a line is a regular expression which must
match
# the directory that the change is being made to, relative to the
# $CVSROOT. If a match is found, then the remainder of the line is a filter
# program that should expect log information on its standard input.
#
# If the repository name does not match any of the regular expressions in
this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name ALL appears as a regular expression it is always used
# in addition to the first matching regex or DEFAULT.
#
# You may specify a format string as part of the
# filter. The string is composed of a `%' followed
# by a single format character, or followed by a set of format
# characters surrounded by `{' and `}' as separators. The format
# characters are:
#
# s = file name
# V = old version number (pre-checkin)
# v = new version number (post-checkin)
#
# For example:
#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "Src Modifications"
address@hidden
DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
~
Hope this helps,
ar2kcm
----------------------------------------------------------------------------
--
----- Original Message -----
From: Postek, Jeffery
To: 'ar2kcm'
Sent: Friday, October 12, 2001 11:20 AM
Subject: RE: notify
I'm still having problems making this work. Here are the errors I'm
recieving;
sh: syntax error at line 1: `echo' unexpected
cvs commit: syntax error at line 21 file loginfo; ignored
sh: syntax error at line 1: `echo' unexpected
Check out the loginfo file from your $CVSROOT
Add the following information at the end of the file:
ALL (echo ""; id; echo %{sVv}; date; cat) | mailx -s "subject in email"
address@hidden
address@hidden
address@hidden
DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
Regards,
ar2kcm
----------------------------------------------------------
Please tell me how I configure the notify CVS admin file along with any
other files to send e-mail to myself or other development personnel in
the event of changing and commiting source files.
Jeff
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs
- notify, Postek, Jeffery, 2001/10/11