Skip to content

Commit

Permalink
Move downloads to S3 bucket. Fixes #885.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jan 10, 2013
1 parent 96adcdc commit 871b1c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Leiningen

<img src="https://github.com/downloads/technomancy/leiningen/leiningen-banner.png"
<img src="http://leiningen.org/img/leiningen-banner.png"
alt="Leiningen logo" title="The man himself" align="right" />

> "Leiningen!" he shouted. "You're insane! They're not creatures you can
Expand Down Expand Up @@ -133,5 +133,5 @@ me that good builds are important.

Images Copyright © 2010 Phil Hagelberg. Distributed under the Creative
Commons Attribution + ShareAlike
License. [Full-size version](https://github.com/downloads/technomancy/leiningen/leiningen-full.jpg)
License. [Full-size version](http://leiningen.org/img/leiningen-full.jpg)
available.
2 changes: 1 addition & 1 deletion bin/lein
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ if [ "$1" = "self-install" ]; then
fi
echo "Downloading Leiningen to $LEIN_JAR now..."
mkdir -p "$(dirname "$LEIN_JAR")"
LEIN_URL="https://github.com/downloads/technomancy/leiningen/leiningen-$LEIN_VERSION-standalone.jar"
LEIN_URL="https://leiningen.s3.amazonaws.com/downloads/leiningen-$LEIN_VERSION-standalone.jar"
$HTTP_CLIENT "$LEIN_JAR.pending" "$LEIN_URL"
if [ $? == 0 ]; then
# TODO: checksum
Expand Down
4 changes: 2 additions & 2 deletions bin/lein.bat
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ if ERRORLEVEL 9009 (
if ERRORLEVEL 9009 goto NO_HTTP_CLIENT
set HTTP_CLIENT=curl --insecure -f -L -o
)
:: set LEIN_JAR_URL=https://github.com/downloads/technomancy/leiningen/leiningen-%LEIN_VERSION%-standalone.jar
set LEIN_JAR_URL=https://cloud.github.com/downloads/technomancy/leiningen/leiningen-%LEIN_VERSION%-standalone.jar
:: set LEIN_JAR_URL=https://leiningen.s3.amazonaws.com/downloads/leiningen-%LEIN_VERSION%-standalone.jar
set LEIN_JAR_URL=https://leiningen.s3.amazonaws.com/downloads/leiningen-%LEIN_VERSION%-standalone.jar
%HTTP_CLIENT% "%LEIN_JAR%.pending" %LEIN_JAR_URL%
if ERRORLEVEL 1 (
del "%LEIN_JAR%.pending" >nul 2>&1
Expand Down
4 changes: 2 additions & 2 deletions todo.org
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ See also https://github.com/technomancy/leiningen/issues
- [X] Remove mention of preview branch from docs, bin/lein
- [X] Deploy and configure clojars promotion functionality
- [X] Document releases repository on Clojars wiki
- [X] Move downloads to S3 (#885)
- [ ] missing dependency resolution output
- [ ] Move downloads to S3 (#885)
- [ ] Prevent overwrites in Clojars
- [ ] Prevent overwrites in Clojars (can happen post-RC)
** 2.0.0-preview9
- [X] Fast trampolining
- [X] Latest newnew
Expand Down

0 comments on commit 871b1c0

Please sign in to comment.