Commit graph

4459 commits

Author SHA1 Message Date
Phil Hagelberg
4db173d8e9 Port some fixes from bin/lein to bin/lein-pkg. 2017-04-05 11:38:34 -07:00
Phil Hagelberg
151fbb256d Support skipping bootclasspath. 2017-03-31 15:03:00 -07:00
Phil Hagelberg
f7da0539b3 Invite feedback for problems in the tutorial.
[skip ci]
2017-03-30 22:30:47 -07:00
Rovanion Luckey
8aff9d5e0a Found a redundency in code and reduced it. 2017-03-30 14:41:26 +02:00
Phil Hagelberg
aaa3ef161b Warn when trying to load plugins that can't be used.
This addresses the problems seen in #1900 and #1901. It doesn't fix
them because they can't be fixed without breaking other things,
(https://github.com/technomancy/grenchman/issues/34) but at least it
lets people know what is going on and suggests a workaround.
2017-03-28 12:11:49 -07:00
Phil Hagelberg
c1aea4d256 Merge pull request #2258 from firesofmay/catch-no-route-exception
Catch NoRouteToHostException exception
2017-03-23 14:46:32 -07:00
Phil Hagelberg
80e649329a Fix test which dumps files in project root. 2017-03-23 14:43:45 -07:00
Phil Hagelberg
627d4448d4 Merge remote-tracking branch 'weavejester/smarter-target-profiles'
Conflicts:
	leiningen-core/src/leiningen/core/project.clj
2017-03-23 14:35:02 -07:00
Phil Hagelberg
3ac76a3ccd Don't invoke release plugin fallback unless external plugin is present.
The existing fallback logic assumes that the presence of two release
tasks on the classpath can only be due to one of them coming from a
plugin, but this is not true; you can have an uberjar of Leiningen
building Leiningen itself.

Fixes #2198
2017-03-23 14:13:01 -07:00
Phil Hagelberg
170e0cb20b Explain absence of nrepl during trampoline as per #2224. 2017-03-23 13:42:37 -07:00
Phil Hagelberg
3bb4ce690b Allow in-leiningen repls when running outside a project.
As per the discussion here:

https://github.com/technomancy/leiningen/commit/6234419b#commitcomment-21422061

This means that you have to explicitly set :eval-in :subprocess if you
want to override Leiningen's own dependencies when running outside a
project dir.
2017-03-23 13:42:07 -07:00
Phil Hagelberg
77ad686ff8 Merge pull request #2256 from kenrestivo-stem/feature/tree-deps-2
Provide tree deps in EDN format for display/parsing by other tools
2017-03-23 11:55:13 -07:00
Phil Hagelberg
6f06d2be97 Merge pull request #2257 from timofeytt/patch-1
give reference to how to get a SNAPSHOT version
2017-03-21 20:16:56 -07:00
Ken Restivo
acf7c0a1e9 Add plugin-tree 2017-03-17 09:52:48 -07:00
Tim
64d9270ee3 Update TUTORIAL.md 2017-03-13 23:39:39 +01:00
Tim
b32d6bff3e Update TUTORIAL.md 2017-03-13 23:37:59 +01:00
James Reeves
1fe6dce707 Change profiles string to recursively normalize
Composite profiles that are made of other composite profiles should be
recursively normalized when creating the target path string.
2017-03-13 22:31:06 +00:00
Mayank Jain
1d996b378f Catch NoRouteToHostException exception
In case network is down while fetching dependencies and we get
NoRouteToHostException exception, fallback to `:offline? true`
behaviour.

Fixes #2054 issue.
2017-03-13 10:54:19 +05:30
Tim
999e4c1166 give reference to how to get a SNAPSHOT version 2017-03-11 19:11:57 +01:00
Ken Restivo
a6aec8d71e Support tree deps. 2017-03-10 16:29:31 -08:00
Phil Hagelberg
178f99bf0d Fix misplaced docstring.
[ci skip]
2017-03-07 13:36:13 -08:00
Phil Hagelberg
16f820d440 Remove accidentally-added file. 2017-03-07 13:35:49 -08:00
Jean Niklas L'orange
3d2b8faaf3 Merge pull request #2254 from Rovanion/str
Removed duplicate of alias clojure.string in leiningen-core's project.clj
2017-03-07 08:55:03 +01:00
Rovanion Luckey
a445f34fab Removed duplicate of alias clojure.string in leiningen-core's project.clj 2017-03-06 11:43:39 +01:00
James Reeves
5a4f9fca0b Change profiles string to match subseqs
Because order of profiles matters, subsequences rather than subsets
should be substituted for composites.
2017-03-03 19:56:15 +00:00
James Reeves
3981ea4971 Make profiles string in target path smarter
When generating a profile scope string for the target path, any subset
of active profiles that matches a composite profile are replaced with
the composite.

For example, the profiles [:base :system :user :provided :dev :foo]
would be represented as "default+foo", because the :default profile is a
composite of [:base :system :user :provided :dev].
2017-03-01 02:56:02 +00:00
Florian Anderiasch
9f2f9eb695 Merge pull request #2244 from DanToml/dani_fs_permissions
Add note about file system permissions in get-dependencies
2017-02-08 21:38:04 +01:00
Danielle Tomlinson
b22dc25b3b
Add note about fs permissions in get-deps error 2017-02-08 21:23:03 +01:00
Jean Niklas L'orange
5fe3b9d77b Merge pull request #2243 from nberger/add-vcs-tag-no-sign-doc
Add note about --no-sign option in vcs tag docstring
2017-02-03 08:11:00 +01:00
Nicolas Berger
18f401fd14 Add note about --no-sign in vcs tag docstring 2017-02-02 15:35:32 -03:00
Jean Niklas L'orange
d43fb41c64 Merge pull request #2242 from cap10morgan/string-deps
Add support for string deps in project.clj
2017-02-02 08:13:41 +01:00
Wes Morgan
f1af24d2d7
Add FAQ entry for string dependency names 2017-02-01 21:27:32 -07:00
Wes Morgan
7414f61f30
Add string deps to sample.project.clj & NEWS.md 2017-02-01 19:29:15 -07:00
Wes Morgan
8de742d231
Rename artifact-namespace & artifact-name
...to group-id and artifact-id
2017-02-01 19:24:45 -07:00
Wes Morgan
66cef075e8
Add support for string deps in project.clj
This is needed for rare cases where maven artifact-ids and/or group-ids
aren't valid symbols (e.g. they start with a number).

Test coverage added.
2017-02-01 18:45:34 -07:00
Jean Niklas L'orange
bbbead38b2 Bump http maven-wagon, fixes #1966 2017-01-31 11:16:35 +01:00
Phil Hagelberg
e05aa3649c Merge pull request #2238 from technomancy/gfredericks-patch-1
Remove lein-newnew references from templates docs
2017-01-25 14:39:32 -08:00
Gary Fredericks
d419041476 Remove lein-newnew references from templates docs 2017-01-25 16:27:58 -06:00
Chris Price
65c82d870f Merge pull request #2233 from technomancy/amalloy-patch-1
Consist => Consistent
2017-01-22 13:19:48 -08:00
Chris Price
2a7deebcb8 s/consistend/consistent 2017-01-22 13:19:25 -08:00
Phil Hagelberg
a76de08f0d Bump a few versions here and there. 2017-01-20 16:18:10 -08:00
Phil Hagelberg
f42a5cfec3 Bump tools.macro transitive dep. 2017-01-18 13:29:19 -08:00
Phil Hagelberg
720df83e45 Update docs re: search changes. 2017-01-18 10:56:24 -08:00
Phil Hagelberg
b20cd7224c Merge pull request #2235 from technomancy/api-search
Replace lein search with live API-hitting task.
2017-01-18 10:23:08 -08:00
Phil Hagelberg
05f7cf90a1 Improve error handling in search.
Also uses HTTPS for Central.
2017-01-18 09:53:39 -08:00
Phil Hagelberg
776d989ffd Add quote marks to version strings in search results. 2017-01-17 22:56:41 -08:00
Phil Hagelberg
e9f3f89f1c Allow the search to continue if Central doesn't support that syntax. 2017-01-17 22:55:06 -08:00
Phil Hagelberg
9c21862f0b Remove mention of advanced query syntax.
Remove empty search test.
2017-01-17 22:50:51 -08:00
Phil Hagelberg
b1cb935acb Replace lein search with live API-hitting task.
Addresses the discussion in #2234.

No pagination yet.

Also checks repositories based on the presence of "clojars" or
"central" in the :repositories map; you could theoretically keep these
under a different name or something and it could get confused, but
... why would you?
2017-01-17 22:45:14 -08:00
Alan Malloy
7a2ee55913 Consist => Consistent 2017-01-11 11:06:57 -08:00