info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using blat to mail a group at each commit


From: krapivka
Subject: using blat to mail a group at each commit
Date: Thu, 21 Sep 2000 18:57:19 -0000
User-agent: eGroups-EW/0.82

I am sure it's been covered before, but for some reason i can't find 
any relevant info in archive.  So here it goes.  I'd like to have 
mail sent to every person in a build groups, when somebody checks in 
their changes.  I am using loginfo file, which looks like this:

ALL     bash $CVSROOT/CVSROOT/cvs-log $CVSROOT/CVSROOT/updatelog

where cvs-log is the following script:

cvs log -d date;

grep '^"Enter Defect Number:.*' | sed '/<[^>]*>/!d;s/*
(.*)//;s/>".*//;s/[ ]*,[ ]*/\
/g;s/.*[<] *//' | sort -nu
cat) > $1
Blat $1 -s "CVS notification" -t address@hidden

It works, however i need to email this file to a group of users.  
Anybody knows how to do it?  I'll probably have to create aliases 
file, smth looking like:
user1:value1
user2:value2
etc...

where all the values are different email addresses...But how do i 
pass this file to blat?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]