[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Notification on commit
From: |
Peter Wolfe |
Subject: |
Re: Notification on commit |
Date: |
Fri, 22 Dec 2000 08:32:16 -0800 |
address@hidden wrote:
>
> Hi,
>
> How do I setup an email notification to go out whenever someone
> commits a file. I have setup a watch on that file/directory. I don't
> know whether I should now change notify file or loginfo file and how
> do I change. Any help is greatly appreciated. Thanks.
>
Here is what we do:
In file CVSROOT/loginfo:
ALL $CVSROOT/CVSROOT/mailcvs %s
File mailcvs contains:
#! /bin/ksh
# send STDIN as e-mail
/bin/mail -s "COMMITED-code" MAIL-TARGETS
exit 0
This results in e-mail like:
Subject:
COMMITED-code
Date:
Thu, 21 Dec 2000 17:14:28 PST
From:
....
To:
....
Update of /u/cvs/ROOT/dna/IAPI/MIP
In directory komos.teloseng.com:/tmp/cvs-serv1475
Added Files:
Tag: b_HO
mip_iau_opmoc.c
Log Message:
Implementing MOBILE_ON_CHANNEL
Hope this helps
_______________________________________________
--
Peter Wolfe Tel: (604) 303-2300
Telos Engineering Limited, http://www.telostech.com
120 - 13120 Vanier Place, FAX: (604) 276-0501
Richmond, BC, V6V 2J2. email: address@hidden