Commit graph

583 commits

Author SHA1 Message Date
Pavan Kumar Sunkara
0cee4b43fa Add /etc/leinrc to lein script 2015-04-02 03:47:42 +05:30
Jean Niklas L'orange
a920ddbb77 Fix some typos, warn about lack of security.
[ci skip]
2015-02-12 20:56:56 +01:00
Frederick Giasson
9b60ea0332 Second iteration to get the "failed to download" behavior right. 2015-02-12 11:56:49 -05:00
Frederick Giasson
af55842853 Adding a better description of what may be the issue with a failed download. Also adding some possible fixes options. 2015-02-11 14:47:04 -05:00
Frederick Giasson
5addbbf863 Reorder the possible HTTP proxies to use to download Leiningen from GitHub. The new sequence is: PowerShell, Curl and then Wget.
Fixes issue #1800 as experienced by multiple users.
2015-02-11 14:02:59 -05:00
Florian Anderiasch
8a1078b030 Fixes #1420
Under the assumption that .lein-classpath contains only one line.
2015-02-10 23:33:07 +01:00
Martin Ceronio
fa4c542970 Fixes technomancy/leiningen/#1308
Change the powershell option to use the default system proxy in Windows using solution from here: http://stackoverflow.com/a/25082595/274354
2015-02-05 12:11:45 +02:00
Phil Hagelberg
7aef5c3cfc Bump version to 2.5.2-SNAPSHOT.
[ci skip]
2015-01-09 09:55:40 -08:00
Phil Hagelberg
27e5e20902 Update self-install URL in bat file too. 2015-01-09 09:51:32 -08:00
Phil Hagelberg
b630fa37b8 Release 2.5.1 2015-01-09 09:47:16 -08:00
Phil Hagelberg
f48846ff3c Github is being dumb and disallowing .jar uploads.
"Unfortunately, we don't support that file type. Try zipping it."

It's already a zip file, genius.
2015-01-09 09:43:34 -08:00
Phil Hagelberg
d63b2fa40f Don't skip the certificate checking in lein.bat, geeeeeeeeez.
Fixes #1733.
2015-01-07 15:52:06 -08:00
Sindunata Sudarmaji
fa0556d6ed Fix broken lein self-install 2014-09-29 22:51:36 +09:00
James Bence
7fb710c8a6 Avoid setting SCRIPT to empty string 2014-09-24 09:50:47 -07:00
Jean Niklas L'orange
9cbb7df75a Back to snapshot. 2014-09-22 13:19:10 +02:00
Phil Hagelberg
c78a8110a8 Release 2.5.0 2014-09-14 21:26:56 -07:00
Jean Niklas L'orange
c362ae4bc2 Merge pull request #1691 from technomancy/fix-erroneous-shell-command-form
Fix negation in shell-command form.
2014-09-14 01:29:15 +02:00
Jean Niklas L'orange
fb33a9506e Set env var if .lein-fast-trampoline exists.
Makes it possible to just use LEIN_FAST_TRAMPOLINE in the Lein process,
to check if the user is using fast trampolining. Strictly speaking, one
previously had to check whether LEIN_FAST_TRAMPOLINE was set or check
that .lein-fast-trampoline existed inside Lein.
2014-09-14 01:22:31 +02:00
Phil Hagelberg
9def660852 Bump to 2.5.0-SNAPSHOT. 2014-09-09 16:26:47 -07:00
Phil Hagelberg
df3f67269f Merge pull request #1676 from timmc/alt-jvm-encoding
Allow $LEIN_JVM_OPTS to override -Dfile.encoding
2014-09-08 09:51:06 -07:00
Tim McCormack
74ec14fb20 Move $LEIN_JVM_OPTS farther down (override all but cp and lein*) 2014-09-08 09:07:40 -04:00
Phil Hagelberg
0184e5c84d Update bin/release with more checks.
[ci skip]
2014-09-06 15:14:57 -07:00
Jean Niklas L'orange
1b9f5d0705 Merge pull request #1599 from samuelbosch/master
use call to run wget and curl
2014-09-06 15:58:40 +02:00
Tim McCormack
b5ded1a524 Allow LEIN_JVM_OPTS to override -Dfile.encoding.
This allows the JVM to be run with an encoding other than UTF-8; my
own use-case for this is running tests to check if I'm forgetting to
specify UTF-8 in any character encoding/decoding calls.
2014-09-05 09:49:49 -04:00
Jean Niklas L'orange
be909c8f45 Check if mktemp is available before using it.
Fixes #1514.
2014-08-18 20:52:57 +02:00
Jean Niklas L'orange
651370487d Fix grammar and print exit code from http client. 2014-08-11 09:59:04 +02:00
Phil Hagelberg
26dd8c2074 That was terrible advice. 2014-08-09 22:17:31 -07:00
Phil Hagelberg
6d79dcfedc Bump version number up to 2.4.4-SNAPSHOT. 2014-08-05 16:21:34 -07:00
Phil Hagelberg
983847276d Release 2.4.3 2014-08-05 16:03:18 -07:00
Phil Hagelberg
75279fed98 News for 2.4.3. 2014-08-05 15:58:57 -07:00
Hugo Duncan
eaffda3082 Add LEIN_NO_USER_PROFILES to avoid user profiles
When set, this environment var will prevent user level profiles from
loading.
2014-08-01 11:18:43 -04:00
Samuel
b570a51273 use call to run wget and curl
When wget or curl are wrapped in a .bat or .cmd file as is done by chocolatey then you have to run with call. Using call to run regular executables works as well. This prevents the error "The system cannot find the batch label specified" from appearing.
2014-07-15 13:29:21 +02:00
Jean Niklas L'orange
fbe9bd0ce4 Update lein-pkg version number. 2014-06-26 12:36:43 +02:00
Phil Hagelberg
8001daf1ab Add issues.clj for programmatic issue summary. 2014-06-17 13:20:45 -07:00
Phil Hagelberg
e738fec65c Bump version to 2.4.3-SNAPSHOT. 2014-06-15 17:24:48 -07:00
Phil Hagelberg
f73a9998ff Release 2.4.2 2014-06-15 17:14:10 -07:00
Phil Hagelberg
10d3b098ed Bump version to 2.4.2-SNAPSHOT. 2014-06-15 17:03:58 -07:00
Phil Hagelberg
3f9ecd6cb7 Release 2.4.1 2014-06-15 16:48:22 -07:00
Phil Hagelberg
e2a9c54326 Update NEWS for 2.4.1. 2014-06-15 14:12:55 -07:00
Phil Hagelberg
59cca9158e Fix uberjar download link in lein.bat. 2014-06-10 20:33:41 -07:00
Phil Hagelberg
e5a994ab6e Bump to 2.4.1-SNAPSHOT. 2014-06-09 16:33:24 -07:00
Phil Hagelberg
dfaa2dfe43 Release 2.4.0 2014-06-09 16:17:48 -07:00
Phil Hagelberg
52f6ec9b4c Use GitHub releases. 2014-06-09 16:13:23 -07:00
Phil Hagelberg
cba4fa6fca This is a no-op for the vast majority of users.
Those still on 32-bit machines are better served by tiered compilation
on the server JVM.
2014-06-08 08:10:06 -07:00
Max Prokopiev
49dd9536c8 Lower read time out for wagon-http
Fixes #1096
2014-01-24 22:00:05 +04:00
Phil Hagelberg
19c49bd2ab Don't use /tmp when LEIN_FAST_TRAMPOLINE is enabled.
Fixes #1396.
2014-01-20 17:36:19 -08:00
Ben Booth
b8d5ec1938 fix DRIP_INIT not being set when LEIN_JAVA_CMD is drip 2013-12-19 18:19:23 -08:00
Phil Hagelberg
1ce5c2f78b Merge pull request #1383 from dannypurcell/msys-classpath-fix
Fixes classpath issue under msys
2013-12-02 18:55:06 -08:00
Phil Hagelberg
18c53cedf6 Block upgrades in bin/lein-pkg.
Fixes #1377.
2013-12-01 13:47:00 -08:00
Danny Purcell
bd0ff6dd8c Fixes classpath issue under msys 2013-11-30 10:04:10 -06:00
Martin Forsgren
e4807db069 Print "already up-to-date" on upgrade if that's the case. 2013-11-20 00:25:06 +01:00
Phil Hagelberg
12b97749bd Bump version number back to a snapshot. 2013-11-19 10:05:36 -08:00
Phil Hagelberg
77d659e6ee Release 2.3.4 2013-11-18 21:59:05 -08:00
Phil Hagelberg
85d3549c14 Bump version up to 2.3.4-SNAPSHOT. 2013-10-09 09:06:18 -07:00
Phil Hagelberg
6a6cecee0f Release 2.3.3 2013-10-05 15:40:59 -07:00
Shantanu Kumar
c1b21360b9 fix #1309 - lein.bat now honors HTTP_CLIENT env var 2013-08-25 02:34:43 +05:30
Phil Hagelberg
0a5c616bbd Bump version up to 2.3.3-SNAPSHOT. 2013-08-20 17:42:27 -07:00
Chas Emerick
7d7426b143 prepare for 2.3.2 release 2013-08-20 16:55:17 -04:00
Chas Emerick
6045c19d17 use ~/.s3cmd.lein.gpg for upload credentials 2013-08-20 16:54:21 -04:00
Shantanu Kumar
3bf58be3cb fix #1150 https://github.com/technomancy/leiningen/issues/1150 2013-08-17 03:21:39 +05:30
Shantanu Kumar
c17d75c30b fix https://github.com/technomancy/leiningen/issues/1292 2013-08-15 18:13:44 +05:30
Phil Hagelberg
e624a768d3 Release 2.3.1 2013-08-13 04:28:39 +00:00
Phil Hagelberg
d661b1846a Typo.
[ci skip]
2013-08-11 19:57:33 -07:00
Phil Hagelberg
b39adc9e8d Support downgrade as alias to upgrade. 2013-08-11 09:14:51 -07:00
Steven Harms
27e65f8b0b Update lein to detect an empty HTTP_CLIENT variable prior to attempting to download 2013-08-09 20:58:39 -04:00
Phil Hagelberg
9d93cdd19e Automate upload of uberjar and signature in bin/release. 2013-08-09 10:24:31 -07:00
Jean Niklas L'orange
288ca9aa6f 2.3.0-SNAPSHOT -> 2.4.0-SNAPSHOT 2013-08-09 14:33:31 +02:00
Sam Aaron
8263dfca40 Move down_load_failed_message before all usages 2013-08-09 08:30:47 +01:00
Phil Hagelberg
ac33004a92 Bump back to snapshot. 2013-08-08 20:16:54 -07:00
Phil Hagelberg
aeaca0cbd7 Release 2.3.0 2013-08-08 20:10:42 -07:00
Luigi D. Teixeira
d2afb8fa06 Fix NoClassDefFoundError when path has spaces
Fix NoClassDefFoundError when LEIN_HOME has spaces.

Related to issue #1238
2013-07-26 15:45:26 -03:00
Phil Hagelberg
f9395ba22e Deprecate explicit self-install command in bin/lein.
Fixes #1251
2013-07-24 20:55:44 -07:00
Jean Niklas L'orange
afb8882578 Exit if trampoline file is empty. Fixes #1254.
A consequence of this fix is that travis-ci will complain on errors and
fails again, and I expect this build to fail due to that very reason.
2013-07-16 11:40:51 +02:00
Phil Hagelberg
c701c57440 Move download-calculating script. 2013-07-12 07:40:06 -07:00
Phil Hagelberg
f4b489b8da Merge pull request #1252 from gphil/leiningen-download-stats
automate collection and reporting of leiningen download statistics
2013-07-12 07:37:36 -07:00
Greg Phillips
2560d7abfb automate collection and reporting of current leiningen download statistics 2013-07-11 12:27:45 -07:00
Jostein Kjønigsen
00b4b1bda7 Fix problem with spaces in user-profile. 2013-07-09 19:58:01 +02:00
Juergen Hoetzel
6e5c5a1714 Secure handling of temporary trampoline file
File name is easy to predict when using PID ($$) as template.
2013-06-17 21:51:22 +02:00
Roberto Mannai
bd20685fa4 CLASSPATH space-tolerant
The remaining path after the first space was considered as being a class name.
2013-06-05 14:09:23 +03:00
Colin Jones
ea443fecf4 Move to using LEIN_JVM_OPTS for cygwin UnixTerminal
refs #1194
2013-05-31 09:52:32 -05:00
Phil Hagelberg
e4b66b2b9e Bump back to snapshot.
[ci skip]
2013-05-28 21:43:13 -07:00
Phil Hagelberg
5eaad5c48d Release 2.2.0 2013-05-28 17:04:23 -07:00
AtKaaZ
9750e0ebb9 Handle folders with spaces in their names (under windows)
Show error message when parent folders(LEIN_ROOT) contain semicolon in
their names and require that .lein-bootstrap be recreated in this case.
Semicolon in files/folder names is not supported even though windows
allows such names.
2013-04-30 15:51:42 +03:00
AtKaaZ
2510ab24f0 get \leiningen-core\.lein-bootstrap paths properly in windows
else getting:
Error: Could not find or load main class clojure.main

this now allows compiling leiningen on windows successfuly
2013-04-29 23:54:15 +03:00
AtKaaZ
4bf8dcbd8d bootstrap typo in lein.bat 2013-04-29 22:38:41 +03:00
Colin Jones
e6529bc5da Allow bootstrap from batch file 2013-04-14 21:00:08 -05:00
Colin Jones
0d6a7a70cc Stop pretending shell is a reasonable language 2013-04-12 16:07:40 -05:00
Colin Jones
0d19edb0cc Handle cygwin jline issues
fixes #850
2013-04-12 15:24:34 -05:00
Colin Jones
1f6ce39712 Isolate OSTYPE checks for cygwin a bit 2013-04-12 15:19:00 -05:00
Phil Hagelberg
7ef8170aea Back to 2.2.0-SNAPSHOT. 2013-04-12 10:16:37 -07:00
Phil Hagelberg
eccd23d062 Release 2.1.3 2013-04-12 10:02:18 -07:00
Malcolm Sparks
dea089e6c0
Fixes issue 1144. The fast trampoline functionality now works properly in the absence of a .lein/profiles.clj file. 2013-04-12 13:11:15 +01:00
Michael Klishin
81fb062a95 Merge pull request #1118 from djpowell/quotes-around-download
Allow for spaces in download locations
2013-03-31 08:36:30 -07:00
David Powell
bd9e2e2550 Allow for spaces in download locations 2013-03-31 16:13:27 +01:00
Phil Hagelberg
da76893c23 Back to 2.2.0-SNAPSHOT. 2013-03-28 15:38:43 -07:00
Phil Hagelberg
10d7d1faa3 Release 2.1.2 2013-03-28 14:46:32 -07:00
Phil Hagelberg
952076e822 Use file.separator in pom path relativization.
Fixes #944 I think.
2013-03-28 12:40:11 -07:00
Phil Hagelberg
f8f568bf96 Fix self-install dev heuristic to refuse to operate on a checkout.
Fixes #1106.
2013-03-28 12:21:19 -07:00
Phil Hagelberg
a42c5521f4 Move Tiered Compilation to LEIN_JVM_OPTS and document.
Fixes #1111.
2013-03-28 11:04:13 -07:00
Jean Niklas L'orange
6a70dc3236 Update messages for bootstrapping lein in scripts.
ref #1089.
2013-03-23 14:54:59 +01:00