aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into luarocks-3Peter Melnichenko2016-06-1364-763/+642
|\
| * Merge pull request #567 from mpeterv/cli-refactorHisham Muhammad2016-06-1226-123/+64
| |\ | | | | | | Refactor cli to avoid double args parsing
| | * Get rid of util.forward_flagsPeter Melnichenko2016-06-032-34/+2
| | | | | | | | | | | | Use 'commands' functions directly.
| | * Refactor CLI to avoid double args parsingPeter Melnichenko2016-06-0326-91/+64
| | | | | | | | | | | | | | | | | | | | | | | | New command module interface: instead of 'run' function they must have 'command' function that accepts flags table and other arguments. For compatibility a new util function is called on all command modules: it adds 'run' function that parses command-line args before passing them to 'command'.
| * | Merge pull request #548 from xpol/msvc-cross-compilingPeter Melnichenko2016-06-111-9/+22
| |\ \ | | | | | | | | Add cross compiling support for MSVC.
| | * | Fallback to vcvarsall.bat if compiler specific bat not found.Xpol Wan2016-05-231-0/+8
| | | |
| | * | Add cross compiling support for MSVC.Xpol Wan2016-05-031-11/+16
| | | | | | | | | | | | | | | | This is needed, when native compiler is not installed but cross compiler does.
| * | | Use utils.see_help() consistently for all commandsPeter Melnichenko2016-06-092-2/+2
| | | |
| * | | Check external_dependencies before dependencies.Hisham2016-06-071-6/+8
| | | | | | | | | | | | | | | | | | | | This allows us to fail quicker before installing a bunch of other rocks.
| * | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-06-0753-118/+122
| |\ \ \ | | | |/ | | |/|
| | * | Remove commented module() callsPeter Melnichenko2016-05-3151-51/+0
| | | |
| | * | Remove unused imports in luarocks.makePeter Melnichenko2016-05-311-2/+0
| | | |
| | * | Merge pull request #558 from mpeterv/persist-arrays-with-newlinesHisham Muhammad2016-05-301-1/+1
| | |\ \ | | | | | | | | | | Don't put array items on the same line when persisting
| | | * | luarocks.persist: put pairs with number values on one linePeter Melnichenko2016-05-301-1/+1
| | |/ / | | | | | | | | | | | | | | | | Instead of pairs with number keys. Keeps parsed version representation compact but puts items in regular arrays each on its own line.
| | * | Merge pull request #562 from mpeterv/write-rockspec-infer-scm-urlHisham Muhammad2016-05-271-4/+42
| | |\ \ | | | | | | | | | | Write rockspec infer scm url
| | | * | write-rockspec: improve homepage detectionPeter Melnichenko2016-05-231-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Perform detection later to take into account URL inferred from local scm repo. * Support more protocols instead of just 'git://'. * Support Bitbucket and Gitlab in addition to Github. * Strip trailing '.git'.
| | | * | write-rockspec: infer git and hg urls from local reposPeter Melnichenko2016-05-231-0/+29
| | | | |
| | * | | Merge pull request #563 from mpeterv/new-version-no-argHisham Muhammad2016-05-274-60/+79
| | |\ \ \ | | | | | | | | | | | | luarocks new-version: make rockspec argument optional
| | | * | | luarocks new-version: make rockspec arg optionalPeter Melnichenko2016-05-252-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | Infer it same way `luarocks make` does.
| | | * | | luarocks make: move rockspec picking into an util functionPeter Melnichenko2016-05-252-55/+69
| | |/ / /
| * / / / Ensure entries are readable.Hisham2016-05-252-3/+3
| |/ / /
| * | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-05-2516-428/+335
| |\| |
| | * | Merge pull request #561 from mpeterv/common-fs-tools-funcsHisham Muhammad2016-05-227-303/+195
| | |\ \ | | | | | | | | | | Move common `luarocks.fs.{unix,win32}.tools` functions into a new module
| | | * | Move common implementation of tools.dir_iteratorPeter Melnichenko2016-05-223-28/+14
| | | | |
| | | * | Move common implementation of tools.execute_stringPeter Melnichenko2016-05-223-33/+17
| | | | |
| | | * | Expose tools.command_at functionPeter Melnichenko2016-05-222-8/+16
| | | | |
| | | * | fs.win32.tools: move a local function closer to its usagePeter Melnichenko2016-05-221-11/+10
| | | | |
| | | * | fs.tools: move common 'get_md5' functionPeter Melnichenko2016-05-223-44/+22
| | | | |
| | | * | fs.tools: move common directory stack functionsPeter Melnichenko2016-05-223-93/+47
| | | | |
| | | * | Move common implementation of fs.use_downloader into fs.tools modulePeter Melnichenko2016-05-225-92/+61
| | | | |
| | | * | Add fs.quiet_stderr functionPeter Melnichenko2016-05-224-6/+20
| | | | |
| | * | | Merge pull request #560 from mpeterv/write-rockspec-default-argsHisham Muhammad2016-05-222-30/+29
| | |\ \ \ | | | |/ / | | |/| | Infer name and version for `luarocks write-rockspec` without args
| | | * | Update tests for `luarocks write-rockspec`Peter Melnichenko2016-05-221-1/+3
| | | | |
| | | * | Infer name and version for `luarocks write-rockspec [path]`Peter Melnichenko2016-05-221-29/+26
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Default path for `write-rockspec` is now `.`. * Use `scm` as default version in all cases. * Infer rock name as base directory of current path when passing `.` as path. As a result, `luarocks write-rockspec` with no arguments creates an scm rockspec.
| | * | Fix behaviour of `luarocks write-rockspec` with two argsPeter Melnichenko2016-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It accepts name, version and location. If two are given, the first one is considered the name and the second the location, but the version is also set to the location. Reset it to allow guessing it or using default (scm).
| | * | Fix luarocks.repos module mutationPeter Melnichenko2016-05-181-3/+2
| | | | | | | | | | | | | | | | Don't set repos.ok and repos.err
| | * | Merge pull request #555 from robooo/masterPeter Melnichenko2016-05-172-2/+31
| | |\ \ | | | | | | | | | | Added tests for new install functionality
| | | * | Added tests for new install functionalityroboo2016-05-172-2/+31
| | |/ /
| | * | Refactor match_dep()Peter Melnichenko2016-05-161-31/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Instead of applying blacklist and sorting versions in separate steps do a single pass over the list. * On success return just the version instead of {name = name, version = version} since rock name is stored inside dependency table already.
| | * | Merge pull request #551 from mpeterv/new-outputHisham Muhammad2016-05-155-60/+63
| | |\ \ | | | | | | | | | | Change output and order of deps installation
| | | * | Return missing deps listing in `luarocks install` outputPeter Melnichenko2016-05-141-4/+21
| | | | |
| | | * | Announce each missing dep before its installPeter Melnichenko2016-05-101-41/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of lising all missing deps before installing all of them, announce each missing dep right before installing it. Also show current rock versions for missing deps.
| | | * | Don't spam 'Updating manifest for...'Peter Melnichenko2016-05-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Installation success message is enough and is more important (what's a manifest and why users should care?)
| | | * | Use same messages for installing binary and source rocksPeter Melnichenko2016-05-103-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move successful installation announcement into an util function. Don't print that the rock was "built": sometimes there is nothing to build (pure Lua rocks), and for C rocks compilation commands are printed already.
| | | * | Shorten logging for `luarocks install`Peter Melnichenko2016-05-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of mentioning URL twice in Installing URL... Using URL... switching to 'build' mode simply print Installing URL and don't print URL at all when it's the argument to `luarocks install` (it's a bit redundant), only when it's a result of a search.
| * | | | Fixes #465 ensuring the binaries are +x.Hisham2016-05-251-0/+1
| | | | |
| * | | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-05-151-1/+1
| |\| | |
| | * | | Merge pull request #552 from mpeterv/install-forcePeter Melnichenko2016-05-141-1/+1
| | |\ \ \ | | | | | | | | | | | | Allow passing --force to `luarocks install` in all cases
| | | * | | Allow passing --force and --force-fast to `luarocks install` in all casesPeter Melnichenko2016-05-101-1/+1
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When installing an old version of a rock that breaks existing dependencies, removing previously installed version fails, and --force is suggested. However, when installing using a rockspec or a source rock --force and --force-fast are not forwarded to build command.
| * / / / --force-fast in help summary.Hisham2016-05-101-1/+1
| |/ / /