Commit graph

2840 commits

Author SHA1 Message Date
Phil Hagelberg
d54f82695e Don't blow up when test eval-in-project doesn't return a number.
Hopefully only an issue when using :eval-in-leiningen.
2013-03-19 10:24:56 -07:00
Phil Hagelberg
4f4e66e01b Tag tests which require network access. 2013-03-19 10:24:56 -07:00
Phil Hagelberg
b8a6a090fe Remove outdated link to GitHub downloads page. 2013-03-19 10:24:56 -07:00
Tim McCormack
d14f5149f1 #949 Allow specification of artifact signing key.
Add :signing {:gpg-key "..."} option to project maps (global value)
and to :deploy-repositories maps (per-repo value). Does not yet work
in :repositories specs.

Also:
* Document per-repo :sign-releases option
* Delete unused defn deploy/signature-for
2013-03-19 10:24:56 -07:00
Michael Klishin
85a5b0a7aa Merge pull request #1078 from djpowell/more-bat-fixes
Support higher-order tasks and aliases that use trampolines in lein.bat
2013-03-18 13:01:19 -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
Toby Crawley
437cf551f6 Move gpg setup notes from DEPLOY to GPG [fixes #1073] 2013-03-18 12:51:56 -07:00
Phil Hagelberg
863684ee63 A few more news entries. 2013-03-18 09:50:12 -07:00
Phil Hagelberg
d6d173eb9a Formatting in tasks. 2013-03-18 09:38:09 -07:00
Phil Hagelberg
811acc2d5e Exclude in update-in task. 2013-03-18 09:34:55 -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
4ef01fcaa9 always process trampolines, even when used in aliases and higher-order tasks
remove unused leiningen.trampoline-file system property
2013-03-18 16:02:24 +00: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
david.powell
f3e71aa03f ensure only one set of quotes around java command in trampolines 2013-03-18 15:16:03 +00:00
Jean Niklas L'orange
d27ec33cd7 credentials-fn != credentials 2013-03-18 02:44:16 +01:00
Jean Niklas L'orange
90688a8ca9 Merge pull request #1074 from timmc/master
Bugfix: Restrict repo credential lookup to known keys.
2013-03-17 18:07:55 -07: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
224fdf3e67 Remove unneeded bindings around consolidated gpg. 2013-03-17 17:10:46 -07: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
Toby Crawley
1e857f76f4 Link the GPG doc to 'help gpg' 2013-03-17 17:08:50 -07:00
Toby Crawley
ee2f4bed45 Add GPG doc. 2013-03-17 17:08:50 -07:00
Jean Niklas L'orange
9d50361717 Merge pull request #1072 from cldwalker/news-test
Mention lein test takes file args in NEWS
2013-03-17 13:52:57 -07:00
Gabriel Horner
68ab1f7151 Mention lein test takes file args
[ci skip]
2013-03-17 16:46:29 -04:00
Jean Niklas L'orange
b646a79398 Exception only when needed to read from console. 2013-03-17 16:29:58 +01:00
Phil Hagelberg
21c7710755 Exception as side-effect. 2013-03-17 08:06:01 -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
78889f1c68 Include LEIN_VERSION in LEIN_FAST_TRAMPOLINE files.
Fixes #962.
2013-03-16 20:47:52 -07:00
Jean Niklas L'orange
179d829357 Add section about tests in CONTRIBUTING.md 2013-03-17 02:32:42 +01:00
Phil Hagelberg
43a9994171 Disable :prep-tasks in out-of-project runs. 2013-03-16 16:23:14 -07:00
Phil Hagelberg
ed9004ada4 Rename update task to update-in. 2013-03-16 16:19:00 -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
e42e44911d Add expected :input-stream in repl test. 2013-03-16 23:47:31 +01:00
Jean Niklas L'orange
bbd50aa8d0 Don't read input when calling GPG.
GPG handles reading data by itself somehow.
2013-03-16 23:24:55 +01: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
Jean Niklas L'orange
a22f8fcb3c Replace lein help deploy with lein help gpg. 2013-03-16 14:40:07 +01:00
Michael Klishin
a91f40d3e1 Merge pull request #1066 from djpowell/lein-bat-fixes
lein.bat fixes
2013-03-15 15:15:40 -07:00
David Powell
f3059d4d25 Simplify handling of LEIN_JAVA_CMD to support parens in paths, such as with "Program Files (x86)" 2013-03-15 20:58:56 +00:00
David Powell
8df3d12ef8 Add back wget and curl support as a fallback for users without powershell. 2013-03-15 20:58:46 +00:00
Toby Crawley
da1856a5c4 Handle the case where gpg isn't installed; consolidate gpg usage. 2013-03-15 16:13:06 -04:00
Michael Klishin
825e9ffb56 Merge pull request #1065 from tobias/remove-dynapath-exclusion
Update to bultitude 0.2.2 across the board.
2013-03-15 09:12:11 -07: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