[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: Mon, 25 Jul 2005 10:27:13 +0300

Dear Mark,

Thanks for the detailed steps. I have done according to your instruction but
getting this message in CVS client now while committing changes

sh: /usr/CVSRoot/CVSROOT/doLog: /usr/bin/perl
: bad interpreter: No such file or directory

I have perl (v5.8.0) installed on sever. And /usr/bin/perl path is also

What is wrong? Please help!! 

Best Regards
Vijay Mishra

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Mark D. Baushke
Sent: Saturday, 23 July , 2005 7:41 PM
To: Vijay Mishra
Cc: address@hidden
Subject: Re: CVS Mail Newbie quaestion 

Hash: SHA1

Vijay Mishra <address@hidden> writes:

> Ok I downloaded both the files and placed the files in $CVSROOT/CVSROOT/
> directory 
> 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

Note that the text '(>=cvs 1.12.x)' is not a part of the line, nor are
the quotes that surround the "DEFAULT...%s" text. That is

     --------------- cut here ---------------
     --------------- cut here ---------------

The line between the 'cut here' lines is the one
you put into your $CVSROOT/CVSROOT/loginfo file.

> 2. Created one more directory in $CVSROOT/log
> 3. touch $CVSROOT/log/commitlog (I have created the empty commitlog
> as such there was no file in this folder.)

Well, the instructions in the comments of the
doLog script tell you to do it...

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

The example suggested using 'cvsuser' which I
suspect would have been the user that was setup to
run in a :pserver: environment rather than your own userid.

The instructions also suggested changing the group
to 'cvs' which expected to be the default group of
the 'cvsuser' login that is running your :pserver:

> 5. chmod 775 $CVSROOT/log/commitlog

This gives both user and group write permissions
and no permissions to the rest of the world.

> 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 

Again, the instructions suggect 'cvsuser.cvs' to
change the owner to 'cvsuser' and the group to
'cvs' and that should match how you have setup
your :pserver: environment.

> 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 configuration.

The script says that it will look up the CVSROOT
filesystem hierarchy for a .mailUsersOnCommit file to be used
which should contain the list of e-mail addresses to be sent
the e-mail.

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

I have never used this package, but I
hope that I have cleared up some of your problems...

        Good luck,
        -- Mark

> Thanks a lot
> Best Regards
> Vijay Mishra
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of Ed
> 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
> news:address@hidden
> >
> > Dear All,
> >
> > I have just finished setting up of CVS on my
> > Linux box. I am pretty much new to CVS and
> > just wondering can I setup email alerts for
> > all my developers as 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
> address@hidden
> _______________________________________________
> Info-cvs mailing list
> address@hidden
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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