I see. I put the command to the boost SVN post commit hook script and then I just rsynced Rene's $HOME to the new server:/home/grafik.
Also, have you rsynced the contents of '/u/grafik/www.boost.org/archives/live'? This is where the documentation is stored. There should be softlinks to this directory from /home/www/live.boost.org/doc/archives and /home/www/beta.boost.org/doc/archives.
I believe that the new website also has the proper link for them too now.
Rene, can you please work on the new server once the DNS record is updated?
Regards,
--
- DongInn
On May 23, 2013, at 6:26 PM, Daniel James
Well, Rene's normally the person who deals with these things, but it looks okay to me. Once you've done that, I'll commit something so that we can check it worked.
Also, have you rsynced the contents of '/u/grafik/www.boost.org/archives/live'? This is where the documentation is stored. There should be softlinks to this directory from /home/www/live.boost.org/doc/archives and /home/www/beta.boost.org/doc/archives.
On 23 May 2013 23:07, DongInn Kim
wrote: 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
wrote: 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
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost