aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Tests: fix luarocks list testHisham Muhammad2018-03-301-1/+1
|
* write_rockspec: cleanup source.identifierHisham Muhammad2018-03-301-0/+1
|
* Tests: isolate test environment from existing Lua variablesHisham Muhammad2018-03-291-1/+16
|
* Nicer title message for `luarocks list`Hisham Muhammad2018-03-231-1/+1
|
* upload: new flag --temp-keyHisham Muhammad2018-03-204-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 AppveyorPeter Melnichenko2018-03-151-1/+1
|
* Use posix.mkdtemp conditionallyHisham Muhammad2018-03-131-1/+5
| | | | Closes #677.
* win32: update 7zip to version 18.01Hisham Muhammad2018-03-122-0/+0
|
* win32: Update Lua to 5.1.5Hisham Muhammad2018-03-1212-6/+20
|
* win32: bump wget binary to 1.19.4Hisham Muhammad2018-03-121-0/+0
| | | | | Binary obtained from https://eternallybored.org/misc/wget/
* Tests: add unit test for fs.is_fileHisham Muhammad2018-02-222-0/+38
|
* Add .editorconfig fileHisham Muhammad2018-02-191-0/+12
|
* Fix .def generation on Windows. (#767)dwenegar2018-02-141-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 gatheringPeter Melnichenko2018-02-102-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 Schreijer2018-01-111-3/+89
| | | Update the Windows installer to better handle gcc toolchain in different environments
* Tests: modify platform detectionHisham Muhammad2018-01-111-8/+11
|
* Reorganize test suite filesHisham Muhammad2018-01-0855-121/+129
|
* path: use versioned LUA_xPATH_5_x variablesHisham Muhammad2018-01-056-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 testsHisham Muhammad2018-01-041-2/+2
|
* git.lua: avoid quoting difficulties on WindowsHisham Muhammad2018-01-021-2/+2
|
* Make sure command runs from current dir on WindowsHisham Muhammad2018-01-021-1/+6
|
* Tests: verbose execution on AppveyorHisham Muhammad2018-01-021-1/+1
|
* Catch error when git fails to read the hashHisham Muhammad2018-01-021-0/+3
|
* 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
|
* Obtain a unique identifier for a rock version fetched via gitHisham Muhammad2018-01-021-0/+15
|
* When using --tree, prepend its package paths in wrappers.Hisham Muhammad2018-01-022-1/+3
| | | | Fixes #740.
* 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: expose `exist` function to specsHisham Muhammad2017-12-191-7/+7
|
* Differentiate "not found" and "fail" when deleting.Hisham Muhammad2017-12-191-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 Muhammad2017-12-198-9/+9
|
* Use 'dev' instead of 'scm'.Hisham Muhammad2017-12-015-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-serverHisham Muhammad2017-11-091-18/+21
|
* Tests: build using INCDIR for an external dependencyHisham Muhammad2017-11-065-4/+58
|
* Travis: configure before makedistHisham Muhammad2017-10-081-0/+1
|
* Test list of installed files on Travis.Hisham Muhammad2017-10-082-1/+7
|
* Makefile: remove entry that is still in branch only.Hisham Muhammad2017-10-081-1/+1
|
* Makefile: Update list of deployed filesHisham Muhammad2017-10-081-3/+4
| | | | Fixes #738.
* Adds --dev flag for development-branch sub-repositories. (#736)Hisham Muhammad2017-10-085-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.
* Tests: move mock-server utils into test_environment.luaHisham Muhammad2017-10-084-51/+43
| | | | | This avoids trouble with changing package.paths during tests.
* fun: make function argument the last oneHisham Muhammad2017-10-081-5/+5
| | | | | Use an order that works better with the Lua function syntax.
* Reorganize luarocks.core requires and type checking tablesHisham Muhammad2017-10-0814-381/+426
| | | | | | | | | | | * For each `luarocks.core.x` module, make `luarocks.x` module load the core module explicitly as `core`, and expose its relevant methods explicitly as well (instead of using `setmetatable`). * Move all type checking out of the core, adjusting the manifest modules accordingly. * Create separate modules for the rockspec and manifest schemas in the `luarocks.type` namespace.
* Tests: use local fixture for new_version test.Hisham Muhammad2017-10-083-30/+55
|
* Tests: use local fixture for upload test.Hisham Muhammad2017-10-084-2/+37
| | | | Do not hit the github repository for LuaSocket in upload test.
* Dir separator is always "/".Hisham Muhammad2017-10-087-15/+11
| | | | | | The code was already effectively using "/" as the only directory separator, even on Windows. This commit removes the unnecessary indirection.
* Move luarocks.index to luarocks.admin.indexHisham Muhammad2017-10-084-3/+3
|
* ChangeLog: Mark module relocations as internal changesHisham Muhammad2017-10-051-5/+8
|
* Add `luarocks which` command. (#733)Hisham Muhammad2017-10-053-3/+35
|