Commit graph

3813 commits

Author SHA1 Message Date
Roger Allen
80f1418110 Fix for issue 1607
Instead of always using a regex to try to match the native-names keys
when doing a get-os or get-arch call, use a get-with-pattern-fallback
function to first try the exact match and only if that fails, use
get-by-pattern.  This prevents matching "x86_64" with "x86" when
"x86_64" is the better match.
2014-07-21 22:52:33 -07:00
Phil Hagelberg
503495b6fc Don't depend on unsigned jakarta-regexp lib.
Refs #1608.
2014-07-21 12:00:16 -07:00
Phil Hagelberg
4ce8774d1a Fix deploy task to work with signature files. 2014-07-21 12:00:14 -07:00
Phil Hagelberg
e7eb5a7b3f Merge pull request #1603 from GlenKPeterson/patch-2
Clarified first-time install instructions
2014-07-20 13:15:31 -07:00
Glen K. Peterson
22acac6b1b Clarified first-time install instructions
Just tried to clarify a few things that confused me as a newbie.  When I actually clicked on the link to use the package manager, it says that sometimes the packaged versions can be old.  I thought that information was helpful, so I added it here.  Also, many projects are best installed by cloning the git repo.  I went down that path next and was left wondering why the 'master' branch wasn't working, so I clarified that you want to download the lein script from the *stable* branch.  Finally, the wording about the lein script bootstrapping itself and taking longer to run was all correct, but I didn't immediately connect the dots that "bootstrapping" meant that the only thing I had to do was to download the script from the right branch and run it.  So I changed "bootstrap" to "installs itself on the first run."
2014-07-19 18:52:50 -04:00
Samuel
b570a51273 use call to run wget and curl
When wget or curl are wrapped in a .bat or .cmd file as is done by chocolatey then you have to run with call. Using call to run regular executables works as well. This prevents the error "The system cannot find the batch label specified" from appearing.
2014-07-15 13:29:21 +02:00
Jean Niklas L'orange
2cfca444fe Merge pull request #1596 from hugoduncan/feature/update-clj-http-to-0.9.2
Update clj-http from 0.6.5 to 0.9.2
2014-07-11 21:02:00 +02:00
Hugo Duncan
7c57a2ec3c Update clj-http from 0.6.5 to 0.9.2
Update clj-http to a more recent version that contains fixes that are
useful in leiningen plugins.
2014-07-11 12:42:30 -04: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
Phil Hagelberg
aa0e0d0aaa Merge pull request #1595 from stuartfehr/master
Add warning when Main-Class doesn't exist in output jar
2014-07-09 19:13:07 -07:00
Stuart Fehr
7b8c6a47af Fixed the testing string for the test-write-jar function 2014-07-09 19:19:54 -06:00
Stuart Fehr
87ea64dedb Added a unit test for the Main-Class warning in write-jar 2014-07-09 19:16:02 -06:00
Stuart Fehr
ca21ed94f1 Added a warning message when the Main-Class does not exist within the jar file. 2014-07-09 17:34:44 -06:00
Phil Hagelberg
75673b2d15 Merge pull request #1591 from xsc/fix/vcs-tag
Let 'lein vcs tag' actually use the supplied Prefix
2014-07-09 09:15:02 -07:00
Yannick Scherer
9d990acb68 remove heardcoded dash from prefix. 2014-07-09 10:06:26 +02:00
Yannick Scherer
a7d6f0f432 fix 'lein vcs tag' to actually use prefix. 2014-07-09 10:03:12 +02:00
Gary Fredericks
94601082e4 Fix the test that's been failing on Travis
The problem was something to do with the project map being too
bare. Switching to `defproject` fixes it.
2014-07-07 13:28:43 -05:00
Phil Hagelberg
0d51dc91dc Fix change task test to not be overly specific. 2014-07-04 11:00:22 -07:00
Phil Hagelberg
4938e6cc4e Clarify :mirrors naming requirement.
Fixes #1579.

[ci skip]
2014-07-04 10:58:19 -07:00
Phil Hagelberg
8b98d68cdd Default to warning when version ranges are present.
Fixes #1374.
2014-07-04 10:51:24 -07:00
Phil Hagelberg
8789001361 Merge pull request #1570 from technomancy/ignore_sigint_in_repl_subprocess
Ignore SIGINT sent to an interactive repl server
2014-07-04 10:21:49 -07:00
Phil Hagelberg
0621161473 Merge pull request #1584 from MichaelBlume/report-bad-filename
when opening a JarFile, report name of file in any errors
2014-07-02 22:15:51 -07:00
Mike Blume
71e5e95e13 when opening a JarFile, report name of file in any errors
java.util.JarFile. can fail without reporting the name of the file it's
operating on. If you have a jarfile that isn't a valid zip, this can be
confusing.
2014-07-02 16:15:19 -07:00
Phil Hagelberg
ed996be265 Merge pull request #1582 from kumarshantanu/master
fix #1581 - do not try to create an existing directory
2014-06-29 14:58:53 +07:00
Shantanu Kumar
7974dfca0f avoid creating dir only if it is \".\" 2014-06-29 11:22:34 +05:30
Phil Hagelberg
d43d8f6845 Merge pull request #1576 from Christopher-Bui/patch-1
Document some common issues with GPG on Mac OSX
2014-06-29 08:24:59 +07: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
Shantanu Kumar
527c13b36d fix #1581 - do not try to create an existing directory 2014-06-27 00:20:51 +05:30
Jean Niklas L'orange
fbe9bd0ce4 Update lein-pkg version number. 2014-06-26 12:36:43 +02: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
Jean Niklas L'orange
bb67ebab98 Merge pull request #1572 from tihancock/one-file-per-namespace
Check that exactly one (existing) source file is found per namespace whe...
2014-06-19 20:41:10 +02:00
Thomas Hancock
c2cc916dc6 Check that exactly one (existing) source file is found per namespace when compiling 2014-06-19 18:55:56 +01:00
Colin Jones
e7c2330364 Ignore SIGINT sent to an interactive repl server
Unfortunately, even though *pump-in* is false, the server subprocess
still gets the SIGINT when you hit <ctrl-c>. REPLy used to take care of
that by registering a handler itself, but it's a ClassLoader leak, as
discussed in trptcolin/reply#127, so I removed it. But now subprocess
servers crash instead of gracefully being interrupted.

Here we're careful only to register the process in the specific case
where we're responsible for both the input and the server.

Pro: REPLy clients avoid classloader leaks.
Con: All REPLy clients have to implement this same sort of handling, but
only (?) if they're running in a subprocess.
2014-06-17 22:35:31 -05:00
Phil Hagelberg
4aefda6d47 Merge pull request #1568 from eraserhd/new_remote_template_fixes
Fix installing templates from internal repositories
2014-06-17 13:35:59 -07:00
Phil Hagelberg
8001daf1ab Add issues.clj for programmatic issue summary. 2014-06-17 13:20:45 -07:00
Phil Hagelberg
3e6d3876ad Better message when task ns exists, but not task function. Fixes #1299. 2014-06-17 13:19:27 -07:00
Jason Felice
1f5013c2be Use leiningen.core.project's idea of default repositories 2014-06-17 14:29:27 -04:00
Jason Felice
9258dc6da2 Support pairseqs in profiles :plugin-repositories 2014-06-17 12:15:12 -04:00
Jason Felice
ac84465d77 Remove unneeded call to resolve 2014-06-17 11:19:36 -04:00
Phil Hagelberg
dc1d5ed68f Explicitly exit in trampolined repl.
Fixes #1565.
2014-06-16 13:13:33 -07:00
Phil Hagelberg
5cdfdd94a6 Allow opting out of :main for jars.
Fixes #1564.
2014-06-16 13:07:23 -07:00
Phil Hagelberg
4b6eb01cf1 Fix LEIN_FAST_TRAMPOLINE path. Fixes #1562. 2014-06-16 13:05:27 -07:00
Phil Hagelberg
51930c7a04 Update new key expiry dates. 2014-06-15 18:30:32 -07:00
Phil Hagelberg
e6b620cabe Fix bad eval test. 2014-06-15 17:24:55 -07:00
Phil Hagelberg
e738fec65c Bump version to 2.4.3-SNAPSHOT. 2014-06-15 17:24:48 -07:00
Phil Hagelberg
f73a9998ff Release 2.4.2 2014-06-15 17:14:10 -07:00
Phil Hagelberg
9ae145811b NEWS for 2.4.2. 2014-06-15 17:08:19 -07:00
Phil Hagelberg
efc00172b7 Fix leiningen.core.ssl lazy-load. 2014-06-15 17:06:07 -07:00
Phil Hagelberg
b74910600b Fix write-pom-properties to work when outside project dir. 2014-06-15 17:05:13 -07:00