info-cvs
[Top][All Lists]
Advanced

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

Re: e-mail notification


From: David Marshburn
Subject: Re: e-mail notification
Date: Mon, 15 Jul 2002 13:34:37 -0400 (EDT)

On Mon, 15 Jul 2002, Anette van der Schyf wrote:

> What do I need to get e-mail notification when a file in the repository is
> edited or committed by someone else?  What I have done so far is the
> following:
> 
> Because many of the users' e-mail username and cvs username differs, I
> created a users administrative file like the manual said I must in the
> CVSROOT directory. The 
> contents look as follows:
> 
> avaswegen:address@hidden
> lwentzel:address@hidden
> 
> The notify file only has the following line:
> 
> ALL mail %s -s "CVS notification"
> 
> Then I ran the following command as a test:
> 
> cvs watch add -a all Anette_test.txt
> 
> One of the other users edited and committed the file, but I did not receive
> any notification.
> 
> What am I missing?

You haven't said what flavor of cvs you and your users are running, or on
what platform it runs.  Also, are you running with a server or just with a
shared repository?

If I read it correctly, the line:
        ALL mail %s -s "CVS notification"
says that for all modules, find an executable called 'mail' and run it
with some arguments.  If you're using cvs under Windows, for instance,
there may be no executable called 'mail'.  An alternative we've used is to
write a little script named 'mail' that contacts our department's mail
server to send out the notification (but our users have to remember to put
this mail script in the right place when they set up their build
environment (and we run with just a shared repository and no server)).

Other folks can probably tell you how to do it with a server.

cheers,
-david




reply via email to

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