[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r23470: {} copy the original website for safe keeping. (in website/branches: . original_web)
Author: phobos
Date: 2010-10-09 01:14:35 +0000 (Sat, 09 Oct 2010)
New Revision: 23470
Added:
website/branches/original_web/
website/branches/original_web/publish
Removed:
website/branches/original_web/publish
Log:
copy the original website for safe keeping.
Deleted: website/branches/original_web/publish
===================================================================
--- website/trunk/publish 2010-10-08 17:00:14 UTC (rev 23466)
+++ website/branches/original_web/publish 2010-10-09 01:14:35 UTC (rev 23470)
@@ -1,24 +0,0 @@
-#!/bin/sh
-set -e # stop if we encounter an error
-
-svn update
-make
-
-# Update a timestamp so we can check whether each mirror is
-# up to date.
-[ -d project/trace ] || mkdir -p project/trace
-date -u > project/trace/www.torproject.org
-
-# don't copy over stuff with permissions that make it useless
-chmod a+r * -R
-
-## I'm not comfortable having arbitrary people use --delete yet,
-## since if they screw up it'll blow away arbitrary things.
-#rsync -Prvz --delete . tor.eff.org:directory/
-
-rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . byblos:/var/www/www.torproject.org/htdocs/
-ssh byblos chmod g+w -R /var/www/www.torproject.org/htdocs
-
-echo "Forcing mirror update"
-ssh byblos '/var/lib/mirror-tor/trigger-sync'
-
Copied: website/branches/original_web/publish (from rev 23468, website/trunk/publish)
===================================================================
--- website/branches/original_web/publish (rev 0)
+++ website/branches/original_web/publish 2010-10-09 01:14:35 UTC (rev 23470)
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e # stop if we encounter an error
+
+svn update
+make -j3
+
+# Update a timestamp so we can check whether each mirror is
+# up to date.
+[ -d project/trace ] || mkdir -p project/trace
+date -u > project/trace/www.torproject.org
+
+# don't copy over stuff with permissions that make it useless
+chmod a+r * -R
+rsync --exclude .svn --exclude .deps --exclude svn --exclude dist --exclude releases --exclude torbutton-current.xpi -Prvz --delete . vescum:/srv/www-master.torproject.org/htdocs
+ssh vescum chmod g+w -R /srv/www-master.torproject.org/htdocs
+
+echo "Forcing mirror update"
+ssh vescum '/home/mirroradm/bin/trigger-mirrors'
+