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
Michael Klishin
84f48b4128
Merge pull request #621 from ato/early-register-certs
...
Register certificates before calling get-classpath. Fixes #613
2012-06-02 03:17:28 -07: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
7b788b6702
NEWS for preview6.
2012-06-01 17:33:31 -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
Phil Hagelberg
2a089a131b
Document :certificates.
2012-06-01 17:31:16 -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
479fcb83bf
http://p.hagelb.org/what.gif
...
Seriously Maven? You'll accept just any old certificates by default?
2012-06-01 14:08:40 -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
Phil Hagelberg
f3a12fa68a
Mention bug in gpg that prevents gpg from prompting for passphrase.
2012-05-31 20:58:15 -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
Phil Hagelberg
ed4857e503
News for 2.0.0-preview5.
2012-05-31 15:04:06 -07:00
Lee Hinman
f5238da920
Merge remote-tracking branch 'origin/cache-gpg-creds'
2012-05-31 15:33:03 -06:00
Lee Hinman
b67d9fc9de
cache gpg credentials, be okay with asking for a passphrase
2012-05-31 15:23:29 -06:00
Philip Aston
688ec8e35a
Add <packaging> to the POM.
2012-05-31 09:23:51 -07:00
Phil Hagelberg
53c039d3b9
Use cygpath in upgrade target path. Fixes #583 .
...
[ci skip]
2012-05-30 21:19:34 -07: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
4e400d6cdb
leiningen-core tests don't need to be run separately.
2012-05-30 21:06:58 -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
64191a3bf2
Don't prompt for a password deploying to file:// URLs.
2012-05-30 20:31:15 -07:00
Phil Hagelberg
e76422c31f
Change default :checksum policy to :fail. Fixes #571 .
2012-05-30 20:31:15 -07:00
Phil Hagelberg
4050d441fd
Update tutorial and deploy guide for HTTP deploy and credential storage.
2012-05-30 20:31:15 -07:00
Phil Hagelberg
924b8982e1
Interactively prompt for credentials if not found.
2012-05-30 20:31:15 -07:00
Michael S. Klishin
544b055a17
Oracle JDK 7 fails, disabling for now
2012-05-30 20:44:49 +04:00
Michael S. Klishin
997f699e8b
Trying out a secret new travis-ci.org feature
2012-05-30 20:37:20 +04:00
Michael Klishin
13b1db6107
Merge pull request #609 from ghoseb/master
...
Fix #31 : Exclude RSA signature files from being included in uberjars.
2012-05-30 07:30:44 -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
3c89d3e47d
Warn when keys are missing from project.clj. Fixes #607 .
2012-05-29 21:18:58 -07:00
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
Phil Hagelberg
ee0005367d
Quote each element of trampoline command. Fixes #606 .
2012-05-29 21:09:06 -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
d124c96d85
Honor aliases in with-profile. Fixes #598 .
2012-05-28 20:15:35 -07:00
Phil Hagelberg
f4b0b19f0f
Emit user-friendly message when deploy fails. Fixes #602 .
2012-05-28 20:13:37 -07:00
Phil Hagelberg
b82ba5e423
Use ~/.lein/credentials.clj.gpg instead of :auth profile.
2012-05-28 13:47:29 -07:00
Phil Hagelberg
34eb0a5d22
Use https for clojars.
2012-05-28 13:46:14 -07:00
Phil Hagelberg
6c927c7e12
Explain how to fall back to insecure SSL when self-install fails.
...
Fixes #601 .
[ci skip]
2012-05-27 22:04:58 -07:00
Phil Hagelberg
599279cacf
Explain in FAQ how hard version ranges win and how to avoid them.
2012-05-27 22:00:21 -07:00
Phil Hagelberg
6fc245a082
Remove test for init-project.
...
This function now only does stateful irreversible things that are
difficult to test.
2012-05-27 21:57:47 -07:00
Phil Hagelberg
8a4702c3eb
Apply middleware before profiles are merged. Fixes #599 .
2012-05-27 21:50:07 -07:00