Dan Harbin
5d2bb2b563
Fix plugin profiles documentation
...
The documentation said to "Create a file called `src/myplugin/profiles.clj`". This didn't work for me. I had to create a file `resources/myplugin/profiles.clj` instead.
2016-04-13 17:01:51 -05:00
Tim Visher
9c3bf51d95
Fix file handle leak in pom.properties FAQ
...
There was a file handle leak in the code as it was. It would never close the open reader against the jar resource. This will eventually cause JVM to be unable to open new files.
Functional Tests
----------------------
I'm using the code as I wrote it in my own project and there is now no file handle leak.
2016-02-16 10:20:41 -05: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
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
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
e9efb0e279
Update task defn information, ref #1913
...
Afaik there's no need to not pass in a project-like thing as first
argument for tasks.
2015-11-24 00:39:28 +01:00
Florian Anderiasch
d3d8c19812
Clarify password/passphrase in DEPLOY.md
2015-11-15 21:34:20 +01:00
Jean Niklas L'orange
c6b559ddb5
bump some hidden nrepl deps, ref #2017
2015-11-01 23:57:53 +01:00
Dan Harbin
ef928dfc7b
Documentation fix: change passphrase to password
...
`:passphrase` does not work in this context (non-gpg encrypted credentials). This works when you specify `:password` instead.
2015-10-14 16:36:42 -05:00
Yen-Chin Lee
205664426a
Fix typo on PROFILES.md
...
The :resource-paths is mispelled in :resources-path.
Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
2015-10-13 13:44:51 +08:00
Ryan Wilson
de4ec3e970
Added section to template documentation explaining mustache delimiters.
2015-09-22 17:47:44 -07:00
Daniel Compton
eb98e855cf
Add option to not sign tags when running "vcs" "tag"
...
- Add vcs tag commandline argument parser
- Update documentation to show new options
Fixes #1873 , fixes #1799
2015-09-11 09:29:53 +12:00
Bill La Forge
54743c5e2a
gpa, not gpg
2015-08-11 09:09:53 -04:00
Bill La Forge
53492b3b5b
suggested edits
2015-08-11 09:07:05 -04:00
Bill La Forge
8377d5ef19
Added gpg note for windows users
...
Instructions for installing and running pinentry agent.
2015-08-10 07:22:10 -04:00
Jean Niklas L'orange
47c6994fa4
Document how to replace default repl dependencies
...
Closes #1795
2015-08-08 16:28:13 +02:00
Jean Niklas L'orange
59c2ba671e
Fixup dependency vector in TUTORIAL.md
...
[ci skip]
2015-08-04 00:38:58 +02:00
Jean Niklas L'orange
a7ad7394eb
Merge pull request #1906 from marick/master
...
Address two questions about checkout dependencies
2015-08-04 00:37:33 +02:00
Jean Niklas L'orange
aca4bf6c3a
Add link to Lucene query syntax tutorial, re #1927
2015-08-03 21:52:17 +02:00
Jean Niklas L'orange
91117395ab
Update TUTORIAL.md, ref #1927
2015-08-03 01:34:09 +02:00
Daniel Compton
7ae0856914
Update docs - SCP deploy to clojars not supported
2015-08-01 14:54:08 +12:00
Jean Niklas L'orange
14bd7785a6
Merge pull request #1917 from rmoehn/clarify-plugin-doc
...
PLUGINS.md: Clarify some things
2015-07-26 23:12:57 +02:00
Richard Möhn
c096c5f43c
PLUGINS.md: Clarify some things
...
While trying to develop a Leiningen plugin I stumbled over two small
things, which I think make other people stumble as well:
- Adding the path to my plugin's src directory to .lein-classpath
didn't help anything. Leiningen still loaded the coded that I had
installed to the Maven repository and ignored the local changes.
Putting :provided or :resolve or :classpath after the plugin
coordinates as suggested in issue #750 didn't help either. After
banging my head against this, I got the idea to remove the plugin
entry completely and it worked. Not sure if this is the intended
behaviour, though. Add a step-by-step guide to getting what you want
anyway.
- It wasn't at all clear to me how to do the subtasks thing. The
sentence about the :subtask metadata is a bit garbled and I thought
there might be a mechanisms that invokes subtasks for me. I couldn't
find anything about that, though. A quick search took me to
https://github.com/devth/lein-worker/blob/master/src/leiningen/worker.clj ,
which showed the relevant bits. Add an example, because that's what
people understand.
Discussion:
- The new place of the paragraph for emitting output is not very good,
but it's better than leaving it at the bottom of the newly expanded
local development section, where nobody would see it.
- Renaming "Documentation" to "Documentation and subtasks" is a rather
thin patch. – Instructions on how to invoke subtasks don't really
belong in a section about documentation. – However, I'm too lazy to
do a lot of restructuring and I think people will still find what
they're looking for.
2015-07-26 09:31:48 +09:00
Stephen Nelson
6e0ebc20f7
Upgrade clojure dependency to 1.7.0
2015-07-16 15:11:01 +12:00
Tim Linquist
ef33d8c188
Update PLUGINS.md
...
Fixup suggestion to run plugin standalone from root as most plugins don't work this way
2015-06-04 16:24:55 -07:00
Tim Linquist
073a955246
Update PLUGINS.md
2015-06-03 11:18:45 -07:00
Brian Marick
845b9c82aa
one last wafer-thin tweak
2015-05-26 14:07:27 -05:00
Brian Marick
2f5fef9fff
minor wording tweaks
2015-05-26 14:05:30 -05:00
Brian Marick
72f48e87f5
more sweeping changes
2015-05-26 13:03:32 -05:00
Brian Marick
2cac0ed480
slight tweak
2015-05-19 16:12:22 -05:00
Brian Marick
01c80ea730
try to get checkout dependency tree looking right
2015-05-19 13:25:47 -05:00
Brian Marick
06459f0468
try to get checkout dependency tree looking right
2015-05-19 13:25:21 -05:00
Brian Marick
8960e0999d
documented two gotchas in checkout dependencies
2015-05-19 13:22:38 -05:00
Jean Niklas L'orange
45b183a3e9
Add info on AOT quirks to the FAQ, re #1858 .
...
[ci skip]
2015-03-21 18:21:20 +01:00
Jean Niklas L'orange
541b5f893e
Merge PR #1838 into master.
...
[ci skip]
2015-02-23 19:43:47 +01:00
Baruch Sadogursky
df2efe20a6
Added Artifactory to the list of repository managers
2015-02-19 15:37:51 +02:00
Avicenna
fe2ee5d5aa
remove solution from DEPLOY.md and specifically mention gpg 1.4.12 in
...
GPG.md.
I only write the solution in GPG.md because there is a leiningen message
See `lein help gpg` for how to install gpg.
reading troubleshooting section in GPG.md should be enough to find the solution.
2015-01-26 17:36:31 +07:00
mavbozo
61e81c212e
improve formatting
2015-01-24 18:22:42 +07:00
mavbozo
20cbacb3f4
add writings in the docs to solve gpg: can't query passphrase in batch
...
mode error.
2015-01-24 18:15:15 +07:00
Kenji Nakamura
a372202d94
Translated Plugin page to Japanese.
2015-01-03 15:47:29 +09:00
Andy Fingerhut
b4602d4a4b
Correct relative priority of profiles.clj and project.clj in Merging docs
2014-12-15 20:32:04 -08: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
Martin Klepsch
b121da80b4
make it clearer that the :signing key is first-level
2014-10-20 14:13:41 +02:00
Phil Hagelberg
96f24b3058
Update NEWS and clarify uses of GPG.
...
[ci skip]
2014-10-11 20:16:26 -07:00
Andrew D. Ball
b0c725a43f
fix typo: had ben -> had been
2014-09-25 16:35:56 -05:00
Phil Hagelberg
9a0448041a
Rename :core-default to :leiningen/default.
2014-09-09 16:24:12 -07:00
Hugo Duncan
2da05e6356
Add profile metadata
...
Adds :leaky and :pom-scope metadata for profiles. The :dev, :test,
:base and :provided profiles are implemented in terms of these.
Profiles with :leaky metadata affect the pom and jar creation.
Profiles with a :pom-scope metadata of :test or :provided also affect
the dependencies of a pom.
2014-09-09 13:27:49 -04:00
Phil Hagelberg
c8806ff12e
Revert addition of :downstream profile.
...
We need to revisit this in a way that doesn't involve hard-coding
profile names into the jar and pom tasks. The question of whether the
profile should be visible to downstream consumers should be determined
by data that's part of the profile (or metadata).
2014-09-08 10:05:21 -07:00
Phil Hagelberg
e434741df3
Improve docs for default profiles.
2014-09-05 20:24:29 -07:00
Phil Hagelberg
0a8c0aaee6
Rename :project profile to :downstream.
2014-09-05 20:24:06 -07:00
Phil Hagelberg
e13312d344
Merge remote-tracking branch 'hugoduncan/feature/add-project-profile' into profiles-from-plugins
2014-09-05 19:29:35 -07:00
Phil Hagelberg
e9c9ff4883
Document in-plugin profiles.
2014-09-04 19:25:58 -07:00
Hugo Duncan
a83aefe6cc
Expand builtin profile docs in README
2014-09-04 15:20:08 -04:00
Hugo Duncan
5b4cda662a
Add :project profile to PROFILES.md
2014-09-04 08:43:50 -04:00
Jean Niklas L'orange
b9dced16d5
Clarify what "last one" means for profile override
...
Re: #1646
[ci-skip]
2014-08-17 23:43:14 +02:00
Phil Hagelberg
9750d8e4b2
Document using unquote in :dev profile for OS-specific config.
...
Addresses #1228 .
2014-08-09 11:41:23 -07:00
Phil Hagelberg
798873d467
Merge pull request #1611 from techwhizbang/master
...
read-eval example provided in PROFILES.md
2014-07-24 13:25:04 -07:00
Nick Zalabak
60e4ef856c
read-eval example provided in PROFILES.md
2014-07-24 12:24:30 -07:00
Jean Niklas L'orange
fba7f8ccba
Don't wrap :signing
in a map in the docs.
...
Fixes #1594 . [ci-skip]
2014-07-11 11:25:08 +02:00
Christopher Bui
b8894047e4
Remove inline code blocks
2014-06-27 17:44:12 -05:00
Christopher Bui
d20d78cba2
Remove citations and change 'voice'
...
Solutions via people from this issue: https://github.com/technomancy/leiningen/issues/615
2014-06-27 17:43:08 -05:00
Christopher Bui
f55c45797a
Document some common issues with GPG on Mac OSX
...
Deals with this issue: https://github.com/technomancy/leiningen/issues/1386
2014-06-20 21:06:31 -05:00
Phil Hagelberg
a7415d2dbe
Document pom.properties.
...
[ci skip]
2014-06-13 16:23:38 -07:00
Phil Hagelberg
4e5c9112f4
Document how to use bundled clojars.pem in case of CA problems.
...
Refs #1053 .
2014-06-13 15:57:19 -07:00
Phil Hagelberg
46f1556111
Document partial alias splicing.
...
[ci skip]
2014-06-08 15:21:05 -07:00
Phil Hagelberg
ff106cb7b7
Remove repo aliasing from deploy task; already done elsewhere.
...
Also clean up some formatting in deploy guide.
Fixes #1548
2014-06-06 18:14:43 -07:00
Phil Hagelberg
353d73912c
Allow for plugins to override built-in tasks.
2014-06-05 12:08:06 -07:00
Stuart Hinson
ba276eea4f
remove unnecessary quote escaping in composite profile example
2014-06-01 13:00:10 -04:00
Phil Hagelberg
a58a51abf0
Document use of the SSH wagon. Fixes #1540 .
2014-05-28 22:03:47 -07: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
547f4a7b9c
Formatting fix.
...
[ci skip]
2014-05-27 15:53: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
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
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
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
ec45757459
Automatically load methods for other leiningen.vcs systems.
2014-05-23 20:59:34 -07:00
Antoine R. Dumont
7b151b262d
Add TOC to the tutorial
2014-05-23 19:25:19 +02:00
Phil Hagelberg
4db84a0423
Merge pull request #1513 from cmpitg/better-documentation
...
Add structure of the newly created sample template
2014-04-24 13:43:41 -07:00
Nguyễn Hà Dương
e6abef4b0e
Add structure of the newly created sample template
...
I think it might be better to provide a quick look at the new template structure before going to any detail?
2014-04-24 15:28:16 +07:00
Jakub Holy
0d7932f994
PROFILES.md: Tip to use composite profile
...
Sometimes we need to override *parts* of a prticular profile on a project-specific base. To a novice
lein user, it is likely not clear how to achieve this. This tip points her in the right direction -
using a composite profile with a "personal" part that can be overriden in `profiles.clj` to change
what is in the "common" part of the profile.
2014-04-24 08:27:15 +02:00
Jakub Holy
3fe00b2578
Update PROFILES.md
2014-04-23 13:27:04 +02:00
Jakub Holy
5abe5718bc
PROFILES.md - be really explicit about overriding
...
While "Declaring Profiles" states that "Profiles specified in `profiles.clj` will override
profiles in `project.clj`," some less attentive reader can interpret it so that *keys/values* from profiles.clj override those from project.clj, not that the profile as whole is replaced. This changes
tries to make it really clear. (Of course feel free to change the wording as you see fit.)
2014-04-23 10:28:30 +02:00
Phil Hagelberg
4349878d7c
Remove mention of :omit-default-repositories.
...
Fixes #1472 .
2014-04-22 17:01:01 -07:00
Phil Hagelberg
fed957c72f
Clarify a few points of documentation. Fixes #1475 .
...
[ci skip]
2014-04-22 14:44:46 -07:00
Toby Crawley
0644eab9c4
Document various ways to register wagon factories [ fixes #1483 ]
2014-04-07 09:58:25 -04:00
Eunmin
12e4b460ad
Correcting errors that used to be :sources-paths in plugin document.
2014-04-02 19:54:32 +09:00
Phil Hagelberg
f509d4ec3d
Document :pass-through-help in plugin guide.
2014-03-07 10:23:19 -08:00
Jean Niklas L'orange
f2008d38ca
Merge pull request #1431 from hura/patch-1
...
Update TUTORIAL.md
2014-01-28 18:57:23 +01:00
hura
83a120d70e
Update TUTORIAL.md
...
AOT abbreviations is now explained
2014-01-28 12:35:40 -05:00
Matt Blair
b35aa83874
mention all files created by the project generator
2014-01-27 13:17:38 -08:00