Commit graph

4469 commits

Author SHA1 Message Date
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
Florian Anderiasch
12ef87324b Merge pull request #2232 from jeredepp/patch-1
Minor text fix
2017-01-11 16:34:32 +01:00
jeredepp
a74acee119 Minor text fix
fixed typo "coundn't" to "couldn't"
2017-01-11 16:26:49 +01:00
Phil Hagelberg
4874c7bf0f Add a lot of `s'es. 2017-01-09 13:47:30 -08:00
Florian Anderiasch
b3bfcda8c5 Added chocolatey to NEWS 2016-12-17 00:50:57 +01:00
Jean Niklas L'orange
d82f539d66 Merge pull request #2225 from tobias/new-clojars-repo-url
Use new clojars repo url
2016-12-14 00:59:32 +01:00
Jean Niklas L'orange
29560a2fdc Merge pull request #2226 from tobias/dynapath-0.2.5
Update to dynapath 0.2.5
2016-12-10 13:49:26 +01:00
Toby Crawley
eb701d3eb2
Update to dynapath 0.2.5
This version addresses two Java 9 related issues:

* 0.2.4 would fail under Java 9 if AOT'd
* the latest Java 9 build (9-ea+148) broke dynapath's reflection to make
  URLClassLoader modifiable
2016-12-09 16:32:26 -05:00
Toby Crawley
21badb1503
Use new clojars repo url
This switches the default repo url (for resolving artifacts, not
deploying) to point to the CDN-fronted repo. Note that this repo won't
work with Java 6 - users of 6 will need to manually override the default
url to point to the old one (https://clojars.org/repo).
2016-11-30 09:32:45 -05:00
Jean Niklas L'orange
6e83ea2651 Merge pull request #2220 from rymndhng/add-deploy-classifier
Infer classifier when deploying adhoc files
2016-11-05 12:22:17 +01:00
Raymond Huang
7cfa57980a Add test for deploying to a file repo 2016-11-03 23:42:39 -07:00
Raymond Huang
bf7e029d73 Infer classifier when deploying adhoc files 2016-11-02 22:26:36 -07:00
Jean Niklas L'orange
78c069822d Move enhancement from 2.7.1 to 2.7.2 in changelog
[ci skip]
2016-10-26 19:32:28 +02:00
Florian Anderiasch
53c7b17089 Update NEWS 2016-10-20 09:27:48 +02:00
Florian Anderiasch
ac3f9d416c Merge pull request #2218 from emlyn/patch-1
Only warn about each exclusion once
2016-10-20 09:12:48 +02:00
Emlyn Corrin
d5a66f7d35 Only warn about each exclusion once
In one of my projects, `lein deps :tree` produces output like the following, I think it would be clearer (and less daunting for the user) to only print out distinct exclusions.

```
Consider using these exclusions:
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-hive_2.11 "2.0.0" :exclusions [org.antlr/ST4 org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-sql_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.apache.spark/spark-core_2.11 "2.0.0" :exclusions [org.slf4j/slf4j-log4j12 org.slf4j/slf4j-api]]
[org.slf4j/slf4j-log4j12 "1.7.12" :exclusions [org.slf4j/slf4j-api]]
```
2016-10-20 00:39:16 +01:00
Jean Niklas L'orange
59098ab385 Merge pull request #2217 from cprice404/2216-managed-deps-with-profiles
(#2216) Fix bug with managed deps in profiles w/:replace
2016-10-18 23:49:10 +02:00
Chris Price
6c69f563f7 (#2216) Fix bug with managed deps in profiles w/:replace
Prior to this commit, profiles with `^:replace` on the dependencies
list would never end up having their dependencies vector normalized
so that it would have `nil` placeholders for the versions of
dependencies that were inheriting their version from `:managed-dependencies`.

This commit normalizes the dependencies vector of a profile during
initialization, to make sure that it will always be normalized.
2016-10-10 18:55:05 -07:00
Jean Niklas L'orange
0dd866ffc8 Bump dependencies, closes #2215 2016-10-06 23:49:33 +02:00
Chris Price
90f7ffdb14 Merge pull request #2214 from technomancy/2212-allow-keyword-dependency-versions
Allow keyword dependency versions, fixes #2212
2016-10-04 14:37:41 -07:00
Jean Niklas L'orange
abfa7f67ff Allow keyword dependency versions, fixes #2212 2016-09-28 13:32:29 +02:00
Jean Niklas L'orange
c06bc76959 Back to snapshot 2016-09-22 02:48:48 +02:00
Jean Niklas L'orange
150d98b7ae
Release 2.7.1 2016-09-22 01:04:59 +02:00
Jean Niklas L'orange
d2e006f0a1 Update NEWS.md 2016-09-22 00:40:04 +02:00
Jean Niklas L'orange
cfa80b728f Initial lein-sdkman, ref #2204 2016-09-22 00:31:38 +02:00
Jean Niklas L'orange
0c4d6f3fd7 Update lein-pkg root checking 2016-09-21 23:49:56 +02:00
Jean Niklas L'orange
1d2c28b2a7 Doc: :env/varname is only allowed in :repositories
Closes #2117
2016-09-20 23:31:21 +02:00
Jean Niklas L'orange
8b398aa955 Clarify main-class jar warning, closes #2208 2016-09-20 23:11:14 +02:00
Jean Niklas L'orange
716d833f48 Let ns-exists? return true on generated namespaces
fixes #2204
2016-09-20 23:06:13 +02:00
Jean Niklas L'orange
d605bd3563 Merge pull request #2207 from cprice404/2195-dont-require-nil-for-version-in-managed-deps
Don't require `nil` for version in managed deps - fixes #2195
2016-09-18 19:35:11 +02:00
Chris Price
1e5d1fd195 Change from concat to into, to ensure vector
Since pomegranate mentions that it likes vectors as inputs to its
functions, this commit changes the normalization function to use
`into` instead of `concat`, to make sure that we get a vector instead
of a sequence.
2016-09-18 10:19:53 -07:00
Chris Price
5bd091a2bf Don't require nil for version in managed deps - fixes #2195
Prior to this commit, if you wanted to use modifiers such as
`:exclusions` or `:classifier` for a dependency whose version you
were managing with `:managed-dependencies`, you would need to
explicitly pass a `nil` as the version string in the dependency
tuple.  This commit adds some logic to coerce the vectors before
they are processed, so that if the version string is simply
omitted instead of being set to `nil`, the `nil` will be implicitly
inserted and things will continue to work as before.

This provides a slightly nicer and more intuitive UX for the
managed-dependencies feature.
2016-09-18 09:21:04 -07:00
Jean Niklas L'orange
98043772c2 Merge pull request #2206 from cprice404/2205-npe-when-checking-for-snapshot-deps
Fix checking for SNAPSHOT deps with managed deps - fixes #2205
2016-09-18 18:09:26 +02:00
Chris Price
3feae04e76 Fix checking for SNAPSHOT deps with managed deps - fixes #2205
This commit fixes #2205: when using managed dependencies in
a project, if the project itself was a non-SNAPSHOT version,
then when `lein install` and similar tasks were executed,
lein would check to make sure that none of the dependencies
were a SNAPSHOT version.  lein was checking that directly against
the `:dependencies` vector, which would cause an NPE if a dependency
didn't specify a version number (because it was inheriting it from
the `:managed-dependencies` section).

This commit fixes the bug by calling the code that merges the
`:dependencies` and `:managed-dependencies` vectors together prior
to performing the SNAPSHOT check.
2016-09-15 21:12:26 -07:00
Jean Niklas L'orange
705b1a70bd Merge pull request #2201 from danielcompton/patch-1
Use GPG2 on macOS
2016-09-08 23:43:05 +02:00
Daniel Compton
242fd7fa4c Use GPG2 on macOS
Fixes #2200
2016-09-09 08:25:56 +12:00
Jean Niklas L'orange
c1991be03c Merge pull request #2196 from technomancy/cprice404-managed-deps-docs-re-exclusions
Add clarification re: `:exclusions` in managed dependencies docs
2016-09-01 22:19:24 +02:00
Chris Price
9231c62b1d Add clarification re: :exclusions in managed dependencies docs 2016-09-01 10:48:11 -07:00
Chris Price
bfe97d63c6 Fix typo in example usage of lein-parent 2016-08-30 14:13:32 -07:00
Jean Niklas L'orange
8648361392 Revert lein.bat hotfix 2016-08-25 00:43:53 +02:00
Jean Niklas L'orange
2ee664de29
Hotfix lein.bat 2016-08-25 00:42:19 +02:00