bogi wrote:
> Is their a way to trigger a cvs up on a particuler webroot when a commit is 
> performed on the repository, os is cron my only help ?

have you looked at the CVSROOT/commitinfo file?  I haven't used it myself,
but it's supposed to allow for triggered execution when a commit takes 
place.  one limitation is that the trigger will run on the cvs server, not
client. another limitation is 

"If the program returns with a nonzero exit status, the commit is 
prevented from taking place."

which means you may need to have a script that first forks and then 
sleeps momentarily before doing the cvs up.

your script could look like: 

cd /some/web/root
sh -c "sleep 30s && cvs up" &

you'll need to change the sleep length to something more than the length
of time a large commit would take.

if your webroot is not local, you'll have to run the script via ssh.

here is some docs on commitinfo:

http://tinyurl.com/289eo

Dave


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to