[cvsnt] notify_email watcher user variable

Albe alberto.difede at gmail.com
Tue Dec 4 15:33:50 GMT 2007


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.


Hi everybody,

i'm actually using simple notify emails to handle notification to 
watchers, but as in these attached old emails of mine, i'd like to know 
if there's a way i can get the watchers username within the notify_email 
template: consulting the CVSNT manual didn't help unfortunately.

Thanks in advance,


Alberto


Albe wrote:
> Thanks.
> 
> Maybe i didn't explain myself too well. If user A set a watch on a file 
> and user B does something (every kind of edit, unedit, lock, commit), if 
> i used the notify script user A gets an email warning that user B is 
> doing something on that file. Otherwise, with notify_email user A gets 
> an email only if user B does commit the file, not for other operations.
> And this is the difference. Furthermore, i was asking if it was possible 
> to set user A as the receiver, since by using the [user] variable in the 
> template it's user B (the one who does the commit) who gets the email. 
> By looking at the reference guide, there's no variable mentioning the 
> watching user, user A.
> 
> I hope to have been clear.
> 
> 
> Albe
> 
> 
> Bo Berglund wrote:
>> It is probably assumed that the user who commits or does anything else
>> that triggers the notify script in fact already can be considered as
>> being notified...
>> After all it is he who is performing the action in the first place.
>>
>> Best regards,
>>
>> Bo Berglund
>>
>>
>> -----Original Message-----
>> From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
>> Of Albe
>> Sent: den 23 februari 2006 12:17
>> To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
>> Subject: [cvsnt] Notify mail - update
>>
>> Hi,
>>
>> i solved the problem. It was the From: part, which i "enriched" by 
>> adding a display name to the address (<Display Name> user at domain). The 
>> sender doesn't recognize it and screw up. Now it works, more or less, 
>> but i still would like to have something clarified:
>>
>> the notify_email script shouldn't take care of every operation done on a
>>
>> watched file, as by behavior of the notify configuration file? Now it 
>> sends an email only if a watched file is committed by someone else.
>> is there a way to send the email to the user who set the watch? I didn't
>>
>> find a working variable among the ones at disposal for this purpose.
>>
>>
>> Thanks in advance.
>>
>>
>> Alberto
>> _______________________________________________
>> cvsnt mailing list
>> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
>> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 
> 


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