[cvsnt] CVSMailer group sending

Bo Berglund Bo.Berglund at system3r.se
Thu Mar 2 13:02:49 GMT 2006

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.

CVSMailer questions really do not belong here, but I will answer anyway:

There are two ways the users to receive emails are determined:
1) From the CVSROOT/loginfousers file
2) From the command line parameter #4. If it is -r and followed by a
comma separated list of users then this is used instead of the
loginfousers file.

In both cases CVSMailer will create a list of user names from either of
these two sources.
Then it will use the CVSROOT/users file to expand the user to its email
address. This is a standard CVS method.

So it will look in users to finns a line that starts with the user name
from loginfousers or from the command line.
Each match results in the corresponding email address being added to the
recipients list.

CVSMailer has no other way to retrieve email addresses or determine the
list of recipients.
You can suggest an improvement if you like, then please send it to my
address instead of to the list.
(Not this address though, use bo.berglund(at)telia.com)

The other question is about how CVSNT parses the loginfo file and
someone else may answer this...

Best regards,

Bo Berglund

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Aleksander Pahor
Sent: den 2 mars 2006 12:32
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] CVSMailer group sending

Two questions :) 
First one:
I would like to send some commit notifys trough CVSMailer. I added users
to "users" file and defined groups in "groups" file
(TestGrp1:user1,user2). I added both to "loginfousers" file (user and
group names). 
"loginfo" contains this:
DEFAULT E:/Programs/CVSMailer/CVSMailer.exe -l$CVSPID "$USER" $CVSROOT
"-rTestGrp1" %{sVv}
After I commit a file somewhere the debug from CVSMailer reads:
20060302 12:11:03 DEBUG: Reading the command line users: TestGrp1
20060302 12:11:03 DEBUG: Parsing the subscribed users
20060302 12:11:03 DEBUG: Found user TestGrp1
20060302 12:11:03 No log recipients!

So, CVSMailer gets the parameters right and recognizes it has to send
mails to all users in the group, but at the end - no mail is sent (group
not resolved?). I don't want to list again all the users from the group
in "loginfo" file. I want to keep the list in one place only ("groups"
file). Any idea what I did wrong?
And the second question:
I also found out that the regexp in "loginfo" matches filenames as well
as modules. Is there any parameter(way) to make it more restrictive? I
want to match only module names.
Thanks again for all the info I will get back,
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