Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Tests: fix luarocks list test | Hisham Muhammad | 2018-03-30 | 1 | -1/+1 | |
| | ||||||
* | Tests: isolate test environment from existing Lua variables | Hisham Muhammad | 2018-03-29 | 1 | -1/+16 | |
| | ||||||
* | Tests: add unit test for fs.is_file | Hisham Muhammad | 2018-02-22 | 1 | -0/+36 | |
| | ||||||
* | Tests: modify platform detection | Hisham Muhammad | 2018-01-11 | 1 | -8/+11 | |
| | ||||||
* | Reorganize test suite files | Hisham Muhammad | 2018-01-08 | 52 | -56/+1246 | |
| | ||||||
* | path: use versioned LUA_xPATH_5_x variables | Hisham Muhammad | 2018-01-05 | 1 | -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 tests | Hisham Muhammad | 2018-01-04 | 1 | -2/+2 | |
| | ||||||
* | Tests: mark tests with #mock to fix Appveyor failures | Hisham Muhammad | 2018-01-02 | 1 | -1/+1 | |
| | ||||||
* | Tests: fetching from git stores an identifier | Hisham Muhammad | 2018-01-02 | 1 | -0/+23 | |
| | ||||||
* | Tests: fix URL of test | Hisham Muhammad | 2018-01-02 | 1 | -1/+1 | |
| | ||||||
* | Tests: fix write_rockspec tests wrt scm -> dev | Hisham Muhammad | 2017-12-19 | 1 | -11/+11 | |
| | ||||||
* | Tests: add regression test for #750 | Hisham Muhammad | 2017-12-19 | 1 | -2/+12 | |
| | | | | Fix #750. | |||||
* | Tests: mark new_version test using mock-server | Hisham Muhammad | 2017-11-09 | 1 | -18/+21 | |
| | ||||||
* | Tests: build using INCDIR for an external dependency | Hisham Muhammad | 2017-11-06 | 1 | -4/+22 | |
| | ||||||
* | Tests: move mock-server utils into test_environment.lua | Hisham Muhammad | 2017-10-08 | 2 | -8/+6 | |
| | | | | | This avoids trouble with changing package.paths during tests. | |||||
* | Tests: use local fixture for new_version test. | Hisham Muhammad | 2017-10-08 | 2 | -30/+12 | |
| | ||||||
* | Tests: use local fixture for upload test. | Hisham Muhammad | 2017-10-08 | 1 | -2/+2 | |
| | | | | Do not hit the github repository for LuaSocket in upload test. | |||||
* | Use versioned files only. (#734) | Hisham Muhammad | 2017-10-04 | 9 | -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 Muhammad | 2017-09-13 | 3 | -2/+19 | |
|\ | ||||||
| * | Avoid breaking test in release branches. | Hisham | 2016-12-01 | 1 | -2/+2 | |
| | | ||||||
| * | Merge branch 'master' into luarocks-3 | Peter Melnichenko | 2016-11-04 | 2 | -1/+123 | |
| |\ | ||||||
| * \ | Merge branch 'luarocks-3' into new-cmd-dir | Hisham | 2016-10-29 | 1 | -0/+13 | |
| |\ \ | ||||||
| | * \ | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-29 | 1 | -0/+13 | |
| | |\ \ | ||||||
| * | | | | This doesn't produce an error, only a warning. | Hisham | 2016-10-29 | 1 | -1/+2 | |
| |/ / / | ||||||
| * | | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-28 | 1 | -0/+21 | |
| |\ \ \ | ||||||
| * \ \ \ | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-27 | 2 | -1/+13 | |
| |\ \ \ \ | ||||||
| * \ \ \ \ | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-20 | 1 | -0/+12 | |
| |\ \ \ \ \ | ||||||
| * \ \ \ \ \ | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-20 | 1 | -0/+24 | |
| |\ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-19 | 1 | -4/+4 | |
| |\ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-18 | 1 | -1/+14 | |
| |\ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Add missing file in test repo | Hisham | 2016-10-15 | 1 | -1/+2 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Add tests for new flags | Hisham | 2016-10-14 | 1 | -0/+8 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-14 | 16 | -176/+314 | |
| |\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Fix download in test | Hisham | 2016-07-28 | 1 | -1/+1 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Clarify test_env.need_rock description wrt return value | Peter Melnichenko | 2017-09-11 | 1 | -1/+1 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Use dkjson instead of lua-cjson for upload test | Peter Melnichenko | 2017-09-11 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lua-cjson fails to build under LuaJIT 2.1.0-beta3. | |||||
* | | | | | | | | | | | Pass correct rockspec to upload tests that should fail for other reasons | Peter Melnichenko | 2017-09-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most tests simply check that some command succeeds or fails. When failure is expected, failure reason is not checked. In this case, upload commands was failing because passed rockspec did not exist and not for reason tests planned. | |||||
* | | | | | | | | | | | Change setup/teardown in make tests to before/after due to wrong use | roboo | 2017-07-06 | 1 | -2/+2 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Added LPeg dependency for lxsh to luarocks make tests | roboo | 2017-07-05 | 1 | -0/+1 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Avoid breaking test in release branches. | Hisham | 2016-12-01 | 1 | -2/+2 | |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |