Commit graph

4378 commits

Author SHA1 Message Date
Phil Hagelberg
2785969f1f Deploy checksums for signatures.
Somehow when upgrading pomegranate this became turned off by default?

Fixes #2303.
2017-08-18 15:16:11 -07:00
Phil Hagelberg
5f5afbfa0a Merge pull request #2300 from technomancy/s3p-workaround
Work around bug in aether/s3-wagon-private which hides :passphrase.
2017-08-17 16:36:51 -07:00
Phil Hagelberg
97dceab628 Work around bug in aether/s3-wagon-private which hides :passphrase.
Fixes #2278.
2017-08-16 16:17:59 -07:00
Phil Hagelberg
5234263d9d Update Maven Central mirror URL.
Fixes #2299.
2017-08-16 15:04:39 -07:00
Jean Niklas L'orange
b34d226f56 Merge pull request #2297 from ehashman/man
Update manpage
2017-08-11 21:47:33 +02:00
Elana Hashman
10aaf97056 Also add CLI options 2017-08-10 18:35:25 -04:00
Elana Hashman
a8df87b933 Freshen up formatting and add some missing tasks 2017-08-10 18:07:09 -04:00
Elana Hashman
8ef2d659e7 Update copyright year 2017-08-10 18:04:32 -04:00
Elana Hashman
acd343d2a0 Add missing closing square bracket 2017-08-10 18:04:26 -04:00
Jean Niklas L'orange
f63d494f84 Merge pull request #2294 from cbcoutinho/master
Correct typo in README.md
2017-08-05 16:21:07 +02:00
Jean Niklas L'orange
aa8f0e6ee7 Merge pull request #2295 from kingpong/suppress-boxed-math-warning
Prevent boxed math warnings in `lein test`
2017-08-05 16:20:26 +02:00
Philip Garrett
2aee571127 Prevent boxed math warnings in lein test
This change prevents `lein test` from generating mysterious boxed math
warnings like the following when *unchecked-math* is :warn-on-boxed in
the :test profile:

    % lein test
    Boxed math warning, /private/var/folders/g8/bx1hjysj0zz4zr8ljghr4b0m0000gn/T/form-init2325898126244193444.clj:1:11129 - call: public static java.lang.Number clojure.lang.Numbers.unchecked_add(java.lang.Object,java.lang.Object).
    Boxed math warning, /private/var/folders/g8/bx1hjysj0zz4zr8ljghr4b0m0000gn/T/form-init2325898126244193444.clj:1:11208 - call: public static java.lang.Number clojure.lang.Numbers.unchecked_add(java.lang.Object,java.lang.Object).

    lein test myapp.core

    Ran 12 tests containing 49 assertions.
    0 failures, 0 errors.
2017-08-04 14:36:24 -04:00
Chris Coutinho
60271d302c Correct typo in README.md 2017-08-04 14:53:42 +02:00
Phil Hagelberg
4676ed82d1 Merge pull request #2293 from glts/gpg-return-out-and-err
Return consistent result from leiningen.core.user/gpg
2017-07-30 15:14:10 -07:00
David Bürgin
6dc5fb48d0 Return consistent result from leiningen.core.user/gpg
Fix #2236: leiningen.core.user/gpg map returned is inconsistent
2017-07-29 20:07:27 +02:00
Jean Niklas L'orange
0edda36f63 Merge branch 'pr/2291' 2017-07-29 13:15:14 +02:00
Jean Niklas L'orange
b0eeff40fb Document how to read project.clj at runtime 2017-07-29 13:15:05 +02:00
Jean Niklas L'orange
aa202c6fc9 Merge pull request #2289 from glts/trim-git-head
Trim whitespace in Git HEAD commit hash
2017-07-21 17:48:33 +02:00
David Bürgin
3679ba2649 Do not include project.clj in JAR root
Reverts commit 0412001cef.
2017-07-21 13:54:01 +02:00
Jean Niklas L'orange
3d87692d24 Merge pull request #2290 from daveliepmann/patch-1
Add base profile note to lein checkouts
2017-07-19 13:18:43 +02:00
Dave Liepmann
0ebf7baabf Fix missing word in example
Fix typo (omitted word) per https://github.com/technomancy/leiningen/pull/2290#discussion_r128134589
2017-07-19 10:46:18 +02:00
Dave Liepmann
65e76ed270 Add base profile note to lein checkouts
Added a note to the **Checkout Dependencies** section reminding users not to override the `base` profile while using checkouts.
2017-07-18 19:04:18 +02:00
David Bürgin
7bd3d1b194 Trim whitespace in Git HEAD commit hash 2017-07-13 23:21:13 +02:00
Phil Hagelberg
afd3dee22a Merge pull request #2285 from montoux/fix-2284-checkouts-recursion
Fix #2284: avoid visiting checkouts we've already seen
2017-06-15 08:23:02 -07:00
Stephen Nelson
6dedc14707 Fix #2284: avoid visiting checkouts we've already seen
Checkouts are recursive by default and the same checkout project may be
reachable via several paths when symlinks are used. Avoid visiting projects
multiple times by keeping track of seen projects while accumulating
checkouts classpath entries.
2017-06-15 15:37:22 +12:00
Phil Hagelberg
52980074e8 Fix loading of reply to handle repo auth correctly. 2017-06-14 14:27:56 -07:00
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