Commit graph

4496 commits

Author SHA1 Message Date
Phil Hagelberg
e944129b5d
Merge pull request #2405 from D-side/patch-1
Enforce TLS 1.2 for PowerShell downloader
2018-03-01 10:21:07 -08:00
Pavel Peganov
931a68e56f
Enforce TLS 1.2 for PowerShell downloader
https://github.com/blog/2507-weak-cryptographic-standards-removed
2018-02-25 23:24:31 +03:00
Phil Hagelberg
cc44d42ff6 Improve the message when insecure HTTP repositories are detected.
We can at least emit the URL of the repository and the path of the
resource which was attempted.

Fixes #2391.
2018-02-21 14:04:04 -08:00
Phil Hagelberg
694691f782 Update project templates to specify secondary license and fix readmes. 2018-02-19 12:27:57 -08:00
Yegor Timoshenko
48d5f21506 Switch to EPL-2.0 in lein new templates 2018-02-19 19:03:47 +00:00
Phil Hagelberg
3fd92945ba
Merge pull request #2398 from tirkarthi/master
Bump version of reply and clojure-complete
2018-02-05 09:00:21 -08:00
xtreak
78aa9dff43 Bump version of reply and clojure-complete 2018-02-05 06:25:27 +00:00
Phil Hagelberg
c3de05b51f
Merge pull request #2279 from gonewest818/unattended-signatures
invoke GPG unattended with passphrase
2018-01-30 19:28:37 -08:00
Phil Hagelberg
dd019deedb Disable warning suppression for tests. 2018-01-22 16:17:31 -08:00
Phil Hagelberg
0e8c823ea8 Oops; typoed that last lein new test fix. 2018-01-22 16:00:14 -08:00
Phil Hagelberg
22d1269eeb Fix test for lein new. 2018-01-22 15:28:44 -08:00
Phil Hagelberg
4c244608e7 Suppress multiple user profile warnings. 2018-01-22 15:25:33 -08:00
Phil Hagelberg
3e1459a2b2 Warn when hooks or implicit middleware is found.
Fixes #2387.
2018-01-22 14:50:28 -08:00
Phil Hagelberg
f82107e4e5 No no no no no no no. That is terrible advice.
https://p.hagelb.org/no.gif
2018-01-21 09:51:47 -08:00
Phil Hagelberg
26bca986b3 Turns out the no-TLS workaround does actually work. 2018-01-19 14:56:15 -08:00
Phil Hagelberg
c5bf1b53cb Fix a bug where :eval-in :leiningen was shadowed. 2018-01-16 15:32:37 -08:00
Phil Hagelberg
98b639cb46 Fix gitlab mirror link. 2018-01-10 09:03:04 -08:00
Phil Hagelberg
039624e4a3 Add FAQ entry for Java 7's lack of TLS 1.2 support.
Refs #2364.
2018-01-09 09:03:58 -08:00
Phil Hagelberg
0bc8bd28ae Be more tolerant of empty project maps. 2017-12-29 14:04:04 -08:00
Phil Hagelberg
2437897ee1 Don't emit stack traces when search results can't be parsed. 2017-12-29 14:03:46 -08:00
Phil Hagelberg
f0c13af5df Document that deploy task accepts a URL as a repo name. 2017-12-29 13:51:41 -08:00
Phil Hagelberg
4df8ca6833 Be more forgiving of empty project map. 2017-12-26 15:04:16 -08:00
Phil Hagelberg
186911472f Prevent new projects from being named "cljs".
Fixes #2382.
2017-12-26 14:57:11 -08:00
Phil Hagelberg
04c68cd7d5 Fix a bug where :eval-in defaulted to nil instead of not-present. 2017-12-26 14:56:05 -08:00
Phil Hagelberg
c73d4557c2
Merge pull request #2379 from conormcd/jar-versions-in-manifest
Add project coordinate data to JAR metadata
2017-12-21 09:22:04 -08:00
Conor McDermottroe
14807e96ca Add project coordinate data to JAR metadata
This causes entries like:

    Leiningen-Project-ArtifactId: bar
    Leiningen-Project-GroupId: foo
    Leiningen-Project-Version: 1.2.3-SNAPSHOT

to be added to META-INF/MANIFEST.MF in JARS for projects with
project.clj files like:

    (defproject foo/bar "1.2.3-SNAPSHOT"
      ...
      )
2017-12-21 15:01:14 +00:00
Phil Hagelberg
e20c06bf85 Bump templates to use Clojure 1.9.0.
Fixes #2373.
2017-12-15 15:47:51 -08:00
Phil Hagelberg
da695d4104 Oops; got the order wrong there. 2017-12-15 11:28:54 -08:00
Phil Hagelberg
852cc4e0fe
Merge pull request #2367 from bbatsov/patch-4
Bump the nREPL dep to 0.2.13
2017-12-15 11:26:57 -08:00
Phil Hagelberg
fc8e42d341 Document removal of drawbridge.
Closes #2370.
2017-12-15 09:27:59 -08:00
Phil Hagelberg
884189a798 Don't fail if bootclasspath deps list isn't found.
When this isn't present we should assume no files are on the bootclasspath.

Fixes #2369.
2017-12-15 09:14:16 -08:00
Phil Hagelberg
02c24865ee Deploy typo and doc update. 2017-12-15 09:14:16 -08:00
Bozhidar Batsov
f11366abb2
Bump the nREPL dep to 0.2.13
I guess that's self-explanatory. 0.2.13 is the latest stable version.
2017-12-09 12:33:54 +02:00
Phil Hagelberg
0720e0ea8a
Merge pull request #2366 from venantius/update-template-docs
[docs] Update TEMPLATES.md to refer to resources dir rather than src dir
2017-12-08 12:27:05 -08:00
David Jarvis
80eba3e5ff
[docs] Update TEMPLATES.md to refer to resources dir rather than src dir
The current documentation claims template files live in src, rather than
resources - a fact trivially disprovable by either (a) referring to
Leiningen's default templates in resources/leiningen/new or (b) actually
trying to make a new template yourself.

This commit updates the documentation to refer to the correct directory.
2017-12-08 18:08:35 +00:00
Phil Hagelberg
d39e93b391
Merge pull request #2362 from ehashman/issue-2361
Avoid "You have $CLASSPATH set" errors on upgrade
2017-11-27 09:41:36 -08:00
Elana Hashman
de0708af3b Avoid "You have $CLASSPATH set" errors on upgrade
When we exec the newly downloaded leiningen script, it will replace our
current shell process and recalculate the classpath for us, so we can
safely unset this here. This avoids the new script throwing warnings
about the CLASSPATH variable being set (from the previous run) on
upgrades.
2017-11-26 23:59:48 -05:00
Sumit
db531846bf Update FAQ.md (#2356)
Fixed typos in doc.
2017-11-09 10:03:18 +01:00
Phil Hagelberg
1a366b2c01
Merge pull request #2354 from sashton/add-maven-timeout-doc
Add description for changing maven read timeout
2017-11-06 11:45:17 -08:00
Steve Ashton
22d14fb6f8 Add description for changing maven read timeout 2017-11-06 12:03:01 -07:00
Anton Fonarev
2a93e282b1 Fixed comments formatting. 2017-11-06 02:44:27 +03:00
Anton Fonarev
fefe94d124 Added support for :exact-lein-version. 2017-11-06 02:42:17 +03:00
Phil Hagelberg
20922b067a Release 1.2.0 of lein-pprint. 2017-11-05 13:15:40 -08:00
Phil Hagelberg
b8cf7a0d49
Merge pull request #2349 from slipset/patch-1
Add `init-ns` to default template, fixes #2350
2017-10-31 13:33:01 -07:00
Erik Assum
28994c34b2
Don't use :main, use :repl-options 2017-10-31 21:23:56 +01:00
Erik Assum
e3dd45d76f
Add main to default template 2017-10-31 10:26:40 +01:00
Phil Hagelberg
4169f26ca8 Bump dev version up to 2.8.2-SNAPSHOT. 2017-10-27 14:46:11 -07:00
Phil Hagelberg
2261906d9d Release 2.8.1 2017-10-27 14:35:27 -07:00
Phil Hagelberg
91afe60b11 Reintroduce cleanup of trampoline files after we've used them. 2017-10-27 14:32:14 -07:00
Phil Hagelberg
4c7f037b9d Hard-code built-in tasks.
Fixes #2345
2017-10-27 14:12:20 -07:00