aboutsummaryrefslogtreecommitdiff
path: root/spec (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Tests: try some smarter defaults for WindowsHisham Muhammad2018-07-011-3/+6
|
* Tests: do not run installer on WindowsHisham Muhammad2018-07-011-35/+38
|
* Tests: speed up downloading rocks reusing HTTP connectionHisham Muhammad2018-07-011-8/+15
|
* cmd, Tests: ensure versioned directory is tried firstHisham Muhammad2018-07-011-2/+2
|
* Tests: ensure that tests do not accidentally find a project dirHisham Muhammad2018-07-011-0/+1
|
* Tests: minor cleanupsHisham Muhammad2018-07-012-5/+6
|
* cfg, cmd: major reorganizationHisham Muhammad2018-07-016-35/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `--lua-dir` flag, specifying a prefix for the Lua installation to be used. This reconfigures LuaRocks entirely, including allowing a LuaRocks which is itself running using one Lua 5.x version to manage packages for a different Lua 5.y version. The resulting configuration can be checked with `luarocks config --lua-dir=<path>`. * requiring `luarocks.core.cfg` no longer has side-effects * configuration now needs to be initialized with `cfg.init([lua_data])`, where `lua_data` is a table with the configuration of the VM: * `lua_version` - e.g. `"5.3"` * `luajit_version` - e.g. `"2.1.0-beta3"` * `lua_interpreter` - e.g. `"lua5.3"` * `lua_bindir` - e.g. `"/usr/local/bin"` * `lua_libdir` - e.g. `"/usr/local/lib"` * `lua_incdir` - e.g. `"/usr/local/include/lua-5.3"` * `cfg.init` can be called multiple times, reconfiguring the global state. This is important since `luarocks.loader` now calls it, and the `--lua-dir` command line can override the configuration and reconfigure LuaRocks. * `site_config_*` is no more: LuaRocks is no longer dependent on a properly-written site_config file. Instead, it can *optionally* use `luarocks.core.hardcoded` for hardcoded values, or detect its configuration at runtime, based on OS detection, arg[-1] or command-line flags. * reduction of moving parts in the configuration: * `cfg.platforms` is no longer a globally-visible table; instead, `cfg` provides an API of read-only functions: `is_platform`, `each_platform`, `print_platforms`. * `cfg.*_proxy` options are no longer configured via the config files, but rather via the standard `*_proxy` environment variables. * `"windows"` is now the more general platform name of the Windows family. This is technically a breaking change but I don't expect it to cause problems with real-world rockspecs. * internal code reorganization in `luarocks.cmd` module
* fs: make module loading side-effect free, require explicit init()Hisham Muhammad2018-07-014-1/+8
|
* Update tests README.mdGeorge Roman2018-06-261-8/+0
|
* Tests: test commandGeorge Roman2018-06-221-0/+170
|
* Tests: replace small fixture files with inline contentGeorge Roman2018-06-2120-151/+269
|
* Tests: improve the tests for the fs moduleGeorge Roman2018-06-211-4/+139
|
* Tests: improve patch.lua testsGeorge Roman2018-06-205-81/+180
|
* Tests: patch.luaGeorge Roman2018-06-145-0/+151
|
* Tests: disable customized external_deps_dirsHisham Muhammad2018-06-141-12/+0
|
* builtin: if "libraries" is used but "external_dependencies" is not given, ↵Hisham Muhammad2018-06-141-0/+27
| | | | | | | | autogenerate it The approach is slightly ugly since it adds builtin-specific knowledge to `luarocks.deps`, but I don't think any other build backends will support this behavior any time soon.
* builtin: auto-detect modules when build.modules (or build!) is absentHisham Muhammad2018-06-142-0/+43
|
* Tests: do not rebuild mock server rocks if already builtHisham Muhammad2018-06-141-5/+20
|
* Tests: fix fetch tests using the rockspecs moduleHisham Muhammad2018-06-141-66/+21
|
* Include 0% coverage files in the luacov reportGeorge Roman2018-06-121-0/+25
|
* Fix the collecting of coverage data from unit testsGeorge Roman2018-06-126-2/+19
|
* Move test/README.md to spec/README.mdGeorge Roman2018-06-121-0/+66
|
* General refactor introducing Rockspec and Build.Opts objectsHisham Muhammad2018-06-063-11/+12
| | | | | | | | | | Adds a Rockspec object responsible for constructing all Rockspec tables in the manner of the Queries and Results objects, and a type-checked Build.Opts tables for build options, since the number of attributes passed around was getting out of hand. This allowed a major cleanup in the luarocks.build, luarocks.fetch and luarocks.cmd.write_rockspec modules.
* Tests: move is_basic_protocol to dirHisham Muhammad2018-06-062-11/+19
|
* build: make "builtin" the default build.typeHisham Muhammad2018-06-062-8/+40
|
* Tests: core.util.show_table (#813)George Roman2018-06-051-0/+34
|
* Tests: collect coverage data from unit tests (#814)George Roman2018-06-055-1/+58
|
* Tests: luarocks init (#811)George Roman2018-06-058-4/+161
|
* Fix failing Appveyor testsGeorge Roman2018-06-042-1/+3
|
* Tests: replace #blackbox with #integration and #whitebox with #unitGeorge Roman2018-06-0429-47/+37
|
* Improve the tests for the fetch moduleGeorge Roman2018-05-319-2/+409
|
* list: show tree in list title when using --treeHisham Muhammad2018-05-311-1/+1
|
* Update fs_spec to use test_env temporary path utilityGeorge Roman2018-05-291-9/+1
|
* Add temporary path utility function to test_envGeorge Roman2018-05-291-0/+9
|
* Tests: cache build of mock server dependencies to speed up testsHisham Muhammad2018-05-286-57/+65
|
* Tests: try to cache rocks from the host system to speed up testHisham Muhammad2018-05-281-0/+21
|
* Make the mock server run on WindowsGeorge Roman2018-05-282-6/+22
|
* Add tests for fs.downloadGeorge Roman2018-05-281-0/+62
|
* Improve fs module testsGeorge Roman2018-05-221-0/+289
|
* Add more tests for the fs moduleGeorge Roman2018-05-181-31/+172
|
* Add tests for the fun moduleGeorge Roman2018-05-181-0/+60
|
* Update fs module tests to use fs.set_permissionsGeorge Roman2018-05-171-130/+186
|
* Tests: build: pin version in testHisham Muhammad2018-05-071-1/+1
|
* luarocks-admin: only create index.html if it already exists or --index is givenHisham Muhammad2018-05-071-2/+2
|
* Tests: test the "busted" backend of `luarocks test` with a local fixtureHisham Muhammad2018-05-0714-11/+88
|
* Tests: add fixture for a project with Busted-based testsHisham Muhammad2018-05-072-0/+17
|
* Tests: use luassert 1.7.10 in `luarocks test` testsHisham Muhammad2018-05-071-7/+7
|
* Tests: add test for `luarocks test`Hisham Muhammad2018-05-071-0/+56
|
* 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
|