CVS Tricks

I put everything the full site in cvs. I found something I’ve been looking for for ages. I way to update your site when you do a cvs commit

cvs co CVSROOT
$EDITOR loginfo

Add something like:

^www.ytterdal.net (date; cat; (sleep 2; cd /home/ay/www.ytterdal.net;cvs -q update -d) &) >> $CVSROOT/CVSROOT/updatelog 2>&1

Where ^www.ytterdal.net is a regexp of the module in question and the rest is just a small shellscript to run update
And:

cvs commit

Now do a fresh checkout of the webmodule and your site will be updated when you do a commit.