Commit graph

606 commits

Author SHA1 Message Date
Phil Hagelberg
160666ca3d Merge pull request #1094 from mtopolnik/remove-warn-chaining
Consider removing warn-chaining
2013-03-23 20:18:51 -07:00
Marko Topolnik
64dec29c14 Remove warn-chaining 2013-03-23 22:46:37 +01:00
Marko Topolnik
41f5641dfc Delete duplicate code 2013-03-23 17:15:02 +01:00
David Powell
b097e3fc2c Fix for incorrect escaping of parameters on Windows
fixes #863 - exception when running lein check
2013-03-23 13:33:20 +00:00
Phil Hagelberg
3edc5c3d44 Bump version back to 2.2.0-SNAPSHOT 2013-03-21 15:41:14 -07:00
Phil Hagelberg
bc84d8d166 Release 2.1.1 2013-03-21 15:32:09 -07:00
Phil Hagelberg
56a0bb1187 Add :test-paths to :checkout-deps-shares.
Fixes #950.
2013-03-21 12:40:24 -07:00
Phil Hagelberg
5c294e66e7 Allow run task to operate outside project directory.
Fixes #1086.
2013-03-21 12:39:29 -07:00
Phil Hagelberg
50a15b9d2a Merge remote-tracking branch 'origin/with-profile-symmetry'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2013-03-20 15:15:04 -07:00
Phil Hagelberg
305bfc1410 Bump version numbers to 2.2.0-SNAPSHOT.
[ci skip]
2013-03-20 12:49:31 -07:00
Colin Jones
fe6a0d1db2 Unify & expand the profile list for show-profiles 2013-03-19 23:12:12 -05:00
Phil Hagelberg
904f2c91a4 Release 2.1.0 2013-03-19 19:45:21 -07:00
Phil Hagelberg
fa602e807b Look for bare maps in ~/.lein/profiles.d/*; disallow :user there.
Fixes #1068.
2013-03-19 19:39:36 -07:00
Phil Hagelberg
ededa95c2d Merge remote-tracking branch 'marcliberatore/natives-update-java-library-path' 2013-03-19 14:25:48 -07:00
Marc Liberatore
d9e943e519 fix error in test introduced in 43581e2 2013-03-19 16:07:06 -04:00
Marc Liberatore
43581e240f update java.library.path based on :native-prefix, addressing #898 2013-03-19 15:25:51 -04:00
Phil Hagelberg
3816f67861 Bump cheshire, slingshot, and pomegranate deps. 2013-03-19 10:24:56 -07:00
Michael Klishin
8a06fbdb22 Merge pull request #1077 from djpowell/windows-system-profile
use an appropriate location for system profiles on windows
2013-03-18 12:59:15 -07:00
Phil Hagelberg
568065d4d9 Formatting for leiningen-core files. 2013-03-18 09:34:40 -07:00
Phil Hagelberg
8f953e21cf Bootstrap leiningen-core with the base profile only. 2013-03-18 09:21:00 -07:00
Phil Hagelberg
2b6e29c272 Prefer ^:private to closing over an atom.
For consistency more than anything else.
2013-03-18 09:11:43 -07:00
Phil Hagelberg
d4ea69d93b Warn when system profiles contain :repositories. 2013-03-18 09:10:35 -07:00
Phil Hagelberg
a23f4be441 Add :system to list of profiles applied by default. 2013-03-18 09:03:37 -07:00
david.powell
05bf3de42c use an appropriate location for system profiles on windows
move os detection into leiningen.core.utils
2013-03-18 15:20:54 +00:00
Jean Niklas L'orange
d27ec33cd7 credentials-fn != credentials 2013-03-18 02:44:16 +01:00
Tim McCormack
90f8cad903 Bugfix: Restrict repo credential lookup to known keys.
The last test in that set is a regression test discovered while working
on #949.
2013-03-17 20:55:28 -04:00
Toby Crawley
e836a57e1b Add notice about 'help gpg' to error output.
This covers artifact signing, credential decryption, and dependency
verification.
2013-03-17 17:08:51 -07:00
Phil Hagelberg
0e132292b7 Merge remote-tracking branch 'hyPiRion/read-nonblocking'
Conflicts:
	src/leiningen/deploy.clj
2013-03-17 08:05:11 -07:00
Phil Hagelberg
43a9994171 Disable :prep-tasks in out-of-project runs. 2013-03-16 16:23:14 -07:00
Phil Hagelberg
b42d5eab73 Use :user profile when running outside project root.
Make repl outside project dir go through eval-in-project anyway.

Fixes #966.
2013-03-16 16:18:49 -07:00
Jean Niklas L'orange
8890cc0c64 Drag out piping logic to com.hypirion.io 2013-03-16 23:24:52 +01:00
Jean Niklas L'orange
d4993be57a Bump dependency on com.hypirion.io 2013-03-16 23:24:48 +01:00
Phil Hagelberg
81413b3143 The :base profile makes no sense outside a project. 2013-03-16 14:01:09 -07:00
Toby Crawley
da1856a5c4 Handle the case where gpg isn't installed; consolidate gpg usage. 2013-03-15 16:13:06 -04:00
Toby Crawley
b2b0251382 Update to bultitude 0.2.2 across the board.
This eliminates the need to exclude dynapath, since pomegranate and
bultitude now use the same version. This also updates core's pom.xml
with other recent version updates.
2013-03-15 12:05:29 -04:00
Phil Hagelberg
d990ec5d94 Fix typo in key-manager-factory; memoize entire make-sslcontext. 2013-03-14 21:47:38 -07:00
Phil Hagelberg
2579b2989d Load key-manager-properties from user profile as well. 2013-03-14 21:37:40 -07:00
Stephen Nelson
18eab507e9 added default-key-manager that emulates the default JSSE behaviour.
Reads keyStore system properties and creates a KeyManagerFactory and
using it to create an SSLContext.
2013-03-14 21:21:20 -07:00
Jean Niklas L'orange
85f236310c Manually memoize to be able to warn when needed.
For instance would password reading not work as intended when this input
is rebound.
2013-03-14 23:32:55 +01:00
Jean Niklas L'orange
04b3835463 Rebind only when needed. 2013-03-14 23:32:55 +01:00
Jean Niklas L'orange
5742386022 Use RevivableInputStream to avoid blocking reads. 2013-03-14 23:32:54 +01:00
Jean Niklas L'orange
108980adfc Send bytes as received for correctness. 2013-03-14 23:30:08 +01:00
Phil Hagelberg
e57b9f1810 Move checking of LEIN_OFFLINE into defaults map to lower priority.
Fixes #961.
2013-03-14 11:58:02 -07:00
Phil Hagelberg
ea604f61c4 Suppress stack traces when dependencies can't resolve. 2013-03-14 11:56:25 -07:00
Laurent Petit
4c1d14bf81 When l.c.classpath/get-dependencies fails, it now propagates the root exc 2013-03-14 10:45:49 -07:00
Colin Jones
7663a004ed Tidy up a few tests
Mostly gets project maps in a format suitable for eval-in-project
(including the repositories), but also number-ifies port for aether (the
way the real URL.getPort method behaves).
2013-03-14 12:23:19 -05:00
Colin Jones
984f189606 Fix docstring typo 2013-03-14 12:12:11 -05:00
Colin Jones
0599cd59ca Send https proxy property down to subprocesses
fixes #1060
2013-03-14 10:47:28 -05:00
Nelson Morris
e2f19e5b77 Warn on version ranges for deps :tree
Use the new :repository-session-fn keyword for pomegranate
to add a DependencyChainFilter that checks for version ranges.

We store them in an atom because this might happen on another thread,
and we need to allow all of the ranges to be found.

Fixes #734
2013-03-13 00:04:12 -05:00
Hugo Duncan
6ade0b7822 Add alias for bootstrap in leningen-core 2013-03-12 22:58:50 -04:00