Commit graph

4128 commits

Author SHA1 Message Date
Jean Niklas L'orange
14bd7785a6 Merge pull request #1917 from rmoehn/clarify-plugin-doc
PLUGINS.md: Clarify some things
2015-07-26 23:12:57 +02:00
Jean Niklas L'orange
ffa700f946 Replace old HttpWagon conn-mngr setup. Fixes #1746
Bumping HttpWagon from 2.4 to 2.6 caused old methods in HttpWagon to
disappear, and along with it all the old Apache Http stuff we depended
on. This caused additional CA certificates provided in :certificates to
make Lein just fall on the floor and die.

This bumps HttpWagon to 2.9 and refactors Apache Http usage to
non-deprecated usage for the version we depend on.
2015-07-26 22:12:01 +02:00
Yannick Scherer
da574d7b4c add simple test for certificate processing.
Signed-off-by: Jean Niklas L'orange <jeannikl@hypirion.com>
2015-07-26 19:03:38 +02:00
Richard Möhn
c096c5f43c PLUGINS.md: Clarify some things
While trying to develop a Leiningen plugin I stumbled over two small
things, which I think make other people stumble as well:

 - Adding the path to my plugin's src directory to .lein-classpath
   didn't help anything. Leiningen still loaded the coded that I had
   installed to the Maven repository and ignored the local changes.
   Putting :provided or :resolve or :classpath after the plugin
   coordinates as suggested in issue #750 didn't help either. After
   banging my head against this, I got the idea to remove the plugin
   entry completely and it worked. Not sure if this is the intended
   behaviour, though. Add a step-by-step guide to getting what you want
   anyway.

 - It wasn't at all clear to me how to do the subtasks thing. The
   sentence about the :subtask metadata is a bit garbled and I thought
   there might be a mechanisms that invokes subtasks for me. I couldn't
   find anything about that, though. A quick search took me to
   https://github.com/devth/lein-worker/blob/master/src/leiningen/worker.clj,
   which showed the relevant bits. Add an example, because that's what
   people understand.

Discussion:

 - The new place of the paragraph for emitting output is not very good,
   but it's better than leaving it at the bottom of the newly expanded
   local development section, where nobody would see it.

 - Renaming "Documentation" to "Documentation and subtasks" is a rather
   thin patch. – Instructions on how to invoke subtasks don't really
   belong in a section about documentation. – However, I'm too lazy to
   do a lot of restructuring and I think people will still find what
   they're looking for.
2015-07-26 09:31:48 +09:00
Phil Hagelberg
1f43aa02b7 Merge pull request #1911 from montoux/ft-reader-conditionals
Add support for reader conditional files (cljc) (#1827)
2015-07-25 11:13:36 +07:00
Brett Morgan
79f0d3a99a added fix for components.xml merging. If the description tag contained embedded html, it needs to be escaped in the resulting merged components.xml. 2015-07-23 11:12:07 -04:00
Stephen Nelson
f413b6d73f Add support for reader conditional files (cljc)
Clojure 1.7.0 will add support for reader conditionals:

http://dev.clojure.org/display/design/Reader+Conditionals

This patch adds reader conditional support to leiningen, in particular for
compilation (including aot and stale files) and testing.
2015-07-19 08:52:49 +12:00
Phil Hagelberg
7045e666e1 Merge pull request #1937 from conormcd/bump-cheshire
Bump cheshire dependency.
2015-07-17 20:55:32 +07:00
Conor McDermottroe
486fd3134c Bump cheshire dependency.
The current version pulls in really old versions of jackson which can
easily break plugin code.
2015-07-17 12:38:06 +01:00
Stephen Nelson
6e0ebc20f7 Upgrade clojure dependency to 1.7.0 2015-07-16 15:11:01 +12:00
Jean Niklas L'orange
4ab6de9b9c Bump nrepl dependency. 2015-07-09 15:32:01 +02:00
Jean Niklas L'orange
aad0e7509d Use $() over ``. 2015-06-23 01:47:36 +02:00
Jean Niklas L'orange
704b89a064 Quote those single-arguments properly. 2015-06-23 01:37:34 +02:00
Jean Niklas L'orange
43a28e0a8e Merge pull request #1919 from marthall/master
Escape variable so script does not break on space in username
2015-06-19 14:05:58 +02:00
Martin Hallén
d49399853b Fixed unnecessary variable 2015-06-19 13:41:11 +02:00
Martin Hallén
ed15d55885 Escape variable so script does not break on space in username 2015-06-19 08:43:57 +02:00
Jean Niklas L'orange
eea9fcafd7 Merge pull request #1918 from Leonidas-from-XIV/bugfix/platform-independent-sha
Platform independent SHA
2015-06-15 14:36:49 +02:00
Marek Kubica
05a1c90cae Display error message and error out only when using fast trampoline 2015-06-14 22:56:36 +02:00
Marek Kubica
dfc57b8d35 Use recommended way of detecting command in $PATH
See https://stackoverflow.com/a/677212 for explanation.
2015-06-14 13:00:08 +02:00
Marek Kubica
ea6b258660 Check for other SHA1 implementations in $PATH 2015-06-13 15:46:27 +02:00
Phil Hagelberg
d5ed76a37a Merge pull request #1912 from timlinquist/master
Include more details for testing plugins locally in PLUGINS.md
2015-06-05 15:12:25 +07:00
Tim Linquist
ef33d8c188 Update PLUGINS.md
Fixup suggestion to run plugin standalone from root as most plugins don't work this way
2015-06-04 16:24:55 -07:00
Tim Linquist
073a955246 Update PLUGINS.md 2015-06-03 11:18:45 -07:00
Jean Niklas L'orange
26b4e98e76 Merge pull request #1886 from oneeman/refactor-drop-partial-args
Refactor main/drop-partial-args
2015-06-01 01:02:29 +02:00
Brian Marick
845b9c82aa one last wafer-thin tweak 2015-05-26 14:07:27 -05:00
Brian Marick
2f5fef9fff minor wording tweaks 2015-05-26 14:05:30 -05:00
Brian Marick
72f48e87f5 more sweeping changes 2015-05-26 13:03:32 -05:00
Brian Marick
2cac0ed480 slight tweak 2015-05-19 16:12:22 -05:00
Brian Marick
01c80ea730 try to get checkout dependency tree looking right 2015-05-19 13:25:47 -05:00
Brian Marick
06459f0468 try to get checkout dependency tree looking right 2015-05-19 13:25:21 -05:00
Brian Marick
8960e0999d documented two gotchas in checkout dependencies 2015-05-19 13:22:38 -05:00
Or Neeman
a1c4cb2d94 Refactor main/drop-partial-args 2015-04-23 12:58:03 -06:00
Jean Niklas L'orange
9c5192e652 Merge pull request #1881 from athos/feature/template-version
Provides another option for `lein new` to specify template version
2015-04-16 11:45:54 +02:00
OHTA Shogo
4305e90d06 Provide another option for lein new to specify template version 2015-04-14 23:16:25 +09:00
Jean Niklas L'orange
79f9ebbce7 Merge pull request #1851 from yeller/add_ironic_eaxure
cleaxure has gone too far
2015-04-09 10:52:06 +02:00
Jean Niklas L'orange
ee57b19a5d Merge pull request #1870 from pksunkara/master
Allow global leinrc file
2015-04-02 18:00:01 +02:00
Pavan Kumar Sunkara
b1f48145ec Give priority to global leinrc file 2015-04-02 20:15:55 +05:30
Pavan Kumar Sunkara
ea16f62875 Add /etc/leinrc to lein-pkg script 2015-04-02 03:48:17 +05:30
Pavan Kumar Sunkara
0cee4b43fa Add /etc/leinrc to lein script 2015-04-02 03:47:42 +05:30
Jean Niklas L'orange
34d62f8f57 Reorder jar/pom generation for deploy, fixes #1821
If pom is put in target/, :auto-clean true will remove it if the jar is
created afterwards.
2015-03-25 00:45:03 +01:00
Jean Niklas L'orange
ff84da6972 Chas isn't wasting time, I can tell you that. 2015-03-24 21:56:17 +01:00
Jean Niklas L'orange
c735ba0bfb Add note on jar naming in whitelisted keys for jar 2015-03-22 16:58:56 +01:00
Jean Niklas L'orange
972d22c23f Merge branch PR #1849, closes #1718. 2015-03-22 16:53:48 +01:00
Jean Niklas L'orange
80c84f3dff Fix docstrings for checkout functions.
[ci skip]
2015-03-22 02:28:24 +01:00
Jean Niklas L'orange
17a32dd510 Merge pull request #1842 from avasenin/read-checkouts
Move read-checkouts to project module and make it public
2015-03-22 01:58:19 +01:00
Jean Niklas L'orange
94071f853a Merge pull request #1864 from solicode/issue-1855
Ensure gpg outputs English messages
2015-03-21 22:25:37 +01:00
solicode
4b7f6667a3 Ensure gpg outputs English messages 2015-03-22 04:01:58 +09:00
Jean Niklas L'orange
45b183a3e9 Add info on AOT quirks to the FAQ, re #1858.
[ci skip]
2015-03-21 18:21:20 +01:00
Jean Niklas L'orange
00e158f6f3 Bump standalone nrepl version as well, ref #1861. 2015-03-21 00:37:46 +01:00
Jean Niklas L'orange
00e4643168 Add note on where to direct PRs. 2015-03-21 00:19:40 +01:00