Index: openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml,v diff -u -r1.17 -r1.18 --- openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml 14 May 2004 14:10:26 -0000 1.17 +++ openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml 4 Jun 2004 13:54:03 -0000 1.18 @@ -275,6 +275,19 @@ If you're on openacs.org, everything should now be fine. Otherwise, you need to move the entire directory tree to openacs.org:/web/openacs/www/repository, replacing what was already there. + This is automated on OpenACS.org by having a dedicated site just for building the repository, invoked with this shell script. Since the page circumvents security checks for ease of use, the entire site is limited to local requests. The script is called daily with a cron job. + #!/bin/sh +#set -x + +STATUS=`wget --output-document - http://127.0.0.1:8002/build-repository.tcl | grep DONE | wc -l` + +if [ $STATUS -eq "1" ] + then + rm -rf /web/openacs.org/www/repository.old + mv /web/openacs.org/www/repository /web/openacs.org/www/repository.old + cp -r /web/repository/www/repository /web/openacs.org/www/repository +fi +