Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fix field name building in type_check.lua | Peter Melnichenko | 2016-07-05 | 1 | -2/+5 | |
| | | | | | | | | Use 'parent[field]' notation for non-string fields. | |||||
* | | Fix crash when given a remote rockspec. | Hisham | 2016-07-11 | 1 | -5/+9 | |
|/ | ||||||
* | Merge pull request #574 from mpeterv/unpack-archive-err | Hisham Muhammad | 2016-06-22 | 3 | -5/+4 | |
|\ | | | | | Improve error on archive unpack error | |||||
| * | Mention failed action on invalid archive extension | Peter Melnichenko | 2016-06-22 | 2 | -4/+2 | |
| | | | | | | | | | | | | Return `Couldn't extract archive <file>: unrecognized filename extension` instead of `Unrecognized extension <ext>`, so that it's clear that the file is being interpreted as an archive. | |||||
| * | Handle unpack_archive errors | Peter Melnichenko | 2016-06-22 | 1 | -1/+2 | |
|/ | | | | | | In particular, when installing a rock, fail with a message related to extraction error or unrecognized archive extension instead of 'Directory <name> not found inside archive <name>.<ext>'. | |||||
* | Fix an accidental global in luarocks.build | Peter Melnichenko | 2016-06-13 | 1 | -1/+1 | |
| | ||||||
* | Don't use 'run' interface in luarocks.build | Peter Melnichenko | 2016-06-13 | 1 | -1/+1 | |
| | | | | | | Use local 'do_build' function as function for search.act_on_src_or_rockspec instead. This also gets rid of double permission check and double removal of other versions. | |||||
* | Use install.command instead of install.run in luarocks.deps | Peter Melnichenko | 2016-06-13 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #567 from mpeterv/cli-refactor | Hisham Muhammad | 2016-06-12 | 26 | -123/+64 | |
|\ | | | | | Refactor cli to avoid double args parsing | |||||
| * | Get rid of util.forward_flags | Peter Melnichenko | 2016-06-03 | 2 | -34/+2 | |
| | | | | | | | | Use 'commands' functions directly. | |||||
| * | Refactor CLI to avoid double args parsing | Peter Melnichenko | 2016-06-03 | 26 | -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-compiling | Peter Melnichenko | 2016-06-11 | 1 | -9/+22 | |
|\ \ | | | | | | | Add cross compiling support for MSVC. | |||||
| * | | Fallback to vcvarsall.bat if compiler specific bat not found. | Xpol Wan | 2016-05-23 | 1 | -0/+8 | |
| | | | ||||||
| * | | Add cross compiling support for MSVC. | Xpol Wan | 2016-05-03 | 1 | -11/+16 | |
| | | | | | | | | | | | | This is needed, when native compiler is not installed but cross compiler does. | |||||
* | | | Use utils.see_help() consistently for all commands | Peter Melnichenko | 2016-06-09 | 2 | -2/+2 | |
| | | | ||||||
* | | | Check external_dependencies before dependencies. | Hisham | 2016-06-07 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | This allows us to fail quicker before installing a bunch of other rocks. | |||||
* | | | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-06-07 | 53 | -118/+122 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | Remove commented module() calls | Peter Melnichenko | 2016-05-31 | 51 | -51/+0 | |
| | | | ||||||
| * | | Remove unused imports in luarocks.make | Peter Melnichenko | 2016-05-31 | 1 | -2/+0 | |
| | | | ||||||
| * | | Merge pull request #558 from mpeterv/persist-arrays-with-newlines | Hisham Muhammad | 2016-05-30 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | Don't put array items on the same line when persisting | |||||
| | * | | luarocks.persist: put pairs with number values on one line | Peter Melnichenko | 2016-05-30 | 1 | -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-url | Hisham Muhammad | 2016-05-27 | 1 | -4/+42 | |
| |\ \ | | | | | | | | | Write rockspec infer scm url | |||||
| | * | | write-rockspec: improve homepage detection | Peter Melnichenko | 2016-05-23 | 1 | -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 repos | Peter Melnichenko | 2016-05-23 | 1 | -0/+29 | |
| | | | | ||||||
| * | | | Merge pull request #563 from mpeterv/new-version-no-arg | Hisham Muhammad | 2016-05-27 | 4 | -60/+79 | |
| |\ \ \ | | | | | | | | | | | luarocks new-version: make rockspec argument optional | |||||
| | * | | | luarocks new-version: make rockspec arg optional | Peter Melnichenko | 2016-05-25 | 2 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | | | Infer it same way `luarocks make` does. | |||||
| | * | | | luarocks make: move rockspec picking into an util function | Peter Melnichenko | 2016-05-25 | 2 | -55/+69 | |
| |/ / / | ||||||
* / / / | Ensure entries are readable. | Hisham | 2016-05-25 | 2 | -3/+3 | |
|/ / / | ||||||
* | | | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-05-25 | 16 | -428/+335 | |
|\| | | ||||||
| * | | Merge pull request #561 from mpeterv/common-fs-tools-funcs | Hisham Muhammad | 2016-05-22 | 7 | -303/+195 | |
| |\ \ | | | | | | | | | Move common `luarocks.fs.{unix,win32}.tools` functions into a new module | |||||
| | * | | Move common implementation of tools.dir_iterator | Peter Melnichenko | 2016-05-22 | 3 | -28/+14 | |
| | | | | ||||||
| | * | | Move common implementation of tools.execute_string | Peter Melnichenko | 2016-05-22 | 3 | -33/+17 | |
| | | | | ||||||
| | * | | Expose tools.command_at function | Peter Melnichenko | 2016-05-22 | 2 | -8/+16 | |
| | | | | ||||||
| | * | | fs.win32.tools: move a local function closer to its usage | Peter Melnichenko | 2016-05-22 | 1 | -11/+10 | |
| | | | | ||||||
| | * | | fs.tools: move common 'get_md5' function | Peter Melnichenko | 2016-05-22 | 3 | -44/+22 | |
| | | | | ||||||
| | * | | fs.tools: move common directory stack functions | Peter Melnichenko | 2016-05-22 | 3 | -93/+47 | |
| | | | | ||||||
| | * | | Move common implementation of fs.use_downloader into fs.tools module | Peter Melnichenko | 2016-05-22 | 5 | -92/+61 | |
| | | | | ||||||
| | * | | Add fs.quiet_stderr function | Peter Melnichenko | 2016-05-22 | 4 | -6/+20 | |
| | | | | ||||||
| * | | | Merge pull request #560 from mpeterv/write-rockspec-default-args | Hisham Muhammad | 2016-05-22 | 2 | -30/+29 | |
| |\ \ \ | | |/ / | |/| | | Infer name and version for `luarocks write-rockspec` without args | |||||
| | * | | Update tests for `luarocks write-rockspec` | Peter Melnichenko | 2016-05-22 | 1 | -1/+3 | |
| | | | | ||||||
| | * | | Infer name and version for `luarocks write-rockspec [path]` | Peter Melnichenko | 2016-05-22 | 1 | -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 args | Peter Melnichenko | 2016-05-22 | 1 | -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 mutation | Peter Melnichenko | 2016-05-18 | 1 | -3/+2 | |
| | | | | | | | | | | | | Don't set repos.ok and repos.err | |||||
| * | | Merge pull request #555 from robooo/master | Peter Melnichenko | 2016-05-17 | 2 | -2/+31 | |
| |\ \ | | | | | | | | | Added tests for new install functionality | |||||
| | * | | Added tests for new install functionality | roboo | 2016-05-17 | 2 | -2/+31 | |
| |/ / | ||||||
| * | | Refactor match_dep() | Peter Melnichenko | 2016-05-16 | 1 | -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-output | Hisham Muhammad | 2016-05-15 | 5 | -60/+63 | |
| |\ \ | | | | | | | | | Change output and order of deps installation | |||||
| | * | | Return missing deps listing in `luarocks install` output | Peter Melnichenko | 2016-05-14 | 1 | -4/+21 | |
| | | | | ||||||
| | * | | Announce each missing dep before its install | Peter Melnichenko | 2016-05-10 | 1 | -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 Melnichenko | 2016-05-10 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | Installation success message is enough and is more important (what's a manifest and why users should care?) |