[cvsnt] Scripts that generate cvsnt-commits traffic?

John Hall john.hall at optionexist.co.uk
Thu Oct 24 09:28:57 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Shankar,

I use a perl script that just appends the information to a file. I then have a cron job that runs periodically and sends e-mails. I use these perl scripts under Windows but I'm sure they can't be that hard to get working under Linux.

The first, cvs_loginfo_email.pl writes the log information into a file with the same name as the e-mail address that logs are going to. You'll need to modify the directory where it stores those files and location of the cvsweb server to use for links.

The second, cvs_process_mail just goes through the log directory and sends the log information to the appropriate e-mail addresses.

Finally, you need entries in loginfo:

^project1  /usr/local/bin/cvs_loginfo_email.pl  "%{sVv}" $USER project1-list at domain.local
^project2  /usr/local/bin/cvs_loginfo_email.pl  "%{sVv}" $USER project2-list at domain.local


I have set up mailing lists for each of the projects I want notifications like this for.

Cheers,
John

-- 
OptionExist Limited.
The Irwin Centre, Scotland Road, Dry Drayton, Cambridge.
Tel: +44 (0)1954 211244, Fax: +44 (0)1954 211565
http://www.optionexist.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs_process_mail.pl
Type: application/octet-stream
Size: 1325 bytes
Desc: cvs_process_mail.pl
Url : http://www.cvsnt.org/pipermail/cvsnt/attachments/20021024/4a20edfc/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs_loginfo_email.pl
Type: application/octet-stream
Size: 1670 bytes
Desc: cvs_loginfo_email.pl
Url : http://www.cvsnt.org/pipermail/cvsnt/attachments/20021024/4a20edfc/attachment-0001.obj 


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook