Commit graph

4138 commits

Author SHA1 Message Date
Jean Niklas L'orange
0ce5e1ff87 Merge pull request #2088 from kleewho/issue_1846
Git push will push only branch related tags
2016-02-15 23:36:25 +01:00
Lukasz Klich
4a7e33c2e0 Git push will push only branch related tags
fix #1846
2016-02-13 20:39:00 +01:00
Jean Niklas L'orange
2ca63f0084 Bump dependencies 2016-02-09 23:21:48 +01:00
Jean Niklas L'orange
6046f1f848 Back to snapshot 2016-02-08 18:36:20 +01:00
Jean Niklas L'orange
f9a464e008
Release 2.6.1 2016-02-08 18:20:33 +01:00
Jean Niklas L'orange
645161ad18 Update NEWS.md 2016-02-08 17:59:39 +01:00
Jean Niklas L'orange
4383caecce Print meta only during compile, fixes #2079
Passing in the project map as a parameter to eval-in-subprocess causes
havoc, as it has references to the functions reduce-dep-step and
reduce-repo-step in its metadata.
2016-02-07 01:23:59 +01:00
Jean Niklas L'orange
dca5627403 2.6.0 was released in February, duh
[ci skip]
2016-02-05 02:30:40 +01:00
Jean Niklas L'orange
58b8c1658a Back to snapshot 2016-02-05 01:36:14 +01:00
Jean Niklas L'orange
0fe3f86a3c
Release 2.6.0 2016-02-05 01:17:21 +01:00
Jean Niklas L'orange
a18141baf5 Update NEWS.md 2016-02-05 00:52:02 +01:00
Jean Niklas L'orange
adb7b999fd Improve native dependency feedback, fixes #1961
Changes to a native dependency that is not cleaned up will be warned
about to the user. In addition, when a dependency changes, only the
dependencies that actually changed will be checked for native
dependencies, speeding up restart time significantly when you change a
single dependency in a big project.
2016-02-04 23:54:23 +01:00
Jean Niklas L'orange
56389b2067 Move away from deprecated Apache HTTP parts 2016-02-04 23:35:42 +01:00
Jean Niklas L'orange
c630502d18 Code cleanup 2016-02-04 23:32:52 +01:00
Jean Niklas L'orange
e14da08963 We haven't failed with oracle in a while 2016-02-04 23:29:06 +01:00
Jean Niklas L'orange
99d53683eb Print meta when eval-in-subprocess
This fixes the issue with reflection warnings in #2045, but
unfortunately breaks backwards compatibility with 1.1.0. So the lowest
version of Clojure Leiningen now supports is 1.2.0.
2016-02-04 23:24:37 +01:00
Jean Niklas L'orange
5cbd7b0f28 Merge pull request #2078 from danielcompton/patch-1
Add troubleshooting steps for gpg: decryption failed
2016-02-03 23:34:34 +01:00
Daniel Compton
f6963bef65 Add troubleshooting steps for gpg: decryption failed
Running these steps helped me realise I had encrypted my
~/.lein/credentials.clj.gpg file with the wrong key.
2016-02-03 23:33:50 +13:00
Jean Niklas L'orange
6ccb4943df Merge pull request #2076 from danielcompton/remove-potemkin
Remove potemkin dependency
2016-02-01 22:56:50 +01:00
Jean Niklas L'orange
8043c1e243 Merge pull request #2075 from danielcompton/upgrade-clojure-complete
Upgrade clojure-complete from 0.2.3 to 0.2.4
2016-02-01 22:38:58 +01:00
Daniel Compton
3fa0542806 Remove potemkin dependency
It doesn't seem like Potemkin is being used anywhere in Leiningen, so it
could be removed?
2016-02-02 10:02:40 +13:00
Daniel Compton
090e7a114e Upgrade clojure-complete from 0.2.3 to 0.2.4
0.2.4 contains type hints to eliminate reflection warnings.
2016-02-02 07:55:45 +13:00
Jean Niklas L'orange
5562b5e98a Fixup subscription email 2016-01-31 21:14:03 +01:00
Jean Niklas L'orange
4e5fd277df Update mailing list information 2016-01-31 19:42:03 +01:00
Jean Niklas L'orange
2122e5796f Merge pull request #2071 from technomancy/remove-clojars-docs
Remove clojars section from GPG instructions
2016-01-23 12:31:52 +01:00
Toby Crawley
68e4d0f3bf Remove clojars section from GPG instructions
The clojars section is out of date - clojars no longer has promotion to a releases repo, so no longer needs to store the user's public key. See https://github.com/clojars/clojars-web/issues/415.
2016-01-23 00:41:22 -05:00
Jean Niklas L'orange
792750b7a1 Merge pull request #2070 from danielcompton/patch-2
Add docs for providing :jvm-opts
2016-01-21 23:28:01 +01:00
Daniel Compton
1fad7043b6 Add docs for providing :jvm-opts 2016-01-22 09:05:35 +13:00
Jean Niklas L'orange
51f80c1298 Clojure 1.8.0 2016-01-21 11:08:58 +01:00
Jean Niklas L'orange
31021f411d Explain how to read your project map at runtime
Closes #2033 I think?
2016-01-18 23:59:36 +01:00
Jean Niklas L'orange
3b8d6093aa Tell people to use profiles over middleware
Along with replacing the unfortunate :injections example (ref #2033).
2016-01-18 23:13:26 +01:00
Jean Niklas L'orange
5cce823268 Merge pull request #2063 from arichiardi/gpg-piping-fix
Gpg piping fix
2016-01-11 10:16:17 +01:00
Andrea Richiardi
e8e5e78687 Bind *read-eval* false when reading gpg credentials 2016-01-10 17:28:39 -08:00
Andrea Richiardi
12b44df3e7 Avoid piping std out when reading gpg credentials, ref #2062 2016-01-10 17:28:12 -08:00
Jean Niklas L'orange
89d56d50d5 Update CONTRIBUTING.md, ref #2060
[ci skip]
2016-01-07 10:59:13 +01:00
Jean Niklas L'orange
01fc44acdd Merge pull request #2026 from winks/leiningen-1865
Reset ERRORLEVEL and RC in lein.bat
2016-01-05 19:15:03 +01:00
Jean Niklas L'orange
4a8dffac46 Merge pull request #2050 from cprice404/bug/master/2043-support-snapshots-on-qualifiers
(#2043) `release` task: support SNAPSHOTs on qualifiers
2016-01-04 22:27:54 +01:00
Florian Anderiasch
cb5f49b45c Merge pull request #2056 from winks/copyright-2016
Bump copyright years
2016-01-03 00:44:38 +01:00
Florian Anderiasch
f5682f543c Bump copyright years 2016-01-03 00:43:46 +01:00
Chris Price
ef4e178f81 (#2043) release task: support SNAPSHOTs on qualifiers
Prior to this commit, the `lein release` task was not
really usable for releases that had qualifiers such
as `-alpha1`, `-beta2`, or `-RC1`.

The reason for this is that the code for parsing the
semver could not handle a qualifier like `-alpha1`
AND a `-SNAPSHOT` qualifier at the same time.

The default `:release-tasks` include a `bump-version`
at the `:release` level, and then the release, and
then a `bump-version` at the `:patch` level.  If
you had a version that started out as `1.0.0-alpha1` *or*
`1.0.0-alpha1-SNAPSHOT`, then the `:release` bump
would always set the version to `1.0.0`.  Then the
actual release would occur, and then the `:patch` bump
would take you to `1.0.1-SNAPSHOT`.

With this commit, `qualifier` and `snapshot` are
separated into two separate fields in the version map.
This allows us to modify the `bump-version` behavior
so that it works as one would expect with a qualifier
like `alpha`:

```clj
(is (= (bump-version "1.0.0-alpha1-SNAPSHOT" :release)
       "1.0.0-alpha1"))
(is (= (bump-version "1.0.0-alpha1")
       "1.0.0-alpha2-SNAPSHOT"))
```

This allows the default `:release-tasks` setup to be
used with qualifiers like alpha/beta.

The commit also adds a new `level` that can be passed
to the `change` task: `:qualifier`.  If this level
is passed, then the qualifier will be incremented
instead of the major/minor/patch.  It is a superset
of the existing alpha/beta/RC behavior but works with
arbitrary qualifier strings.
2015-12-24 14:25:46 -08:00
Jean Niklas L'orange
054a77af6c Merge pull request #2047 from TrangPham/lein_pkg_opts
Updating lein-pkg jvm opts to match lein
2015-12-20 00:31:09 +01:00
Thu Trang Pham
1f8fded8ea Merge branch 'lein_pkg_opts' of github.com:TrangPham/leiningen into lein_pkg_opts 2015-12-19 18:01:58 -05:00
Thu Trang Pham
49651592ad Updating lein-pkg jvm opts to match lein 2015-12-19 18:01:17 -05:00
Jean Niklas L'orange
a4496915e8 Merge pull request #2046 from TrangPham/master
Adding platform independant sha to lien-pkg
2015-12-19 23:17:13 +01:00
Jean Niklas L'orange
2eba2fb35f Merge pull request #2045 from ryfow/set-agent-keep-alive
Set short timeout on compiler agent thread pool
2015-12-19 23:16:27 +01:00
Thu Trang Pham
13793b5518 Updating lein-pkg jvm opts to match lein 2015-12-18 20:43:43 -08:00
Thu Trang Pham
3335c37ddc Adding platform independant sha to lien-pkg 2015-12-18 20:22:56 -08:00
Ryan Fowler
21ed07a305 Set short timeout on compiler agent thread pool
When namespaces use agents during load time, threads
are started in the agent threadpool which take 60 seconds to
end. This adds up to 60 seconds of stall time after the compile
task runs.

This patch checks to see if clojure.core/set-agent-send-off-executor!
exists, and if so, calls it with a Thread pool that has the keep
alive time set to 100 milliseconds.

Technically this could cause Thread churn, but practically most
namespace loading doesn't fire up enough Threads for thread
instantiation costs to add up to much.
2015-12-18 12:22:14 -06:00
Jean Niklas L'orange
b4161e347f Don't create implicit resource dirs, fixes #2010
Yeah, I know, this is not pretty.
2015-12-17 09:57:07 +01:00
Jean Niklas L'orange
f3ed8e4660 Merge pull request #2032 from danielcompton/upgrade-clj-http-2-0-0
Upgrade clj-http to 2.0.0
2015-12-09 19:12:04 +01:00