Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: do not rebuild mock server rocks if already built | Hisham Muhammad | 2018-06-14 | 1 | -5/+20 |
| | |||||
* | Tests: fix fetch tests using the rockspecs module | Hisham Muhammad | 2018-06-14 | 1 | -66/+21 |
| | |||||
* | Include 0% coverage files in the luacov report | George Roman | 2018-06-12 | 1 | -0/+25 |
| | |||||
* | Fix the collecting of coverage data from unit tests | George Roman | 2018-06-12 | 6 | -2/+19 |
| | |||||
* | Move test/README.md to spec/README.md | George Roman | 2018-06-12 | 1 | -0/+66 |
| | |||||
* | General refactor introducing Rockspec and Build.Opts objects | Hisham Muhammad | 2018-06-06 | 3 | -11/+12 |
| | | | | | | | | | | Adds a Rockspec object responsible for constructing all Rockspec tables in the manner of the Queries and Results objects, and a type-checked Build.Opts tables for build options, since the number of attributes passed around was getting out of hand. This allowed a major cleanup in the luarocks.build, luarocks.fetch and luarocks.cmd.write_rockspec modules. | ||||
* | Tests: move is_basic_protocol to dir | Hisham Muhammad | 2018-06-06 | 2 | -11/+19 |
| | |||||
* | build: make "builtin" the default build.type | Hisham Muhammad | 2018-06-06 | 2 | -8/+40 |
| | |||||
* | Tests: core.util.show_table (#813) | George Roman | 2018-06-05 | 1 | -0/+34 |
| | |||||
* | Tests: collect coverage data from unit tests (#814) | George Roman | 2018-06-05 | 5 | -1/+58 |
| | |||||
* | Tests: luarocks init (#811) | George Roman | 2018-06-05 | 8 | -4/+161 |
| | |||||
* | Fix failing Appveyor tests | George Roman | 2018-06-04 | 2 | -1/+3 |
| | |||||
* | Tests: replace #blackbox with #integration and #whitebox with #unit | George Roman | 2018-06-04 | 29 | -47/+37 |
| | |||||
* | Improve the tests for the fetch module | George Roman | 2018-05-31 | 9 | -2/+409 |
| | |||||
* | list: show tree in list title when using --tree | Hisham Muhammad | 2018-05-31 | 1 | -1/+1 |
| | |||||
* | Update fs_spec to use test_env temporary path utility | George Roman | 2018-05-29 | 1 | -9/+1 |
| | |||||
* | Add temporary path utility function to test_env | George Roman | 2018-05-29 | 1 | -0/+9 |
| | |||||
* | Tests: cache build of mock server dependencies to speed up tests | Hisham Muhammad | 2018-05-28 | 6 | -57/+65 |
| | |||||
* | Tests: try to cache rocks from the host system to speed up test | Hisham Muhammad | 2018-05-28 | 1 | -0/+21 |
| | |||||
* | Make the mock server run on Windows | George Roman | 2018-05-28 | 2 | -6/+22 |
| | |||||
* | Add tests for fs.download | George Roman | 2018-05-28 | 1 | -0/+62 |
| | |||||
* | Improve fs module tests | George Roman | 2018-05-22 | 1 | -0/+289 |
| | |||||
* | Add more tests for the fs module | George Roman | 2018-05-18 | 1 | -31/+172 |
| | |||||
* | Add tests for the fun module | George Roman | 2018-05-18 | 1 | -0/+60 |
| | |||||
* | Update fs module tests to use fs.set_permissions | George Roman | 2018-05-17 | 1 | -130/+186 |
| | |||||
* | Tests: build: pin version in test | Hisham Muhammad | 2018-05-07 | 1 | -1/+1 |
| | |||||
* | luarocks-admin: only create index.html if it already exists or --index is given | Hisham Muhammad | 2018-05-07 | 1 | -2/+2 |
| | |||||
* | Tests: test the "busted" backend of `luarocks test` with a local fixture | Hisham Muhammad | 2018-05-07 | 14 | -11/+88 |
| | |||||
* | Tests: add fixture for a project with Busted-based tests | Hisham Muhammad | 2018-05-07 | 2 | -0/+17 |
| | |||||
* | Tests: use luassert 1.7.10 in `luarocks test` tests | Hisham Muhammad | 2018-05-07 | 1 | -7/+7 |
| | |||||
* | Tests: add test for `luarocks test` | Hisham Muhammad | 2018-05-07 | 1 | -0/+56 |
| | |||||
* | Tests: make list test more lenient on installed version | Hisham Muhammad | 2018-05-07 | 1 | -1/+1 |
| | |||||
* | Tests: ensure that extra_rocks specified in test files were downloaded | Hisham Muhammad | 2018-05-07 | 1 | -2/+2 |
| | |||||
* | Make copy_contents have the same behaviour on Windows and on Unix | George Roman | 2018-04-24 | 1 | -14/+3 |
| | |||||
* | luarocks list: fix regression in display of version numbers | Hisham Muhammad | 2018-04-19 | 1 | -0/+7 |
| | |||||
* | Add tests for some filesystem functions | George Roman | 2018-04-19 | 1 | -4/+658 |
| | |||||
* | Display namespaces in `luarocks show` | Hisham Muhammad | 2018-04-13 | 1 | -0/+5 |
| | |||||
* | Support build_dependencies in the show command | Hisham Muhammad | 2018-04-13 | 1 | -0/+11 |
| | |||||
* | Tests: build_dependencies | Hisham Muhammad | 2018-04-13 | 11 | -0/+149 |
| | |||||
* | Tests: avoid race between setup_specs and async start of mock-server | Hisham Muhammad | 2018-04-11 | 1 | -1/+6 |
| | |||||
* | mock-server: make initialization independent of cwd | Hisham Muhammad | 2018-04-11 | 2 | -1/+4 |
| | |||||
* | show: make --deps aware of namespaces | Hisham Muhammad | 2018-04-11 | 1 | -16/+25 |
| | |||||
* | Tests: make verbose mode even more verbose | Hisham Muhammad | 2018-04-11 | 1 | -1/+1 |
| | | | | | When running busted with `-Xhelper verbose`, now it will display the full output of every command. | ||||
* | Add support for namespaces. | Hisham Muhammad | 2018-04-11 | 15 | -37/+242 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For details of the new feature, see https://github.com/luarocks/luarocks/wiki/Namespaces This ended up being a huge commit because of some major refactoring motivated by the new feature: * new modules for some object types: * `luarocks.queries` - all functions that look for rocks in local or remote repositories now use objects constructed by this module: query objects contain the name, namespace and query constraints. Dependencies in a rockspec are also stored as query objects. * `luarocks.results` - all individual results produces from queries are returned in this format: result objects contain the name, namespace, version, arch and repo. * the `results` object was renamed to `result_tree`, to better reflect that it is not an array of `result` objects. * `luarocks.vers` was removed, its functionality was moved to better locations. Specifically on namespaces: * Commands that take a rock `name` can now take `namespace/name` (and alternately `--flags=namespace` so that URLs can be also installed with a nominal namespace). * Rocks installed from a namespace now create a `rock_namespace` file alongside `rock_manifest`, which is used when matching namespaced dependencies against locally-installed rocks. * Using namespaced dependencies in a rockspec, requires `rockspec_format = "3.0"`. * Tests under the `#namespaces` hashtag, all using a local repository. | ||||
* | Fix the way we compare environments | Hisham Muhammad | 2018-04-11 | 1 | -1/+1 |
| | | | | | | This is not even using a md5sum hash anymore. Seems to work fine on Linux, will probably end up doing the same on other platforms. | ||||
* | Tests: add test for namespaced install | Hisham Muhammad | 2018-04-11 | 23 | -25/+290 |
| | |||||
* | Tests: add missing fixtures | Hisham Muhammad | 2018-04-02 | 4 | -0/+24 |
| | |||||
* | Tests: bump version of abelhas in tests | Hisham Muhammad | 2018-03-30 | 2 | -18/+22 |
| | | | | TODO: this should be changed to depend on local files only. | ||||
* | Tests: run our own local git-daemon repository for git tests | Hisham Muhammad | 2018-03-30 | 4 | -54/+217 |
| | |||||
* | Tests: make sure tests run from testrun/ | Hisham Muhammad | 2018-03-30 | 7 | -28/+43 |
| |