echo "" = new line
id = prints out user
echo %{sVv} = special cvs variable to print out version info

ar2kcm



----- Original Message -----
From: Postek, Jeffery
To: 'ar2kcm'
Sent: Friday, October 12, 2001 12:10 PM
Subject: RE: notify


I can't remember what the %s or %{sVv} string is for.
Please explain.

-----Original Message-----
From: ar2kcm [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 12, 2001 12:07 PM
To: Postek, Jeffery
Cc: [EMAIL PROTECTED]
Subject: Re: notify


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"
[EMAIL PROTECTED]

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"
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to