[Popcon-commits] cvs commit to CVSROOT by pere
popcon-commits@lists.alioth.debian.org
popcon-commits@lists.alioth.debian.org
Wed, 24 Sep 2003 22:50:33 +0200
Update of /cvsroot/popcon/CVSROOT
In directory quantz:/tmp/cvs-serv22777
Modified Files:
checkoutlist loginfo
Added Files:
update-htdocs.sh
Log Message:
Update web pages when CVS module is updated.
--- NEW FILE: update-htdocs.sh ---
#!/bin/sh
set -e
PATH=/bin:/usr/bin
PROJECTNAME=popcon
CVSROOT=/org/alioth.debian.org/chroot/cvsroot/$PROJECTNAME
DOCROOT=/org/alioth.debian.org/chroot/home/groups/$PROJECTNAME
sleep 3
umask 002
cd $DOCROOT
rm -rf htdocs.new
cvs export -r HEAD -d htdocs.new html
chgrp -R $PROJECTNAME htdocs.new
# Move new directory in place before removing the old one, to reduce the
# period where the web pages are missing.
mv htdocs htdocs.old
mv htdocs.new htdocs
rm -rf htdocs.old
exit 0
Index: checkoutlist
===================================================================
RCS file: /cvsroot/popcon/CVSROOT/checkoutlist,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- checkoutlist 7 Sep 2003 17:19:22 -0000 1.2
+++ checkoutlist 24 Sep 2003 20:50:30 -0000 1.3
@@ -11,5 +11,7 @@
# [<whitespace>]<filename><whitespace><error message><end-of-line>
#
# comment lines begin with '#'
-
+#
syncmail error checking out administrative file syncmail
+#
+update-htdocs.sh
Index: loginfo
===================================================================
RCS file: /cvsroot/popcon/CVSROOT/loginfo,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- loginfo 8 Sep 2003 07:37:18 -0000 1.5
+++ loginfo 24 Sep 2003 20:50:30 -0000 1.6
@@ -28,5 +28,7 @@
# CVSROOT to the CVS admin
CVSROOT $CVSROOT/CVSROOT/syncmail -q -f cvs.alioth.debian.org -r popcon-commits@lists.alioth.debian.org -u %{sVv} popcon-commits@lists.alioth.debian.org
+html $CVSROOT/CVSROOT/update-htdocs.sh &
+
# send the rest to the maintainers
DEFAULT $CVSROOT/CVSROOT/syncmail -q -f cvs.alioth.debian.org -r popcon-commits@lists.alioth.debian.org -u %{sVv} popcon-commits@lists.alioth.debian.org