Commit graph

4502 commits

Author SHA1 Message Date
Phil Hagelberg
ed22c49489 Fix a bug in deps :why.
No need to use walk-deps; in fact that just makes it more confusing.
2017-06-06 12:10:25 -07:00
Phil Hagelberg
e1d27074e5 Remove Travis config as it has been extremely unreliable. 2017-06-04 17:24:48 -07:00
Phil Hagelberg
63305fcccd Unmemoize in order to fix tests. 2017-06-04 09:38:00 -07:00
Phil Hagelberg
ad6c4bd290 Fix memoization for get-dependencies. Fixes #1781.
This should speed things up a lot!
2017-05-30 11:40:05 -07:00
Phil Hagelberg
5f0b0a1831 Fix offline fallback in get-dependencies-memoized. 2017-05-30 11:20:24 -07:00
Phil Hagelberg
21df60d8fa Warn when $CLASSPATH is set.
Fixes #1883.
2017-05-30 11:13:26 -07:00
Phil Hagelberg
d4bfdf47a9 Remove LEIN_ROOT check.
It seems like it's much less likely for this to happen unintentionally
these days compared to when it was added.
2017-05-29 15:56:24 -07:00
Phil Hagelberg
141da75b31 Bump copyright years. 2017-05-29 15:56:01 -07:00
Phil Hagelberg
809c7d33ea Document what causes insecure HTTP repository errors.
Fixes #2277.
2017-05-29 15:55:49 -07:00
Phil Hagelberg
463b6dc9b9 Don't notify Travis on IRC any more.
Getting too many spurious failures from inexplicable TLS problems.

[skip ci]
2017-05-26 11:43:43 -07:00
Phil Hagelberg
3385971e65 Add tests from pedantic lib as well.
Fix HTTP-using jar test.
2017-05-26 11:32:59 -07:00
Phil Hagelberg
bcfeee569d Merge branch 'circle'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-05-26 11:12:31 -07:00
Phil Hagelberg
c968fa5068 Upgrade Aether via new pomegranate; merge pedantic into leiningen-core. 2017-05-26 11:04:41 -07:00
Phil Hagelberg
781195f093 Add docstring for :why subcommand of deps. 2017-05-23 22:13:10 -07:00
Phil Hagelberg
7fc6c5bdfb Add lein deps :why com.google.guava/guava command. 2017-05-23 17:51:01 -07:00
Phil Hagelberg
1a502050c7 Move plugin conflict warnings to only activate when :pedantic? is set. 2017-05-23 10:09:53 -07:00
Phil Hagelberg
19277f739c Document @-style connect args for repl credentials.
Fixes #1518

[skip ci]
2017-05-22 10:06:04 -07:00
Florian Anderiasch
71c1d4f828 Merge pull request #2276 from bfontaine/gpg-brew-url
GPG: Fix Homebrew’s homepage
2017-05-21 17:43:26 +02:00
Baptiste Fontaine
41db822921 GPG: Fix Homebrew’s homepage 2017-05-21 15:47:06 +02:00
Phil Hagelberg
8982e9c5dc Getting false from .mkdirs doesn't mean the directory doesn't exist.
This is such a dumb API.

Also, my key expiring doesn't need to fail the suite any more.
2017-05-18 17:08:14 -07:00
Phil Hagelberg
04d500103b Never use .mkdirs directly; it silently masks errors.
Use leiningen.core.utils/mkdirs so that problems will be found when
they happen.
2017-05-16 15:14:46 -07:00
Phil Hagelberg
163887d097 Merge pull request #2273 from iperdomo/master
[#2272] Catch exceptions on malformed profiles.clj files
2017-05-11 10:17:07 -07:00
Iván Perdomo
5e5aeebea9
[#2272] Catch read-string exceptions and print a nicer error
* This is change in behavior, we catch the clojure.core/read-string
  exception and we print it to stderr. The difference is that we
  let the process continue (e.g. `lein repl` starts) and the previous
  behavior was to die (due to the throwing the exception)
* We could mimic the previous behavior by exiting (System/exit 1) on
  this exception.
2017-05-11 08:57:53 +02:00
Iván Perdomo
ae9ae4825d
[#2272] Use clojure.edn/read-string to read profiles files
Using clojure.edn/read-string results in nil instead of an exception

    user=> (edn/read-string "")
    nil
    user=> (read-string "")
    RuntimeException EOF while reading  clojure.lang.Util.runtimeException (Util.java:221)
2017-05-09 05:58:06 +02:00
Phil Hagelberg
e829c12d51 Fix sample project.clj issues.
Fixes #2271 and #2270.
2017-05-08 11:35:32 -07:00
Phil Hagelberg
9874ce65e5 Gitorious isn't a thing any more. 2017-05-05 16:30:32 -07:00
Phil Hagelberg
0a30e374a9 Add circleci config.yml. 2017-05-05 16:03:16 -07:00
Phil Hagelberg
9b2792d249 Remove pedantic version warnings in leiningen-core.
[skip ci]
2017-05-05 15:47:45 -07:00
Phil Hagelberg
a441ba12ca Clearer chmod in readme.
[skip ci]
2017-04-26 08:08:24 -07:00
Phil Hagelberg
53fae3ab3e Update list of conflictable bootclasspath deps. 2017-04-26 07:58:22 -07:00
Phil Hagelberg
778a01e482 Merge pull request #2261 from technomancy/repl-outside-project
Make repls outside project run in Leiningen
2017-04-25 15:41:08 -07:00
Phil Hagelberg
1154059b3e Remove unnecessary workarounds.
[skip ci]
2017-04-25 14:28:58 -07:00
Phil Hagelberg
14c7f1ecc5 Add back in commons-lang dependency. 2017-04-25 13:47:04 -07:00
Phil Hagelberg
f27dff2a07 Remove Cheshire dependency; use XML for search results. 2017-04-25 13:24:20 -07:00
Phil Hagelberg
ae07acbcce Move clojure-complete out into repl-specific profile. 2017-04-25 13:23:59 -07:00
Phil Hagelberg
6ede563f07 Move reply to on-demand dependency. 2017-04-25 10:46:43 -07:00
Phil Hagelberg
9e556c2762 Remove clj-http dependency, and all transitive deps too. 2017-04-25 10:46:43 -07:00
Phil Hagelberg
1c4a435b60 Recommendations from shellcheck.
[skip ci]
2017-04-24 13:49:10 -07:00
Phil Hagelberg
ce2f065344 Fix typo in sample project comments.
[skip ci]

Fixes #2265.
2017-04-24 13:44:40 -07:00
Phil Hagelberg
b79b25d0f7 Merge pull request #2267 from liftoffio/javac-silent
Make javac respect LEIN_SILENT.
2017-04-18 16:40:18 -07:00
Caleb Spare
0452dd7900 Make javac respect LEIN_SILENT. 2017-04-18 16:23:57 -07:00
Phil Hagelberg
92160ebaf7 Embarrassing grammatical error in a docstring!
[skip ci]
2017-04-13 14:51:51 -07:00
Phil Hagelberg
9e45977a4a Add :jar-inclusions to override built-in exclusion rules.
Otherwise there is no way to include a dotfile dir or one ending in ~.
2017-04-05 14:41:04 -07:00
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