[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Notify, loginfo, etc.
From: |
Marc Tessier |
Subject: |
RE: Notify, loginfo, etc. |
Date: |
Wed, 5 Feb 2003 11:13:36 -0500 |
You can trap the complete log output by calling a script at every commit on a
particular module. I have the following line in my loginfo file. The script put
the STDIN to the email by calling the "cat" command without parameter and in
forward quote ``
My logingo file below:
^modulename /home/CVS/commitmail modulename "address@hidden"
and my /home/CVS/commitmail script look like this
echo ""
echo "An email has been sent to ${2} about this COMMIT."
echo ""
mail -s "${CVSROOT} - ${1}" "${2}" <<!
The following file has been modified by ${CVS_USER} on `date`
=======================================================
`cat`
!
This will generate the the following email below:
The following file has been modified by mtessier on Mon Jan 20 15:40:30 EST 2003
=======================================================
Update of /home/CVS/prod/cityfone/releases
In directory fileguardian.ca.intasys.com:/tmp/cvs-serv24478/releases
Added Files:
296_post_installation.sql 296_pre_installation.sql
303_post_installation.sql 303_pre_installation.sql
304_post_installation.sql 304_pre_installation.sql
CF_ER1_9_3.sql
Log Message:
New script files
-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of
Yarbrough, Jay
Sent: Wednesday, February 05, 2003 10:44 AM
To: address@hidden
Subject: Notify, loginfo, etc.
I would like the notify script to send not only the name of the file which has
been committed, but also the comment entered by the developer who committed the
change.
Can anyone provide a bit of assistance?
Thanks,
J
-----------------------------------------
This email and any attachments are confidential and may be legally privileged.
No confidentiality or privilege is waived or lost by any transmission in error.
If you are not the intended recipient you are hereby notified that any use,
printing, copying or disclosure is strictly prohibited. Please delete this
email and any attachments, without printing, copying, forwarding or saving them
and notify the sender immediately by reply e-mail. The company reserves the
right to monitor all e-mail communications through its networks. Unless
otherwise stated, any financial results or price data contained in this email
are indicative only and are subject to change without notice.
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs