Commit graph

286 commits

Author SHA1 Message Date
Chris Price
2a7deebcb8 s/consistend/consistent 2017-01-22 13:19:25 -08:00
Alan Malloy
7a2ee55913 Consist => Consistent 2017-01-11 11:06:57 -08:00
Phil Hagelberg
4874c7bf0f Add a lot of `s'es. 2017-01-09 13:47:30 -08:00
Jean Niklas L'orange
1d2c28b2a7 Doc: :env/varname is only allowed in :repositories
Closes #2117
2016-09-20 23:31:21 +02:00
Chris Price
5bd091a2bf Don't require nil for version in managed deps - fixes #2195
Prior to this commit, if you wanted to use modifiers such as
`:exclusions` or `:classifier` for a dependency whose version you
were managing with `:managed-dependencies`, you would need to
explicitly pass a `nil` as the version string in the dependency
tuple.  This commit adds some logic to coerce the vectors before
they are processed, so that if the version string is simply
omitted instead of being set to `nil`, the `nil` will be implicitly
inserted and things will continue to work as before.

This provides a slightly nicer and more intuitive UX for the
managed-dependencies feature.
2016-09-18 09:21:04 -07:00
Daniel Compton
242fd7fa4c Use GPG2 on macOS
Fixes #2200
2016-09-09 08:25:56 +12:00
Chris Price
9231c62b1d Add clarification re: :exclusions in managed dependencies docs 2016-09-01 10:48:11 -07:00
Chris Price
bfe97d63c6 Fix typo in example usage of lein-parent 2016-08-30 14:13:32 -07:00
Chris Price
7354e25e23 Modify TEMPLATES.md to make it more clear how to test your template 2016-08-22 14:48:17 -07:00
Jay Martin
4d747bb48d fix typo
Correct name of jar file executed by java command in example.
2016-08-03 16:06:34 -04:00
Florian Anderiasch
523d5eb6f0 Update the FAQ 2016-07-12 23:13:05 +02:00
Chris Price
7ea847d16f Clarify docs, add tests for transitive deps
This commit clarifies some things in the docs based on PR review.
It also adds additional test coverage for managed dependencies;
specifically, a case where two normal dependencies both have
a transitive dependency on the same library, but with different
versions.  The test validates that this conflict is properly
resolved via `:managed-dependencies`.
2016-06-30 10:29:18 -07:00
Chris Price
2fb603b2bf Add managed-dependencies example and docs
This commit adds an example of `:managed-dependencies` to the
sample project, and adds a separate markdown file to provide
more details and examples.
2016-06-27 11:41:59 -07:00
Jean Niklas L'orange
0362964ac0 Fix naming in tutorial, fixes #2130
[ci skip]
2016-06-19 11:05:17 +02:00
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