summaryrefslogtreecommitdiff
path: root/spec/util/mock-server.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* editorconfig: trim trailing whitespaceHisham Muhammad2021-03-161-1/+1
|
* Make the mock server run on WindowsGeorge Roman2018-05-281-1/+1
|
* Tests: test the "busted" backend of `luarocks test` with a local fixtureHisham Muhammad2018-05-071-1/+1
|
* mock-server: make initialization independent of cwdHisham Muhammad2018-04-111-1/+1
|
* Add support for namespaces.Hisham Muhammad2018-04-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Tests: make sure tests run from testrun/Hisham Muhammad2018-03-301-1/+1
|
* Reorganize test suite filesHisham Muhammad2018-01-081-0/+97