[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/master] Remove publish script



commit 411b3c73a349c854c1d159411e11151b22bc67e1
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Sun Oct 19 18:56:47 2014 +0200

    Remove publish script
    
    people shouldn't run it now that we auto-build the website
---
 publish |   42 ------------------------------------------
 1 file changed, 42 deletions(-)

diff --git a/publish b/publish
deleted file mode 100755
index 8c74c5b..0000000
--- a/publish
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-set -e # stop if we encounter an error
-
-# pull the latest changes
-if [ -e .svn ] ; then
-	svn update
-elif [ -e .git ] ; then
-	git svn rebase
-else
-	echo 2>&1 "Cannot figure out which version control thing you're using.  Skipping update"
-fi
-
-# clean up the working directory
-make clean
-
-# actually build the site
-make -j3
-
-# don't copy over stuff with permissions that make it useless
-chmod -R a+r *
-rsync \
-	--exclude .DS_Store \
-	--exclude .svn \
-	--exclude .git \
-	--exclude '.*.sw[po]' \
-	--exclude .deps \
-	--exclude svn \
-	--exclude README \
-	--exclude dist \
-	--exclude releases \
-	--exclude torbutton-current.xpi \
-	--exclude project \
-	-Prvz --delete . www-master.torproject.org:/srv/www-master.torproject.org/htdocs
-
-echo "Forcing mirror update"
-ssh www-master.torproject.org '
-	(
-	 find /srv/www-master.torproject.org/htdocs ! -perm -444 -print0 | xargs -0 --no-run-if-empty chmod -v a+r ||
-	 ( echo >&2 "There are unreadable files in /srv/www-master.torproject.org/htdocs, not triggering mirror run."; exit 1)
-	) &&
-	echo "Triggering mirror run" &&
-	/home/mirroradm/bin/trigger-mirrors'

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits