aboutsummaryrefslogtreecommitdiff
path: root/lfw (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-13Tests: build_dependenciesHisham Muhammad11-0/+149
2018-04-13Add support for build-only dependenciesHisham Muhammad6-31/+49
Adds the `build_dependencies` key to the rockspec format, for dependencies that are only triggered when building from source (e.g. via `luarocks build` or running `luarocks install` on a rockspec) and not when building from a packaged `.rock` file using `luarocks install`.
2018-04-11Tests: avoid race between setup_specs and async start of mock-serverHisham Muhammad1-1/+6
2018-04-11mock-server: make initialization independent of cwdHisham Muhammad2-1/+4
2018-04-11show: make --deps aware of namespacesHisham Muhammad2-17/+29
2018-04-11queries: fix tostring()Hisham Muhammad1-1/+1
2018-04-11Try to isolate uses of namespaced name stringsHisham Muhammad13-71/+71
Add asserts to uses of `name` arguments to check that they are not namespaced; rename namespace-able name arguments to `ns_name` and avoid some unrelated uses of the `name` argument that don't represent rock names (there are still others around, to be fixed eventually). This may cause some failures in some untested code paths with namespaced packages, but we hope to catch them with better testing. Better to be safe here than to perform filesystem operations on incorrect paths.
2018-04-11Make pack_installed_rock operate on query objectsHisham Muhammad2-8/+7
2018-04-11Tests: make verbose mode even more verboseHisham Muhammad1-1/+1
When running busted with `-Xhelper verbose`, now it will display the full output of every command.
2018-04-11Read namespace on disk search as wellHisham Muhammad1-12/+20
2018-04-11Add support for namespaces.Hisham Muhammad48-426/+856
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.
2018-04-11Fix the way we compare environmentsHisham Muhammad1-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.
2018-04-11Tests: add test for namespaced installHisham Muhammad23-25/+290
2018-04-11Beginning support for namespaced queriesHisham Muhammad11-76/+132
2018-04-10add --porcelain to search helpAlec Larson1-6/+7
2018-04-02Tests: add missing fixturesHisham Muhammad4-0/+24
2018-03-30Tests: bump version of abelhas in testsHisham Muhammad2-18/+22
TODO: this should be changed to depend on local files only.
2018-03-30Tests: run our own local git-daemon repository for git testsHisham Muhammad5-56/+219
2018-03-30Tests: make sure tests run from testrun/Hisham Muhammad7-28/+43
2018-03-30Tests: fix luarocks list testHisham Muhammad1-1/+1
2018-03-30write_rockspec: cleanup source.identifierHisham Muhammad1-0/+1
2018-03-29Tests: isolate test environment from existing Lua variablesHisham Muhammad1-1/+16
2018-03-23Nicer title message for `luarocks list`Hisham Muhammad1-1/+1
2018-03-20upload: new flag --temp-keyHisham Muhammad4-1/+7
New flag `--temp-key` for `luarocks upload`, allowing you to easily upload rocks into an alternate account without disrupting the stored configuration of your main account.
2018-03-15Use latest stable LuaRocks on AppveyorPeter Melnichenko1-1/+1
2018-03-13Use posix.mkdtemp conditionallyHisham Muhammad1-1/+5
Closes #677.
2018-03-12win32: update 7zip to version 18.01Hisham Muhammad2-0/+0
2018-03-12win32: Update Lua to 5.1.5Hisham Muhammad12-6/+20
2018-03-12win32: bump wget binary to 1.19.4Hisham Muhammad1-0/+0
Binary obtained from https://eternallybored.org/misc/wget/
2018-02-22Tests: add unit test for fs.is_fileHisham Muhammad2-0/+38