OK, can I put the following line right after the last "svn up" line in the post commit hook script to update the web pages of the new web server until svn.boost.org is migrated to the new server?
/opt/python-2.6/bin/fab -f /home/www/fabric/fabfile.py update_website
The above line would update the web pages of the new server.
Once this change works fine, I will ask Beman to update the DNS record.
Regards,
--
- DongInn
On May 23, 2013, at 5:26 PM, Daniel James
On 23 May 2013 22:07, DongInn Kim
wrote: How do the beta.boost.org and live.boost.org (i.e., www.boost.org) directories are updated? Is there a cron job running to update the page or SVN commit hook is used or such? We are just about to update the DNS record for beta.boost.org and www.boost.org and this change would not cause any downtime.
It's done in an SVN post commit hook. You can see a copy of it at:
http://svn.boost.org/svn/boost/trunk/tools/server/subversion/hooks/post-comm...
The update is at the end. Hopefully you know the location to update this on the server? I can see the file in a couple of places.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost