Skip to search.
info-cvs · installing and using CVS

Group Information

  • Members: 1090
  • Category: Development
  • Founded: Aug 7, 1998
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Monitor for CVS commits   Message List  
Reply Message #13812 of 26776 |
Re: Monitor for CVS commits

Thanks to all of you responded promptly. I appreciate it.


>notifying remote process about changes

>One approach is to add an entry to $CVSROOT/CVSROOT/loginfo

>Example:

>DEFAULT /v/my/dir/bin/cvslog.sh

If I were to summarize the information you have provided for
me

1) In the file $CVSROOT/CVSROOT/loginfo I make an entry
like this

^mydirectory NEW /usr/local/bin/cvslog.sh
$CVSROOT/CVSROOT/commitlog


( I couldnt find the NEW keyword in the docs-my source of info is
http://www.loria.fr/~molli/cvs-index.html)

>Your program will read from
>stdin. And it runs on the server. I believe there is a 'NEW'
>keyword that's used whenever new files are checked in.

Now I need another program(written in Java or C) to monitor this logfile to
see if changes have been made. Correct ?

Thanks again,
Ashwin.

-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com





Thu Jul 29, 1999 11:07 pm

ashwin_j@...
Send Email Send Email

Message #13812 of 26776 |
Expand Messages Author Sort by Date

Hi all, I apologize if this is a previously asked question. I am looking to write a UNIX process which will notify a remote server if a new file has been...
Ashwin Dinakar
ashwin_j@... Send Email
Jul 29, 1999
9:59 pm

notifying remote process about changes One approach is to add an entry to $CVSROOT/CVSROOT/loginfo Example: DEFAULT /v/my/dir/bin/cvslog.sh The cvslog.sh...
Steve Isaacson
stevei@... Send Email
Jul 30, 1999
12:27 am

Thanks to all of you responded promptly. I appreciate it. ... If I were to summarize the information you have provided for me 1) In the file...
Ashwin Dinakar
ashwin_j@... Send Email
Jul 30, 1999
2:06 am

Monitor the file? Why not just have whatever it is that's changing the file (cvslog.sh) notify your process? say, through a fifo, a message queue, a socket,...
Cameron, Steve
Steve.Cameron@... Send Email
Jul 30, 1999
2:31 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help