From ee853a5b35559b64280c20ab34df228d2d2f2632 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 1 Oct 2015 17:26:06 -0400 Subject: [PATCH] Avoid redirects and use raw.githubusercontent.com for github links [ci skip] --- Makefile | 2 +- docs/advanced-installation.md | 6 +++--- docs/getting-started/install/linode.md | 2 +- docs/home.html | 2 +- docs/index.md | 2 +- docs/installation.md | 2 +- tests/ci/setup.sh | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 86b76f89c..6ac17386a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ DOKKU_VERSION = master -SSHCOMMAND_URL ?= https://raw.github.com/progrium/sshcommand/master/sshcommand +SSHCOMMAND_URL ?= https://raw.githubusercontent.com/progrium/sshcommand/master/sshcommand PLUGN_URL ?= https://github.com/progrium/plugn/releases/download/v0.1.0/plugn_0.1.0_linux_x86_64.tgz STACK_URL ?= https://github.com/gliderlabs/herokuish.git PREBUILT_STACK_URL ?= gliderlabs/herokuish:latest diff --git a/docs/advanced-installation.md b/docs/advanced-installation.md index eed676675..580fa6b64 100644 --- a/docs/advanced-installation.md +++ b/docs/advanced-installation.md @@ -3,7 +3,7 @@ You can always install dokku straight from the latest - potentially unstable - master release via the following bash command: ```shell -wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo DOKKU_BRANCH=master bash +wget -qO- https://raw.githubusercontent.com/progrium/dokku/master/bootstrap.sh | sudo DOKKU_BRANCH=master bash ``` ## Development @@ -19,7 +19,7 @@ sudo make install The `Makefile` allows source URLs to be overridden to include customizations from your own repositories. The `DOCKER_URL`, `PLUGN_URL`, `SSHCOMMAND_URL` and `STACK_URL` environment variables may be set to override the defaults (see the `Makefile` for how these apply). Example: ```shell -sudo SSHCOMMAND_URL=https://raw.github.com/yourusername/sshcommand/master/sshcommand make install +sudo SSHCOMMAND_URL=https://raw.githubusercontent.com/yourusername/sshcommand/master/sshcommand make install ``` ## Bootstrap a server from your own repository @@ -27,7 +27,7 @@ sudo SSHCOMMAND_URL=https://raw.github.com/yourusername/sshcommand/master/sshcom The bootstrap script allows the dokku repository URL to be overridden to bootstrap a host from your own clone of dokku using the `DOKKU_REPO` environment variable. Example: ```shell -wget https://raw.github.com/progrium/dokku/master/bootstrap.sh +wget https://raw.githubusercontent.com/progrium/dokku/master/bootstrap.sh chmod +x bootstrap.sh sudo DOKKU_REPO=https://github.com/yourusername/dokku.git DOKKU_BRANCH=master ./bootstrap.sh ``` diff --git a/docs/getting-started/install/linode.md b/docs/getting-started/install/linode.md index 43ab3042b..e13c39c65 100644 --- a/docs/getting-started/install/linode.md +++ b/docs/getting-started/install/linode.md @@ -32,5 +32,5 @@ Deploy using the following (experimental) Official StackScript: * After this, you can install dokku the default way: ```shell - wget -qO- https://raw.github.com/progrium/dokku/master/bootstrap.sh | sudo bash + wget -qO- https://raw.githubusercontent.com/progrium/dokku/master/bootstrap.sh | sudo bash ``` diff --git a/docs/home.html b/docs/home.html index b43af01e6..5e0992d1d 100644 --- a/docs/home.html +++ b/docs/home.html @@ -64,7 +64,7 @@

~ $ - wget https://raw.github.com/progrium/dokku/v0.4.1/bootstrap.sh + wget https://raw.githubusercontent.com/progrium/dokku/v0.4.1/bootstrap.sh

~ diff --git a/docs/index.md b/docs/index.md index 56f6570bb..354975d9f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -15,7 +15,7 @@

~ $ - wget https://raw.github.com/progrium/dokku/v0.4.1/bootstrap.sh + wget https://raw.githubusercontent.com/progrium/dokku/v0.4.1/bootstrap.sh

~ diff --git a/docs/installation.md b/docs/installation.md index 7a190787c..d0fd83090 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -14,7 +14,7 @@ To install the latest stable version of dokku, you can run the following bootstr ```shell # installs dokku via apt-get -wget https://raw.github.com/progrium/dokku/v0.4.1/bootstrap.sh +wget https://raw.githubusercontent.com/progrium/dokku/v0.4.1/bootstrap.sh sudo DOKKU_TAG=v0.4.1 bash bootstrap.sh # By default, this will start the web-based installer on your server's IP diff --git a/tests/ci/setup.sh b/tests/ci/setup.sh index d22fafefa..3508fcb53 100755 --- a/tests/ci/setup.sh +++ b/tests/ci/setup.sh @@ -22,6 +22,6 @@ exec /usr/local/bin/gitreceived -p 2022 -n /root/.ssh/id_rsa /tmp/receiver EOF cat< /etc/rc.local -curl https://raw.github.com/progrium/dokku/master/tests/ci/receiver -s > /tmp/receiver +curl https://raw.githubusercontent.com/progrium/dokku/master/tests/ci/receiver -s > /tmp/receiver chmod +x /tmp/receiver EOF