Hi Jeanie,

This might not be what is causing your problems but when I was setting 
up watches on out site it turned out that the version of unix mail we 
have doesn't support -s "Subject".

Try using "ALL mail %s" to see if it works.
If so then you might try to get your hands on another version of mail
(e.g. mailx supports -s "Subject").

Colm A

Schwenk, Jeanie wrote:

> I'm using cvs 1.11.  Sorry for the length but this requires the details.  I
> did RTFM and these issues persist.  Reference cvs manual 10.6.2 and Chapter
> 6 in Fogel's CVS book.
> 
> There are two issues:  
>       1) cvs watchers output looks wrong, and  
>       2) notify isn't happening - what else can I do to debug this?
> 
> -  I have watch turned on.  
> 
> -  the notify file has the line:  ALL mail %s -s "CVS notification"
>    permissions on the file are 777.  It does not need to be wide open but I
> wanted to verify there was not a permissions problem.
> 
> -  the users file has been added and it contains one line:
> jschwenk:jschwenk@catwoman
>    permissions on the file are 666
>    NOTE:  we do not have DNS turned on and catwoman resolves 
>           correctly, I verified with an 
>           "echo hello | mail jschwenk@catwoman" 
>           and it worked.
> 
> In the cvs manual in section 10.6.2 and in Chapter 6 of Fogel's CVS book, it
> says this should be all I need to be notified when someone edits a file I am
> concerned about.
> 
> Here's the order I did things in as user jschwenk:  
> 
> 1. I added and committed the users file 
> 2. added the users file to checkoutlist
> 3. uncommented the ALL mail %s -s "CVS notification" in the notify file
> 4. set watch on -R systema
>    set watch on -R rat
> 5. changed to user cvsadmin and checked out a file set and did a cvsedit on
> two files within the rat. At this point jschwenk should have been sent an
> email.  Nothing.  What else can I do to figure out why not?  Notification is
> critical, I'm developing in Oregon, USA and our counterpart is developing in
> Germany.  
>    
> 6. checked the contents of fileattr for the rat files
> 
> Fsystema        _watched=;_watchers=jschwenk>edit+unedit+commit
> FRatComm.java   _watched=;_editors=cvsadmin>Mon Dec 10 23:44:28 2001
> GMT+pilot+/home/cvsadmin/RAT;_watchers=cvsadmin>tedit+tunedit+tcommit
> FRatGuiPilot.java       _watched=;_editors=cvsadmin>Mon Dec 10 23:44:28 2001
> GMT+pilot+/home/cvsadmin/RAT;_watchers=cvsadmin>tedit+tunedit+tcommit
> 
> 7.  Did a cvs watchers and cvs editors.  The watchers command should show
> jschwenk as watching (see above fileattr contents)
> 
> /home/cvsadmin/RAT> cvs watchers
> RatComm.java            cvsadmin        tedit   tunedit tcommit
> RatGuiPilot.java        cvsadmin        tedit   tunedit tcommit
> 
> /home/cvsadmin/RAT> cvs editors
> RatComm.java            cvsadmin        Mon Dec 10 23:44:28 2001 GMT
> pilot   /home/cvsadmin/RAT
> RatGuiPilot.java        cvsadmin        Mon Dec 10 23:44:28 2001 GMT
> pilot   /home/cvsadmin/RAT
> 
> I was expecting to see the watcher be jschwenk NOT cvsadmin.  I know as
> cvsadmin that I have files checked out for edit, what I wanted was who was
> watching the files.  Is this a bug or did I misunderstand the goal of cvs
> watchers?
> 
> Jeanie
> 
> 

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to