Commit graph

3570 commits

Author SHA1 Message Date
Phil Hagelberg
1845541b31 Don't bump patch version in alpha/beta/rc bumps.
Fixes #1539.
2014-06-03 15:07:13 -07:00
Jean Niklas L'orange
a518965183 Merge pull request #1549 from stuarth/patch-1
remove unnecessary quote escaping in composite profile example
2014-06-01 20:12:13 +02:00
Stuart Hinson
ba276eea4f remove unnecessary quote escaping in composite profile example 2014-06-01 13:00:10 -04:00
Phil Hagelberg
1c4eafb030 Merge remote-tracking branch 'jcrossley3/init-release'
# 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.
2014-05-30 21:24:53 -07:00
Hugo Duncan
55c3740a8b Fix check task
Replaces `bind` with `binding`.
2014-05-30 17:49:22 -04:00
Jim Crossley
834485c382 Initialize the project to activate middleware, etc 2014-05-30 14:13:05 -04:00
Phil Hagelberg
84bc7a7cb7 Merge pull request #1542 from jcrossley3/1541
Add a :pom-location option to fix #1541
2014-05-28 22:22:52 -07:00
Phil Hagelberg
a5585d4b96 Merge pull request #1543 from jakemcc/unknown-vcs-results-in-short-error-message
`lein vcs TASK` gives non-stack trace message when unable to detect VCS.
2014-05-28 22:05:18 -07:00
Phil Hagelberg
a58a51abf0 Document use of the SSH wagon. Fixes #1540. 2014-05-28 22:03:47 -07:00
Jake McCrary
08361e3b64 signatures should match other defmethods 2014-05-28 23:03:50 -05:00
Jake McCrary
70d3058944 lein vcs TASK gives non-stacktrace message when unknown vcs. 2014-05-28 22:52:51 -05:00
Jim Crossley
ce5fef4023 Add a :pom-location option to fix #1541 2014-05-28 23:09:15 -04:00
Phil Hagelberg
d8634b2272 Pass a stringed symbol into bump-version instead of a keyword. 2014-05-27 16:37:59 -07:00
Phil Hagelberg
0dd5967651 Improve error message to change when args aren't all readable strings. 2014-05-27 16:04:32 -07:00
Phil Hagelberg
547f4a7b9c Formatting fix.
[ci skip]
2014-05-27 15:53:23 -07:00
Phil Hagelberg
004bc6ecc5 Point to the right help text in deploy auth message. 2014-05-27 15:05:23 -07:00
Phil Hagelberg
b3f3537386 Avoid need for double-escaping in :release-tasks.
As per the recommendation of @crisptrutski.
2014-05-27 15:05:00 -07:00
Phil Hagelberg
fd615c1d44 Technically :alpha, :beta, and :rc aren't semantic levels.
[ci skip]
2014-05-27 14:33:23 -07:00
Phil Hagelberg
88ce99b421 Update NEWS.md. 2014-05-27 13:37:35 -07:00
Phil Hagelberg
ecdccda9eb Support :alpha, :beta, and :rc bump levels. 2014-05-27 13:37:22 -07:00
Phil Hagelberg
b1a07d03ec Pass arguments to f in change task through the reader.
This means that you can use non-strings as args in the change task,
but it requires double-quoting when you do want strings.
2014-05-27 11:46:15 -07:00
Phil Hagelberg
dd7447544b Encourage use of main/info and friends for plugin output. 2014-05-27 11:24:13 -07:00
Phil Hagelberg
5ddc3fd67d Clean up deploy repository aliasing to work with both :repositories entries. 2014-05-27 11:17:51 -07:00
Phil Hagelberg
7cdd68ea15 Propagate args to lein vcs push to underlying command. 2014-05-27 10:56:49 -07:00
Phil Hagelberg
ad522387f3 Move level parsing to release task function. Default to :patch. 2014-05-27 10:56:36 -07:00
Phil Hagelberg
88f2d3458e Reword a few things in deploy.md. 2014-05-27 10:46:37 -07:00
Phil Hagelberg
3e6b8a1818 Merge remote-tracking branch 'waynr/deploy-repositories-aliasing'
# 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.
2014-05-27 10:38:02 -07:00
Phil Hagelberg
912566cfdf Merge remote-tracking branch 'waynr/lein-release'
# 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.
2014-05-27 10:13:30 -07:00
Phil Hagelberg
73d5e4c9f3 Ensure project.clj is written to project root.
Without this, tools such as grenchman will write project.clj to the
directory from which Leiningen was launched.

Also make require-resolve work like resolve for unqualified symbols.
2014-05-27 09:53:13 -07:00
Phil Hagelberg
573ebd8481 Merge remote-tracking branch 'arr-ee/fix-1534'
# 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.
2014-05-27 09:36:34 -07:00
Max Barnash
a031b9807d Use sjacket.parser/space-nodes instead of enumerating them ourselves 2014-05-27 14:30:53 +04:00
Wayne
07c1c7a7f8 Enable simple aliasing in :deploy-repositories. 2014-05-26 19:00:35 -07:00
Wayne
9b652d703a Document the release task.
Also adds sample alternate release workflow in sample.project.clj.
2014-05-26 15:38:04 -07:00
Phil Hagelberg
f7545a74ff Merge pull request #1531 from crisptrutski/load-function-via-cli
Ensure supporting namespace is loaded when passing custom function to `lein change`
2014-05-26 14:22:40 -07:00
Max Barnash
965158c964 Removed unused function 2014-05-26 10:23:00 +04:00
Max Barnash
0f779b06a0 Simplified change to use existing code 2014-05-26 10:20:59 +04:00
Chris Truter
6f620ad317 Use existing helper instead
1. Reorganise tests a bit so loading property still checked.
2. Add explicit exception if unexpected type to `collapse-function`
3. Unrelated addition of test to show leading `:` ignored in nested paths
2014-05-26 08:05:45 +02:00
Chris Truter
fc9884b5c4 Disable problematic but non-essential test
Failure must have something to do with namespace state that
changes between running tests in REPL and running the full suite.

Test is not an important property, so just commenting out.
2014-05-26 07:55:18 +02:00
Chris Truter
93e82887bf Aggressive resolve policy for lein.change functions 2014-05-26 07:55:18 +02:00
Max Barnash
8741938311 Fixed change task to work with newlines 2014-05-26 07:29:20 +04:00
Phil Hagelberg
f37710473b Silence warn calls when LEIN_SILENT is set. 2014-05-25 19:17:34 -07:00
Phil Hagelberg
74b0dc5b66 Merge remote-tracking branch 'cddr/826-info-messages-to-stder'
Conflicts:
	leiningen-core/src/leiningen/core/classpath.clj
2014-05-25 19:16:16 -07:00
Phil Hagelberg
e0640c21a6 Merge remote-tracking branch 'crisptrutski/set-group-or-artifact-id'
Conflicts:
	src/leiningen/change.clj
2014-05-25 17:45:36 -07:00
Phil Hagelberg
d8765c978c Merge remote-tracking branch 'crisptrutski/lein-release-and-change-interop'
Conflicts:
	src/leiningen/release.clj
	test/leiningen/test/release.clj
2014-05-25 17:12:12 -07:00
Phil Hagelberg
28eb8f02c5 Make bump-version work with strings and default to bound *level*. 2014-05-25 15:05:56 -07:00
Phil Hagelberg
2ee940117c Merge remote-tracking branch 'waynr/lein-release'
# 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.
2014-05-25 14:57:31 -07:00
Wayne
bbc75a6f3a Fix passing of stale project map bug.
Since release-tasks could include any number of lein-change calls, seems like a
good idea to re-read project.clj between tasks.

Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-25 13:22:26 -07:00
Wayne
2b7e7d8e56 Update :git commit method.
Necessary for default release-tasks.

Signed-off-by: Wayne <wayne@puppetlabs.com>
2014-05-25 13:19:52 -07:00
Chris Truter
b99c207340 Fix things broken by late rename
Note to self:

Always unload namespaces and test again after renaming.
2014-05-25 16:28:02 +02:00
Chris Truter
08c3ad2587 Update leiningen.change tests to use real bump-version
Not sure what you think of creating this kind of coupling in the tests.

This were useful tests for driving the previous commits, but happy to
delete them now.
2014-05-25 16:11:29 +02:00