Justin Balthrop
f263db162a
Preserve metadata on project in merge/unmerge/reset-profiles
...
This fixes the bug that was causing 'lein repl' to hang.
2012-08-14 14:49:57 -07:00
Justin Balthrop
6358a9466d
only nedd to print an error about explicit hooks that cannot be resolved
2012-08-14 11:58:08 -07:00
Phil Hagelberg
e25c9940dd
Fix bugs in pom and repl tests.
2012-08-13 15:01:29 -07:00
Justin Balthrop
2c8b4ce0cc
add missing utils require
2012-08-13 12:06:10 -07:00
Justin Balthrop
e491e76811
report errors better in load-hooks
...
- report require and activation errors separately
- don't complain if plugin-hooks are missing
Conflicts:
leiningen-core/src/leiningen/core/utils.clj
2012-08-13 12:01:14 -07:00
Justin Balthrop
c0efbd1e7c
use resolve-symbol for hooks and middleware
2012-08-13 11:48:38 -07:00
Justin Balthrop
6f1b58368b
combine-profile does not need to keep track of included-profile.
...
Now it is just a partial around profile-key-merge and can
disappear. I hope dsantiago doesn't get mad.
2012-08-13 11:48:30 -07:00
Justin Balthrop
1f59aa8f99
add resolve-symbol to utils and use it in resolve-task
...
Conflicts:
leiningen-core/src/leiningen/core/utils.clj
2012-08-13 11:47:56 -07:00
Justin Balthrop
84c93a28b3
apply middleware whenever project profiles are modified
...
This can happen in merge-profiles, unmerge-profiles or in the newly
added reset-profiles. All three rebuild the project map from scratch
using `(:without-profiles (meta project))`. This prevents middleware
from being applied twice to the same project map.
We also have to call apply-middleware explicitly in init-project because
we want to load-plugins before applying middleware in this case only. An
alternative would be to load plugins every time project profiles are
modified. @technomancy, what do you think of that option?
Issue #401
Conflicts:
leiningen-core/src/leiningen/core/main.clj
src/leiningen/pom.clj
2012-08-13 11:46:09 -07:00
Justin Balthrop
ddc2ca0321
automatically load middleware and hooks from plugins
...
- this is a first pass at #401
- there are still some questions about the order of everything
- the current implementation may still break #599
2012-08-13 11:36:26 -07:00
Chas Emerick
acdaa4cf6a
only emit allowed elements within pom's <scm>
2012-08-10 22:23:33 -04:00
Phil Hagelberg
50e14e06e6
Document gpg key generation in deployment guide. Fixes #721 .
2012-08-10 18:55:15 -07:00
Phil Hagelberg
7abcb57c58
Turns out pom.asc is correct here.
2012-08-10 15:20:39 -07:00
Phil Hagelberg
0c594e72a6
Exception handling in main can be simplified now that we're using ex-info.
2012-08-10 11:15:30 -07:00
Phil Hagelberg
c6acc122f1
Improve error message when plugin isn't found.
2012-08-10 10:59:11 -07:00
Phil Hagelberg
80fc9662fb
Collapse search results into single list of hits. Fixes #683 .
2012-08-09 22:52:25 -07:00
Phil Hagelberg
0e50c35474
Pagination of search results.
2012-08-09 22:51:22 -07:00
Phil Hagelberg
e48486f7ee
Merge pull request #725 from joegallo/task-typos
...
Task typos
2012-08-09 15:04:49 -07:00
Joe Gallo
501fb95f4d
Help can use tasks from leiningen.core.main now.
2012-08-09 17:47:20 -04:00
Chas Emerick
547209900d
remove printlns :-(
2012-08-09 16:44:26 -04:00
Chas Emerick
a3a2f0198d
fix munging of symbols for require of named nREPL middleware and handlers
2012-08-09 16:32:54 -04:00
Phil Hagelberg
b1bb78cd67
Don't throw on index download.
2012-08-09 11:00:18 -07:00
Phil Hagelberg
0079868188
Better error message for malformed user profiles.clj.
2012-08-09 11:00:10 -07:00
Phil Hagelberg
60702d2ff3
Support larger .lein-classpath in .bat. Fixes #724 .
2012-08-09 09:23:03 -07:00
Colin Jones
bd59aa4ad3
Bump reply/nrepl dependencies
...
Fixes a memory leak and enables streaming to STDOUT for things like
printing large seqs.
2012-08-09 09:42:43 -05:00
Phil Hagelberg
ec0187d8e7
Use updated search index format and location. Lots of TODOs still.
2012-08-09 00:48:32 -07:00
Phil Hagelberg
0c22b5d893
News updates.
2012-08-08 21:05:27 -07:00
Phil Hagelberg
77c811bbe8
Read nREPL handlers and middleware from project. Fixes #716 .
2012-08-08 21:02:36 -07:00
Chas Emerick
7489266e9f
fix recursive merging of profiles that involve
...
^:replace and ^:displace meta on nested values
2012-08-08 17:23:31 -04:00
Phil Hagelberg
98dff789e1
Todo updates.
2012-08-08 09:32:01 -07:00
Phil Hagelberg
9d2b7526b7
Fix pom signature filename. Fixes #722 .
2012-08-08 09:06:03 -07:00
Joe Gallo
5e2ff4ebd3
Only the suggestions that have the same minimum distance.
2012-08-08 09:22:51 -04:00
Joe Gallo
363d1c61c2
Initial crack at suggestions.
2012-08-08 07:42:48 -04:00
Joe Gallo
37aa5ab37a
Distance fn from amalloy.
2012-08-08 07:42:26 -04:00
Joe Gallo
49ea29af1a
Whitespace.
2012-08-08 07:41:42 -04:00
Joe Gallo
b9b54b1edc
Don't complete for test! anymore.
2012-08-08 07:04:51 -04:00
Michael S. Klishin
e165d3f8ab
Because startup time is science
2012-08-07 05:13:53 +04:00
Michael S. Klishin
7e12617d6e
Consolidate LEIN_JVM_OPTS defaults
2012-08-07 05:12:09 +04:00
Michael S. Klishin
262859b767
Don't set -Xms, it adds to the startup time and has no real benefit
2012-08-07 05:11:18 +04:00
Michael S. Klishin
f97f58ebf9
Add default value for LEIN_JVM_OPTS
2012-08-07 05:08:55 +04:00
Phil Hagelberg
aa311532a0
Fix typo in pom task.
2012-08-06 17:37:54 -07:00
Phil Hagelberg
6700322a8a
Distinguish between false and nil when checking file existence.
2012-08-06 17:32:29 -07:00
Phil Hagelberg
09052b7deb
Use when for side-effects, not return values.
...
Should really blog about this.
2012-08-06 16:09:43 -07:00
Phil Hagelberg
23d791d249
Document prep-tasks, :keyword task arg conventions, and l.c.m/abort.
2012-08-06 16:09:39 -07:00
Phil Hagelberg
a4d87094ff
Temporarily honor numeric exit codes and warn of deprecation.
2012-08-06 12:40:51 -07:00
Phil Hagelberg
cdb7be698d
Fix pom schemaLocation URL. Fixes #714 .
2012-08-01 20:56:10 -07:00
Phil Hagelberg
40e28a7208
Merge pull request #712 from pgdad/master
...
Pull request for adding xml content to generated pom file.
2012-08-01 10:21:22 -07:00
Esa Laine
b08c7c5f1e
add :pom-addtion example
2012-08-01 13:16:39 -04:00
Phil Hagelberg
e5f87083f2
Write repl port to file in target. Fixes #682 .
2012-08-01 09:47:35 -07:00
Phil Hagelberg
e7dadcd7b9
Remove commented-out shell wrapper remainders.
2012-08-01 09:42:20 -07:00