Commit graph

4110 commits

Author SHA1 Message Date
shimanekb
e972e10cea fixed LANGUAGE only env variable 2015-08-22 23:00:41 -05:00
Jean Niklas L'orange
123bfd61b2 Merge pull request #1933 from shalu214patil/update-lein-failure
Modify .lein-failures. Help retest individual tests.
2015-08-18 11:35:01 +02:00
Shalaka
0f8ced0ab5 Modify .lein-failures. Help retest individual tests.
Sometimes it is preferable and time-saving to retest :only failed tests,
instead of retesting the entire namespace.

To enable this, we can write a map to .lein-failures like this:
{"failed-ns-1" ["failed-test-1" "failed-test-2"]
 "failed-ns-2" ["failed-test-1"]
 ... ... ...}

But we do NOT change the API or behaviour of `lein-retest`.

We only modify it to read namespace names from a map instead of a set.

We now have the option to write a custom plugin or wrapper that retests
only failed tests.
2015-08-18 14:28:43 +05:30
Jean Niklas L'orange
7b0003c101 Merge pull request #1954 from orderthruchaos/master
Allow check for root user to process correctly on Solaris.
2015-08-15 13:55:34 +02:00
Brett N. DiFrischia
80ff1f29a4 Allow check for root user to process correctly on Solaris. 2015-08-14 11:27:36 -05:00
Phil Hagelberg
10cb2e7035 Merge pull request #1951 from pietromenna/lein-upgrade-snapshot-message
Updated old reference to hacking section of README from lein script
2015-08-12 12:58:53 +07:00
Pietro F. Menna
d55c34c712 Updated old reference to hacking section of README to "Bootstrapping" from CONTRIBUTING.md from lein script
fixes #1950
2015-08-11 23:33:32 -03:00
Phil Hagelberg
0ef4c2de82 Merge pull request #1948 from laforge49/master
Added gpg note for windows users
2015-08-12 08:02:24 +07:00
Bill La Forge
54743c5e2a gpa, not gpg 2015-08-11 09:09:53 -04:00
Bill La Forge
53492b3b5b suggested edits 2015-08-11 09:07:05 -04:00
Bill La Forge
8377d5ef19 Added gpg note for windows users
Instructions for installing and running pinentry agent.
2015-08-10 07:22:10 -04:00
Phil Hagelberg
5ef752760c Add downgrade as first-class alias.
Upgrade/downgrade are "primitive" tasks that must be implemented in the
shell script for bootstrapping reasons. We have a dummy task just for
the purposes of having somewhere to hang a docstring; this commit adds
the alias for downgrade.

Fixes #1947
2015-08-10 10:58:27 +07:00
Jean Niklas L'orange
35aef5832b Back to snapshot. 2015-08-09 15:58:37 +02:00
Jean Niklas L'orange
fe48537e7d Release 2.5.2 2015-08-09 15:28:06 +02:00
Jean Niklas L'orange
6c7de27414 Ensure release can be done from clean work tree 2015-08-09 15:25:17 +02:00
Jean Niklas L'orange
273dcb97ac Fix compile warnings related to c.c/update 2015-08-09 14:54:12 +02:00
Jean Niklas L'orange
a04a560e0c Update NEWS.md 2015-08-09 14:28:44 +02:00
Jean Niklas L'orange
3ba4fde633 Cleanup files after test. 2015-08-08 16:55:39 +02:00
Jean Niklas L'orange
7284785a77 Do not include repl deps as test deps, fixes #1771
While it's a good thought to have them as test dependencies, it just
breaks everything if you transitively depend on it.
2015-08-08 16:48:32 +02:00
Jean Niklas L'orange
6a390379f2 Bump reply to 0.3.7 2015-08-08 16:28:40 +02:00
Jean Niklas L'orange
47c6994fa4 Document how to replace default repl dependencies
Closes #1795
2015-08-08 16:28:13 +02:00
Jean Niklas L'orange
4859747b16 Allow ^:displace'ing clojure dep in :repl profile
This is a temporary workaround, as this doesn't work for tools.nrepl nor
clojure-complete. Gurr.
2015-08-08 15:33:52 +02:00
Jean Niklas L'orange
6234419b00 Load dependencies in repl outside of projects
Fixes #1900, fixes #1901
2015-08-08 15:10:08 +02:00
Jean Niklas L'orange
08c8a9d53f Allow tools.nrepl and cc to be project deps again
Fixes #1748.
2015-08-08 03:09:33 +02:00
Jean Niklas L'orange
59c2ba671e Fixup dependency vector in TUTORIAL.md
[ci skip]
2015-08-04 00:38:58 +02:00
Jean Niklas L'orange
a7ad7394eb Merge pull request #1906 from marick/master
Address two questions about checkout dependencies
2015-08-04 00:37:33 +02:00
Jean Niklas L'orange
aca4bf6c3a Add link to Lucene query syntax tutorial, re #1927 2015-08-03 21:52:17 +02:00
Jean Niklas L'orange
91117395ab Update TUTORIAL.md, ref #1927 2015-08-03 01:34:09 +02:00
Phil Hagelberg
7016e12cef Merge pull request #1943 from danielcompton/scp-docs
Update docs - SCP deploy to clojars not supported
2015-08-01 10:13:21 +07:00
Daniel Compton
7ae0856914 Update docs - SCP deploy to clojars not supported 2015-08-01 14:54:08 +12:00
Phil Hagelberg
2ea050fc67 Merge pull request #1941 from towler73/master
added fix for components.xml merging.  If the description tag contain…
2015-07-30 08:45:16 +07:00
Brett Morgan
5721558391 Changed xml escaping to use commons.lang.StringEscapeUtils.escapeXml() 2015-07-27 20:20:08 -04:00
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