Commit graph

299 commits

Author SHA1 Message Date
Phil Hagelberg
8d5b8698bd Honor :classifier and :extension when de-duping deps.
Fixes #645.
2012-06-18 20:09:59 -07:00
Phil Hagelberg
93a7042f47 Fix when-stale invocation for native extraction. Fixes #647. 2012-06-18 15:49:14 -07:00
Phil Hagelberg
2185d3809c Remove faked out exit code. 2012-06-18 15:41:51 -07:00
Jacek Laskowski
03d4411da5 Fix for Issue #589 lein 2 leaves 'stale' directories all over the place 2012-06-18 23:16:33 +02:00
Phil Hagelberg
7a2bd4dd2a Move tiered compilation out of profiles and injections into them. 2012-06-15 10:48:41 -07:00
Phil Hagelberg
c263783455 Turn :bootclasspath off by default; too many issues for now. 2012-06-15 10:48:26 -07:00
Phil Hagelberg
a581b006fb Turn off bootclasspath for projects using 1.2.
Won't help if it's an indirect dependency forced by version ranges though.
2012-06-14 16:28:37 -07:00
Phil Hagelberg
80fa274979 Use bootclasspath inside eval-in-project. Fixes #639. 2012-06-13 21:42:55 -07:00
Phil Hagelberg
d8d5ca15bf Move user-agent to its own function; make it match lein version more. 2012-06-13 10:02:53 -07:00
Phil Hagelberg
9f6934487e Merge pull request #637 from bruceadams/master
Set "Leiningen" User-Agent in http requests for issue #636
2012-06-13 09:57:25 -07:00
Phil Hagelberg
6e78141f4a Don't assume all args are strings; can have partial aliases. 2012-06-13 09:12:49 -07:00
Bruce Adams
977ba3d160 Fix messed up order of os.name os.version for #636 2012-06-13 09:44:51 -04:00
Bruce Adams
93d651c41f Enhanced User-Agent string #636 2012-06-13 09:30:58 -04:00
Bruce Adams
d1b1ddc819 Set "Leiningen" User-Agent in http requests for issue #636 2012-06-13 08:08:32 -04:00
Phil Hagelberg
d960cb91b7 Allow leiningen.core.eval/sh to work with rebound *out* and *err*. 2012-06-11 18:45:29 -07:00
Phil Hagelberg
1da790ed78 Bump back to 2.0.0-SNAPSHOT. 2012-06-11 18:45:00 -07:00
Phil Hagelberg
e62275369a Exclude .DSA files too. 2012-06-10 15:06:14 -07:00
Phil Hagelberg
d66451a4fd Move hooke injections to default profile. 2012-06-09 22:10:29 -07:00
Phil Hagelberg
1be0c5edb9 Move task chaining to do task. Fixes #632. 2012-06-09 21:48:23 -07:00
Phil Hagelberg
90e8fc609f Consistent use of leiningen-version function. 2012-06-09 21:17:39 -07:00
Phil Hagelberg
858f26e29b Todo updates. 2012-06-09 21:10:00 -07:00
Phil Hagelberg
dcb5aea2ce Remove left-over use of integer error code in classloader eval. 2012-06-09 21:09:39 -07:00
Phil Hagelberg
69f59efced Improve defproject docstring. 2012-06-09 19:48:40 -07:00
Phil Hagelberg
14c650c9b0 Release 2.0.0-preview6 2012-06-02 21:07:35 -07:00
Phil Hagelberg
6a4587eea7 Merge pull request #622 from jaceklaskowski/master
Read user profiles once (it uses IO so it should be faster)
2012-06-02 11:47:29 -07:00
Jacek Laskowski
e34812a3b0 Read user profiles once (it uses IO so it should be faster) 2012-06-02 20:16:10 +02:00
Alex Osborne
ac2ec152df When outside project load the default project map. Fixes #613
The default certificates and repositories are in project/defaults
so we need to include it explicitly.  The reason load-plugins knew
to try clojars at all is that normalize-repos explicitly adds the
default repos.  This obviously doesn't happen for other keys such as
:certificates though.
2012-06-02 22:39:04 +10:00
Alex Osborne
26197cf1e2 Load SSL certificates even when running outside of a project. Fixes #613
We now treat them much the same as plugins, loading them explicitly
from the user and default profiles when the project is nil.
2012-06-02 20:58:03 +10:00
Alex Osborne
484151d007 Register certificates before calling get-classpath. Fixes #613
We need to do this as get-classpath can itself trigger the downloading
of dependencies.  This also ensures leiningen-core/resources is added to
the classpath by the wrapper scripts.
2012-06-02 20:10:17 +10:00
Phil Hagelberg
060ab177d2 Add bin/release. 2012-06-01 22:01:48 -07:00
Phil Hagelberg
674b4d52ae Replace :env values in :repositories with lookups from environment.
Needed for unattended builds.
2012-06-01 17:32:59 -07:00
Lee Hinman
b4f6b81085
memoize call to gpg credentials 2012-06-01 18:06:02 -06:00
Phil Hagelberg
ceab1688b9 Add browser-compatible hostname verifier to HTTPS scheme. 2012-06-01 16:47:36 -07:00
Phil Hagelberg
a4654dfc63 Honor :certificates in project.clj.
Should fix #304 and #613.
2012-06-01 16:00:39 -07:00
Phil Hagelberg
3ac16dfee2 Depend on reply directly rather than using the default profile.
Fixes #616.
2012-06-01 10:47:25 -07:00
Phil Hagelberg
71781a83f3 Back to 2.0.0-SNAPSHOT. 2012-06-01 10:46:54 -07:00
Phil Hagelberg
5a790ca7c8 Release 2.0.0-preview5. 2012-05-31 21:20:42 -07:00
Lee Hinman
873d7af224 Revert "cache gpg credentials, be okay with asking for a passphrase"
This reverts commit b67d9fc9de.
2012-05-31 21:16:26 -06:00
Phil Hagelberg
f4a573a366 Temporary workaround for #613. 2012-05-31 19:38:24 -07:00
Phil Hagelberg
8761269339 Bump reply version to 0.1.0-beta8 2012-05-31 15:34:37 -07:00
Lee Hinman
b67d9fc9de cache gpg credentials, be okay with asking for a passphrase 2012-05-31 15:23:29 -06:00
Phil Hagelberg
5a1762d0e2 Remove test for deprecated :repository-auth settings. 2012-05-30 21:08:43 -07:00
Phil Hagelberg
0c6c58e329 Fall back to ordered 1.2.0. 2012-05-30 21:07:18 -07:00
Phil Hagelberg
3b7fda6b5f Work around bug in ordered maps.
https://github.com/flatland/ordered/issues/4
2012-05-30 20:56:09 -07:00
Phil Hagelberg
e76422c31f Change default :checksum policy to :fail. Fixes #571. 2012-05-30 20:31:15 -07:00
Baishampayan Ghose
909783f50e Fix #31: Exclude RSA signature files from being included in uberjars. 2012-05-30 16:26:28 +05:30
Phil Hagelberg
203d0e0ee1 Move reply to default profile so that it can be upgraded.
Without this users are stuck with the version of reply that ships with
Leiningen since it's on the bootclasspath.

Fixes #591.
2012-05-29 21:12:46 -07:00
Lee Hinman
d62959d595 only decrypt the default credentials file if the file exists 2012-05-29 16:13:47 -06:00
Phil Hagelberg
df88d4ca61 Java throws an exception if Runtime/exec doesn't find the command.
Fixes #608.
2012-05-29 14:32:16 -07:00
Phil Hagelberg
b82ba5e423 Use ~/.lein/credentials.clj.gpg instead of :auth profile. 2012-05-28 13:47:29 -07:00