Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Fix of luasocket binary rock tests | roboo | 2016-07-14 | 1 | -7/+11 | |
| | | | ||||||
| | * | need_rock() added, new flag noreset environment | roboo | 2016-07-14 | 4 | -19/+16 | |
| | | | ||||||
| | * | new_version test update | roboo | 2016-07-12 | 1 | -0/+7 | |
| | | | ||||||
| | * | Merge branch 'master' of https://github.com/keplerproject/luarocks into ↵ | roboo | 2016-07-12 | 3 | -6/+12 | |
| | |\ | | | | | | | | | | | | | new-tests | |||||
| | * | | Update new_version, pack tests | roboo | 2016-07-11 | 3 | -0/+41 | |
| | | | | ||||||
| * | | | Check for invalid server response. | Hisham | 2016-07-14 | 1 | -0/+3 | |
| | |/ | |/| | ||||||
| * | | Merge pull request #587 from xpol/win32-unique-paths-in-bin-scripts | Hisham Muhammad | 2016-07-11 | 2 | -1/+3 | |
| |\ \ | | | | | | | | | Make package.path and package.cpath unique in win32 bin scripts. | |||||
| | * | | Make package.path and package.cpath unique in win32 bin scripts. | Xpol Wan | 2016-07-11 | 2 | -1/+3 | |
| | | | | ||||||
| * | | | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-07-11 | 33 | -1146/+2253 | |
| |\ \ \ | ||||||
| | * \ \ | Merge pull request #585 from robooo/new-tests | Hisham Muhammad | 2016-07-10 | 2 | -2/+32 | |
| | |\ \ \ | | | | |/ | | | |/| | New tests | |||||
| | | * | | Update new_version_spec.lua | robooo | 2016-07-10 | 1 | -6/+1 | |
| | | | | | ||||||
| | | * | | Doc tests | roboo | 2016-07-10 | 1 | -1/+18 | |
| | | | | | ||||||
| | | * | | Tests added - new_version | roboo | 2016-07-10 | 1 | -1/+19 | |
| | |/ / | ||||||
| | * | | Merge pull request #583 from mpeterv/adjust-new-tests | Peter Melnichenko | 2016-07-09 | 28 | -469/+405 | |
| | |\ \ | | | |/ | | |/| | Minor changes and fixes for new test suite | |||||
| | | * | Infer Lua version using luarocks.cfg when not on travis | Peter Melnichenko | 2016-07-08 | 1 | -26/+6 | |
| | | | | ||||||
| | | * | Tests: add file/dir existence check utility function | Peter Melnichenko | 2016-07-08 | 1 | -14/+16 | |
| | | | | | | | | | | | | | | | | Use it instead of os.rename(path, path). | |||||
| | | * | Tests: adjust rock/rockspec downloading | Peter Melnichenko | 2016-07-08 | 1 | -26/+25 | |
| | | | | ||||||
| | | * | Tests: adjust build_environment | Peter Melnichenko | 2016-07-08 | 1 | -7/+11 | |
| | | | | ||||||
| | | * | Tests: utility function for marking sections | Peter Melnichenko | 2016-07-08 | 1 | -11/+11 | |
| | | | | ||||||
| | | * | Tests: move luarocks installation into its own function | Peter Melnichenko | 2016-07-08 | 1 | -13/+18 | |
| | | | | ||||||
| | | * | Tests: adjust file/dir removing functions | Peter Melnichenko | 2016-07-08 | 1 | -13/+9 | |
| | | | | ||||||
| | | * | Tests: move clean() into separate function, fix a pattern | Peter Melnichenko | 2016-07-08 | 1 | -7/+11 | |
| | | | | ||||||
| | | * | Tests: remove optional .main() arguments | Peter Melnichenko | 2016-07-08 | 1 | -13/+10 | |
| | | | | ||||||
| | | * | Tests: move config creation into its function | Peter Melnichenko | 2016-07-08 | 1 | -38/+44 | |
| | | | | ||||||
| | | * | Tests: fix need_luasocket() | Peter Melnichenko | 2016-07-08 | 1 | -11/+6 | |
| | | | | | | | | | | | | | | | | Return false if installation failed. Also, remove optional arguments. | |||||
| | | * | Tests: remove optional OS argument in hash_environment | Peter Melnichenko | 2016-07-08 | 1 | -14/+8 | |
| | | | | ||||||
| | | * | Tests: fix config creation error handling | Peter Melnichenko | 2016-07-08 | 1 | -2/+1 | |
| | | | | ||||||
| | | * | Tests: reformat help message | Peter Melnichenko | 2016-07-08 | 1 | -15/+21 | |
| | | | | ||||||
| | | * | Tests: refactor config creation | Peter Melnichenko | 2016-07-08 | 1 | -64/+81 | |
| | | | | ||||||
| | | * | Tests: fix luabitop installation condition | Peter Melnichenko | 2016-07-08 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Remove some more unused stuff and globals from tests | Peter Melnichenko | 2016-07-08 | 12 | -21/+17 | |
| | | | | ||||||
| | | * | Make env vars, paths and run commands available on test env load | Peter Melnichenko | 2016-07-08 | 25 | -92/+82 | |
| | | | | ||||||
| | | * | Tests: disable insulation and use describe() instead of expose() | Peter Melnichenko | 2016-07-08 | 25 | -25/+26 | |
| | | | | ||||||
| | | * | Test suite: use test/test_environment as busted helper | Peter Melnichenko | 2016-07-08 | 2 | -29/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When parsing test options, instead of directly looking for '-Xhelper' in arguments and splitting the next arguments on commas add .busted config to set test/test_environment as busted helper. Then busted will do the splitting on its own and set global arg to split options. | |||||
| | | * | Remove all the unused imports in test suite | Peter Melnichenko | 2016-07-08 | 23 | -49/+13 | |
| | | | | ||||||
| | | * | Tests: infer Lua/LuaJIT version | Peter Melnichenko | 2016-07-08 | 2 | -31/+27 | |
| | | | | ||||||
| | | * | .travis.yml: don't use virtualenv | Peter Melnichenko | 2016-07-08 | 1 | -7/+3 | |
| | |/ | | | | | | | | | | | | | | | | | | | Install python 2 and avoid using virtualenv, pip on osx works fine without it. Also remove unnecessary path prefix and add newline at the end. | |||||
| | * | New test-suite for LuaRocks (#581) | robooo | 2016-07-07 | 30 | -1143/+2281 | |
| | | | | | | | | | | | | | | | | | | | | | | | | First version of new test-suite, using Busted framework based on Google Summer of Code project: https://summerofcode.withgoogle.com/projects/#5695811874717696 * Rewritten from Bash to Lua * Tests now check if they did what they were supposed to, beyond only checking success or failure of the `luarocks` command * Support for black-box (launching `luarocks` as an external command) and white-box (testing functions in modules directly) testing | |||||
| | * | Fix implicit number-to-string coversion in luarocks.help | Peter Melnichenko | 2016-07-05 | 1 | -1/+1 | |
| | | | ||||||
| | * | 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 #577 from keplerproject/core-modules | Hisham Muhammad | 2016-07-15 | 63 | -1539/+1440 | |
|\ \ | | | | | | | Core modules reorganization. | |||||
| * | | Core modules reorganization. | Hisham | 2016-06-30 | 63 | -1539/+1440 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Isolate all modules used by luarocks.loader in a luarocks.core.* namespace. Core modules can only require other core modules, and they only use require() at the top-level chunk. In other words, after luarocks.loader is setup, package.path can be altered at will and it should not affect the ability of luarocks.loader to run, and the luarocks.loader modules should not interfere with modules loaded later. This was motivated by @robooo's GSoC work on porting the LuaRocks test suite to Lua using Busted. Busted itself runs using luarocks.loader, and we need to ensure that the modules loaded by the tests do not conflict with the ones used by luarocks.loader. A circular dependency between luarocks.manif and luarocks.search was removed by creating a separate luarocks.manif.writer module. Also, luarocks-admin commands were moved to a luarocks.admin.* namespace. | |||||
* | | Merge branch 'master' into luarocks-3 | Hisham | 2016-06-29 | 4 | -6/+5 | |
|\| | ||||||
| * | 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 | |
| | | ||||||
* | | Remove now unused function deps.deps_mode_to_flag | Peter Melnichenko | 2016-06-13 | 1 | -4/+0 | |
| | | ||||||
* | | Remove 'run' interface for commands | Peter Melnichenko | 2016-06-13 | 25 | -32/+0 | |
| | |