Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for namespaces. | Hisham Muhammad | 2018-04-11 | 48 | -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. | |||||
* | 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 | |
| | ||||||
* | Beginning support for namespaced queries | Hisham Muhammad | 2018-04-11 | 11 | -76/+132 | |
| | ||||||
* | add --porcelain to search help | Alec Larson | 2018-04-10 | 1 | -6/+7 | |
| | ||||||
* | 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 | 5 | -56/+219 | |
| | ||||||
* | 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 | |
| | ||||||
* | write_rockspec: cleanup source.identifier | Hisham Muhammad | 2018-03-30 | 1 | -0/+1 | |
| | ||||||
* | Tests: isolate test environment from existing Lua variables | Hisham Muhammad | 2018-03-29 | 1 | -1/+16 | |
| | ||||||
* | Nicer title message for `luarocks list` | Hisham Muhammad | 2018-03-23 | 1 | -1/+1 | |
| | ||||||
* | upload: new flag --temp-key | Hisham Muhammad | 2018-03-20 | 4 | -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. | |||||
* | Use latest stable LuaRocks on Appveyor | Peter Melnichenko | 2018-03-15 | 1 | -1/+1 | |
| | ||||||
* | Use posix.mkdtemp conditionally | Hisham Muhammad | 2018-03-13 | 1 | -1/+5 | |
| | | | | Closes #677. | |||||
* | win32: update 7zip to version 18.01 | Hisham Muhammad | 2018-03-12 | 2 | -0/+0 | |
| | ||||||
* | win32: Update Lua to 5.1.5 | Hisham Muhammad | 2018-03-12 | 12 | -6/+20 | |
| | ||||||
* | win32: bump wget binary to 1.19.4 | Hisham Muhammad | 2018-03-12 | 1 | -0/+0 | |
| | | | | | Binary obtained from https://eternallybored.org/misc/wget/ | |||||
* | Tests: add unit test for fs.is_file | Hisham Muhammad | 2018-02-22 | 2 | -0/+38 | |
| | ||||||
* | Add .editorconfig file | Hisham Muhammad | 2018-02-19 | 1 | -0/+12 | |
| | ||||||
* | Fix .def generation on Windows. (#767) | dwenegar | 2018-02-14 | 1 | -1/+3 | |
| | | | | | According to the Lua's manual: > Once it finds a C library, this searcher first uses a dynamic link facility to link the application with the library. Then it tries to find a C function inside the library to be used as the loader. The name of this C function is the string "luaopen_" concatenated with a copy of the module name where each dot is replaced by an underscore. Moreover, if the module name has a hyphen, its prefix up to (and including) the first hyphen is removed. For instance, if the module name is a.v1-b.c, the function name will be luaopen_b_c. | |||||
* | Fix CI build and coverage gathering | Peter Melnichenko | 2018-02-10 | 2 | -9/+8 | |
| | | | | | | | | | | * Default Mac image has been changed on Travis. Use `pip2` instead of `pip`. * Don't install bit32 on Appveyor or luacov-coveralls on Travis. luacov-coveralls isn't used anymore. * Pass luacov.report.out to codecov explicitly on Appveyor, it doesn't find it there. Also disable gcov run. * Use cluacov, should hopefully improve speed and coverage accuracy. * Use the new location for coverage files (testrun instead of test). | |||||
* | Update Windows installer to better handle gcc toolchains (#759) | Thijs Schreijer | 2018-01-11 | 1 | -3/+89 | |
| | | | Update the Windows installer to better handle gcc toolchain in different environments | |||||
* | Tests: modify platform detection | Hisham Muhammad | 2018-01-11 | 1 | -8/+11 | |
| | ||||||
* | Reorganize test suite files | Hisham Muhammad | 2018-01-08 | 55 | -121/+129 | |
| | ||||||
* | path: use versioned LUA_xPATH_5_x variables | Hisham Muhammad | 2018-01-05 | 6 | -9/+62 | |
| | | | | | | | | `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 | |
| | ||||||
* | git.lua: avoid quoting difficulties on Windows | Hisham Muhammad | 2018-01-02 | 1 | -2/+2 | |
| | ||||||
* | Make sure command runs from current dir on Windows | Hisham Muhammad | 2018-01-02 | 1 | -1/+6 | |
| | ||||||
* | Tests: verbose execution on Appveyor | Hisham Muhammad | 2018-01-02 | 1 | -1/+1 | |
| | ||||||
* | Catch error when git fails to read the hash | Hisham Muhammad | 2018-01-02 | 1 | -0/+3 | |
| | ||||||
* | 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 | |
| | ||||||
* | Obtain a unique identifier for a rock version fetched via git | Hisham Muhammad | 2018-01-02 | 1 | -0/+15 | |
| | ||||||
* | When using --tree, prepend its package paths in wrappers. | Hisham Muhammad | 2018-01-02 | 2 | -1/+3 | |
| | | | | Fixes #740. | |||||
* | 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: expose `exist` function to specs | Hisham Muhammad | 2017-12-19 | 1 | -7/+7 | |
| | ||||||
* | Differentiate "not found" and "fail" when deleting. | Hisham Muhammad | 2017-12-19 | 1 | -4/+10 | |
| | | | | | Do not halt a deletion process when trying to delete something that was not found. | |||||
* | Use util.warning instead of printerr with "Warning: " | Hisham Muhammad | 2017-12-19 | 8 | -9/+9 | |
| | ||||||
* | Use 'dev' instead of 'scm'. | Hisham Muhammad | 2017-12-01 | 5 | -7/+11 | |
| | | | | | | Match terminology used in luarocks.org. 'scm' is still supported for compatibility reasons, but is no longer the recommended term. | |||||
* | 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 | 5 | -4/+58 | |
| | ||||||
* | Travis: configure before makedist | Hisham Muhammad | 2017-10-08 | 1 | -0/+1 | |
| | ||||||
* | Test list of installed files on Travis. | Hisham Muhammad | 2017-10-08 | 2 | -1/+7 | |
| | ||||||
* | Makefile: remove entry that is still in branch only. | Hisham Muhammad | 2017-10-08 | 1 | -1/+1 | |
| | ||||||
* | Makefile: Update list of deployed files | Hisham Muhammad | 2017-10-08 | 1 | -3/+4 | |
| | | | | Fixes #738. | |||||
* | Adds --dev flag for development-branch sub-repositories. (#736) | Hisham Muhammad | 2017-10-08 | 5 | -2/+23 | |
| | | | | | | | | | | | This adds support for easily requesting `dev` modules from LuaRocks.org, as in: ``` luarocks install --dev luafilesystem ``` The list of URLs configured in `rocks_servers` is prepended with a list containing "/dev" in their paths. |