Commit graph

3840 commits

Author SHA1 Message Date
Jean Niklas L'orange
e2a410487f Merge pull request #1766 from ernestas/check-for-write-permissions
Check write permissions before writing .nrepl-port
2014-11-22 15:06:28 +01:00
Jean Niklas L'orange
bc88241f4f Merge pull request #1767 from danielcompton/patch-1
Clarify .lein-classpath usage with plugin deps
2014-11-22 14:56:53 +01:00
Daniel Compton
2ef2fb48a9 Correct classpath separator config 2014-11-22 12:13:47 +13:00
Daniel Compton
1f2a71b78c with->on 2014-11-22 11:30:44 +13:00
Daniel Compton
2399b7a45c Clarify .lein-classpath usage with plugin deps
Explain that plugin dependencies need to be added to .lein-classpath if they are being edited too.
2014-11-22 11:28:56 +13:00
Ernestas Lisauskas
5c7df14a1c Check write permissions before writing .nrepl-port
Fixes #1664
2014-11-21 22:23:45 +00:00
Jean Niklas L'orange
8bce4ad1db Merge pull request #1747 from technomancy/check-for-permissions-in-lein-jar-1724
Ensure proper access rights in `lein jar`
2014-11-21 19:47:32 +01:00
Phil Hagelberg
be6b511e76 Mention pom XML still needs to validate. 2014-11-15 09:55:11 -08:00
Sebastian Hennebrueder
8ebeed1f27 Check if project data is available where needed for deploy tasks 2014-11-15 09:54:43 -08:00
Phil Hagelberg
3a5120854c Merge pull request #1755 from fgiasson/master
Fix an issue when deploying project to Clojars.
2014-11-05 11:42:29 -08:00
Frederick Giasson
39edad157d Fix an issue when deploying project to Clojars.
In some setup, people are adding their GitHub usernames in the URL of the repo such that they don't have to provide their usernames when commiting to GitHub, just their password.

This was an issue with Leiningen since it was ignored and the POM file's <scm> section was not properly generated which leaded to a missing GitHub link on their Clojars project page.

The change in the regex of parse-github-url follows two rules of the GitHub username creation:

  (1) alpha-numeric and underscores only
  (2) minimum two characters
2014-11-05 14:25:03 -05:00
Phil Hagelberg
bf61af296f Merge pull request #1745 from jebberjeb/clean-everything
remove clean targets for all profiles
2014-10-30 10:26:07 -07:00
Max Prokopiev
5b2d994032 Add with-write-permissions macro and use it in leiningen.jar/jar to check for correct permissions 2014-10-27 12:58:22 +03:00
Phil Hagelberg
265d176cea Merge pull request #1742 from hugoduncan/fix-classified-jars
Fix jar task for :classifiers
2014-10-25 21:54:04 -07:00
Jeb Beich
d053f3add4 remove clean targets for all profiles 2014-10-25 22:06:44 -05:00
Hugo Duncan
942cbee34a Fix jar task for :classifiers
The classified jar files were not being generated due to incorrect
arguments in code.
2014-10-24 21:08:55 -04:00
Phil Hagelberg
e6d5b2a80c Merge pull request #1741 from jcrossley3/1740
Don't change order of included profiles; fixes #1740
2014-10-24 13:16:44 -07:00
Jim Crossley
59ff0e61bf Don't change order of included profiles; fixes #1740 2014-10-24 16:06:27 -04:00
Phil Hagelberg
481be7460d Merge pull request #1732 from cprice404/bug/1695-repository-replace
Fix support for `^:replace` metadata on `:repositories` (fixes #1695)
2014-10-23 15:17:53 -07:00
Phil Hagelberg
5faada954a Check :manifest before using default :main.
Fixes #1736 and probably #1710.
2014-10-23 15:14:55 -07:00
Phil Hagelberg
e7a33e7d1c Bump stencil to 0.3.5.
Fixes #1739 and #1563.
2014-10-23 14:41:11 -07:00
Phil Hagelberg
0f71e1b645 Expose version-satisfies?. Shouldn't be internal. 2014-10-23 14:41:07 -07:00
Alan Malloy
7cbd5bfa7d Another silly flatten that could be a mapcat 2014-10-22 17:47:56 -07:00
Alan Malloy
77879b2d9e Got rid of silly uses of apply and flatten 2014-10-22 17:22:52 -07:00
Phil Hagelberg
962bc7fdba Merge pull request #1737 from jakebasile/update-test-help
Updated help text for `test`
2014-10-22 09:10:27 -07:00
Jake Basile
8cd298ce33
Updated help text for test 2014-10-22 10:17:24 -05:00
Jean Niklas L'orange
aabdba95e0 Merge pull request #1735 from martinklepsch/clarify-gpg-override
make placement of :signing key clearer
2014-10-20 14:18:33 +02:00
Martin Klepsch
b121da80b4 make it clearer that the :signing key is first-level 2014-10-20 14:13:41 +02:00
Chris Price
403e96a51e (#1695) Respect priority when merging defaults
This commit adds an extra condition at the beginning of the
`setup-map-defaults` function, such that if one of the two
items being merged has a higher priority than the other,
it is honored.

This seems to fix the issue where the `^:replace` metadata
was not working properly
2014-10-18 15:44:54 -07:00
Chris Price
1354f15877 (#1695) Add failing test for repository replace
As described in #1695, the `^:replace` metadata for the
`:repositories` section of the project file stopped working
around 2.4.0 (commit 17e91e6).

This commit adds a failing test that illustrates the
behavior.
2014-10-18 15:24:53 -07:00
Jean Niklas L'orange
e77db48947 Merge pull request #1730 from hugoduncan/add-lein_no_user_profiles-to-sample-project
Add LEIN_NO_USER_PROFILES to sample.project.clj
2014-10-17 10:07:32 +02:00
Hugo Duncan
3dc207f78d Add LEIN_NO_USER_PROFILES to sample.project.clj 2014-10-16 21:49:42 -04:00
Phil Hagelberg
d7c069f6c0 Use require-resolve in update-in for function.
Fixes #1728.
2014-10-14 13:43:45 -07:00
Phil Hagelberg
96f24b3058 Update NEWS and clarify uses of GPG.
[ci skip]
2014-10-11 20:16:26 -07:00
Phil Hagelberg
fa64351359 Merge pull request #1704 from hugoduncan/feature/add-task-profile-meta
Allow multiple repl task profiles
2014-10-11 20:12:43 -07:00
Phil Hagelberg
37f3c2535f Merge pull request #1696 from hugoduncan/fix-profiles-on-aliases
Fix with-profile alias changes
2014-10-11 20:10:02 -07:00
Phil Hagelberg
bc69a1212d Merge pull request #1700 from circlespainter/circlespainter-manifest-sections
Manifest sections support
2014-10-11 20:08:31 -07:00
Phil Hagelberg
7b68061366 Merge pull request #1709 from hugoduncan/allow-all-non-default-profiles-in-jar
Fix inclusion of explicitly added profiles in jar
2014-10-11 20:04:53 -07:00
Florian Anderiasch
f325f226d1 Merge pull request #1727 from winks/fix-warning
Remove debug line when calling `lein deps`
2014-10-10 19:20:17 +02:00
Florian Anderiasch
553a94861e Remove debug line when calling lein deps 2014-10-10 19:08:20 +02:00
Jean Niklas L'orange
ca3b505905 Merge pull request #1723 from dbriones/upgrade-wagon-http
Upgrade `wagon-http` to version 2.7
2014-10-07 19:32:00 +02:00
Dante Briones
ba2588de28 Bump to version 2.7 (latest) of Maven wagon-http. 2014-10-07 10:15:08 -07:00
Dante Briones
15f6832813 Upgrade wagon-http to version 2.6 2014-10-03 15:26:47 -07:00
Jean Niklas L'orange
05f958d0aa Merge pull request #1716 from sindux/bugfix/1702-lein-self-install-broken
Fix broken lein self-install
2014-10-02 16:06:06 +02:00
Sindunata Sudarmaji
fa0556d6ed Fix broken lein self-install 2014-09-29 22:51:36 +09:00
Jean Niklas L'orange
26a3abe841 Merge pull request #1711 from cortextual/master
fix typo: had ben -> had been
2014-09-26 00:16:58 +02:00
Andrew D. Ball
b0c725a43f fix typo: had ben -> had been 2014-09-25 16:35:56 -05:00
Hugo Duncan
bb0b132894 Fix inclusion of explicitly added profiles in jar
Closes #1701
2014-09-25 12:48:44 -04:00
Phil Hagelberg
19085004ef Merge pull request #1707 from jbence/feature/fix-script-env-value
Avoid setting SCRIPT to empty string
2014-09-24 11:12:55 -07:00
James Bence
7fb710c8a6 Avoid setting SCRIPT to empty string 2014-09-24 09:50:47 -07:00