From db14a453807add7f8a7f406c0d6432685c5e695e Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Thu, 5 Jun 2014 15:04:55 +1000 Subject: [PATCH] Fix up status page dependencies bootstrap-responsive is no longer required. Make sure we follow redirects when fetching deps Change-Id: Ib1222fcb590def5c0147a53f046def86da745830 --- etc/status/.gitignore | 2 +- etc/status/fetch-dependencies.sh | 4 ++-- etc/status/public_html/index.html | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/etc/status/.gitignore b/etc/status/.gitignore index 8b94cad18a..1ecdbed420 100644 --- a/etc/status/.gitignore +++ b/etc/status/.gitignore @@ -1,4 +1,4 @@ public_html/jquery.min.js -public_html/jquery-visibility.min.js +public_html/jquery-visibility.js public_html/bootstrap public_html/jquery.graphite.js diff --git a/etc/status/fetch-dependencies.sh b/etc/status/fetch-dependencies.sh index 4868310ad6..b31d0de5fc 100755 --- a/etc/status/fetch-dependencies.sh +++ b/etc/status/fetch-dependencies.sh @@ -3,10 +3,10 @@ BASE_DIR=$(cd $(dirname $0); pwd) echo "Destination: $BASE_DIR/public_html" echo "Fetching jquery.min.js..." -curl --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js +curl -L --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js echo "Fetching jquery-visibility.min.js..." -curl --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.min.js +curl -L --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.js echo "Fetching jquery.graphite.js..." curl -L --silent https://github.com/prestontimmons/graphitejs/archive/master.zip > jquery-graphite.zip diff --git a/etc/status/public_html/index.html b/etc/status/public_html/index.html index d77470bb7b..3bd7a12fc6 100644 --- a/etc/status/public_html/index.html +++ b/etc/status/public_html/index.html @@ -20,7 +20,6 @@ under the License. Zuul Status - @@ -28,7 +27,7 @@ under the License.
- +