summaryrefslogtreecommitdiff
path: root/spec (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Tests: make list test more lenient on installed versionHisham Muhammad2018-05-071-1/+1
|
* Tests: ensure that extra_rocks specified in test files were downloadedHisham Muhammad2018-05-071-2/+2
|
* Make copy_contents have the same behaviour on Windows and on UnixGeorge Roman2018-04-241-14/+3
|
* luarocks list: fix regression in display of version numbersHisham Muhammad2018-04-191-0/+7
|
* Add tests for some filesystem functionsGeorge Roman2018-04-191-4/+658
|
* Display namespaces in `luarocks show`Hisham Muhammad2018-04-131-0/+5
|
* Support build_dependencies in the show commandHisham Muhammad2018-04-131-0/+11
|
* Tests: build_dependenciesHisham Muhammad2018-04-1311-0/+149
|
* Tests: avoid race between setup_specs and async start of mock-serverHisham Muhammad2018-04-111-1/+6
|
* mock-server: make initialization independent of cwdHisham Muhammad2018-04-112-1/+4
|
* show: make --deps aware of namespacesHisham Muhammad2018-04-111-16/+25
|
* Tests: make verbose mode even more verboseHisham Muhammad2018-04-111-1/+1
| | | | | When running busted with `-Xhelper verbose`, now it will display the full output of every command.
* Add support for namespaces.Hisham Muhammad2018-04-1115-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 environmentsHisham Muhammad2018-04-111-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 installHisham Muhammad2018-04-1123-25/+290
|
* Tests: add missing fixturesHisham Muhammad2018-04-024-0/+24
|
* Tests: bump version of abelhas in testsHisham Muhammad2018-03-302-18/+22
| | | | TODO: this should be changed to depend on local files only.
* Tests: run our own local git-daemon repository for git testsHisham Muhammad2018-03-304-54/+217
|
* Tests: make sure tests run from testrun/Hisham Muhammad2018-03-307-28/+43
|
* Tests: fix luarocks list testHisham Muhammad2018-03-301-1/+1
|
* Tests: isolate test environment from existing Lua variablesHisham Muhammad2018-03-291-1/+16
|
* Tests: add unit test for fs.is_fileHisham Muhammad2018-02-221-0/+36
|
* Tests: modify platform detectionHisham Muhammad2018-01-111-8/+11
|
* Reorganize test suite filesHisham Muhammad2018-01-0852-56/+1246
|
* path: use versioned LUA_xPATH_5_x variablesHisham Muhammad2018-01-051-0/+34
| | | | | | | | `luarocks path` now exports versioned variables `LUA_PATH_5_x` and `LUA_CPATH_5_x` instead of `LUA_PATH` and `LUA_CPATH` when those are in use in your system. Fixes #760.
* Tests: add dependencies to mock-server testsHisham Muhammad2018-01-041-2/+2
|
* Tests: mark tests with #mock to fix Appveyor failuresHisham Muhammad2018-01-021-1/+1
|
* Tests: fetching from git stores an identifierHisham Muhammad2018-01-021-0/+23
|
* Tests: fix URL of testHisham Muhammad2018-01-021-1/+1
|
* Tests: fix write_rockspec tests wrt scm -> devHisham Muhammad2017-12-191-11/+11
|
* Tests: add regression test for #750Hisham Muhammad2017-12-191-2/+12
| | | | Fix #750.
* Tests: mark new_version test using mock-serverHisham Muhammad2017-11-091-18/+21
|
* Tests: build using INCDIR for an external dependencyHisham Muhammad2017-11-061-4/+22
|
* Tests: move mock-server utils into test_environment.luaHisham Muhammad2017-10-082-8/+6
| | | | | This avoids trouble with changing package.paths during tests.
* Tests: use local fixture for new_version test.Hisham Muhammad2017-10-082-30/+12
|
* Tests: use local fixture for upload test.Hisham Muhammad2017-10-081-2/+2
| | | | Do not hit the github repository for LuaSocket in upload test.
* Use versioned files only. (#734)Hisham Muhammad2017-10-049-143/+87
| | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x
* Merge branch 'luarocks-3'Hisham Muhammad2017-09-133-2/+19
|\
| * Avoid breaking test in release branches.Hisham2016-12-011-2/+2
| |
| * Merge branch 'master' into luarocks-3Peter Melnichenko2016-11-042-1/+123
| |\
| * \ Merge branch 'luarocks-3' into new-cmd-dirHisham2016-10-291-0/+13
| |\ \
| | * \ Merge branch 'master' into luarocks-3Hisham2016-10-291-0/+13
| | |\ \
| * | | | This doesn't produce an error, only a warning.Hisham2016-10-291-1/+2
| |/ / /
| * | | Merge branch 'master' into luarocks-3Hisham2016-10-281-0/+21
| |\ \ \
| * \ \ \ Merge branch 'master' into luarocks-3Hisham2016-10-272-1/+13
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into luarocks-3Hisham2016-10-201-0/+12
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham2016-10-201-0/+24
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham2016-10-191-4/+4
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham2016-10-181-1/+14
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Add missing file in test repoHisham2016-10-151-1/+2
| | | | | | | | | |