[Top][All Lists]

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

RE: CVS Mail Newbie quaestion

From: Vijay Mishra
Subject: RE: CVS Mail Newbie quaestion
Date: Sat, 23 Jul 2005 11:43:14 +0300

Ok I downloaded both the files and placed the files in $CVSROOT/CVSROOT/

And done the follwing steps as status in doLog file

1. Appended the log file with the following statement

"DEFAULT $CVSROOT/CVSROOT/doLog --user $USER %p %s" (>=cvs 1.12.x). 
        I putted (>=cvs 1.12.12) I believe x was the revison number of CVS.
Correct me If I am wring

2. Created one more directory in $CVSROOT/log

3. touch $CVSROOT/log/commitlog (I have created the empty commitlog because
as such there was no file in this folder.)

4. chown mishravijay $CVSROOT/log/commitlog (now by doing so I am the owner
of this file. Will it work for other users also? All CVS users have a
different login account)

5. chmod 775 $CVSROOT/log/commitlog

6. touch $CVSROOT/log/filelog (I have created the empty filelog because as
such there was no file in this folder.)

7. chown mishravijay $CVSROOT/log/filelog 

8. chmod 775 $CVSROOT/log/filelog

Now my question is where should I specify the user which has to get mail
notifications on commit. And how to configure the accumMail file also.
Please let me know if there is any detail article avaible for these

I am very much new to the Linux enviornment. Please help

Thanks a lot

Best Regards
Vijay Mishra

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Ed J
Sent: Friday, 22 July , 2005 5:16 PM
To: address@hidden
Subject: Re: CVS Mail Newbie quaestion

Look on  For emailing, I use two perl
scripts I found there.

The first script is doLog.  It's the hook to send an email.  You can control
who gets emailed on a directory-by-directory basis.  CVS will call it once
for each directory in which you've made commits.  Unfortunately, you get a
kind of spamming effect when you commit from multiple directories at once.

That problem is solved by the second script, accumMail.  It will defer and
accumulate emails generated by doLog.  As a result, a commit within multiple
directories will produce just one email with all the commit information,
delayed by a time you can control.

Ed J

"Vijay Mishra" <address@hidden> wrote in message
> Dear All,
> I have just finished setting up of CVS on my Linux box. I am pretty much
> to CVS and just wondering can I setup email alerts for all my developers
> soon as someone commit changes on CVS?
> I have searched the google but can't find a good article on that.
> Any sort of help will be highly appreciated.
> Best Regards
> Vijay Mishra

Info-cvs mailing list

reply via email to

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