Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tests: try some smarter defaults for Windows | Hisham Muhammad | 2018-07-01 | 1 | -3/+6 | |
| | ||||||
* | Tests: do not run installer on Windows | Hisham Muhammad | 2018-07-01 | 1 | -35/+38 | |
| | ||||||
* | Tests: speed up downloading rocks reusing HTTP connection | Hisham Muhammad | 2018-07-01 | 1 | -8/+15 | |
| | ||||||
* | cmd, Tests: ensure versioned directory is tried first | Hisham Muhammad | 2018-07-01 | 1 | -2/+2 | |
| | ||||||
* | Tests: ensure that tests do not accidentally find a project dir | Hisham Muhammad | 2018-07-01 | 1 | -0/+1 | |
| | ||||||
* | Tests: minor cleanups | Hisham Muhammad | 2018-07-01 | 2 | -5/+6 | |
| | ||||||
* | cfg, cmd: major reorganization | Hisham Muhammad | 2018-07-01 | 6 | -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 Muhammad | 2018-07-01 | 4 | -1/+8 | |
| | ||||||
* | Update tests README.md | George Roman | 2018-06-26 | 1 | -8/+0 | |
| | ||||||
* | Tests: test command | George Roman | 2018-06-22 | 1 | -0/+170 | |
| | ||||||
* | Tests: replace small fixture files with inline content | George Roman | 2018-06-21 | 20 | -151/+269 | |
| | ||||||
* | Tests: improve the tests for the fs module | George Roman | 2018-06-21 | 1 | -4/+139 | |
| | ||||||
* | Tests: improve patch.lua tests | George Roman | 2018-06-20 | 5 | -81/+180 | |
| | ||||||
* | Tests: patch.lua | George Roman | 2018-06-14 | 5 | -0/+151 | |
| | ||||||
* | Tests: disable customized external_deps_dirs | Hisham Muhammad | 2018-06-14 | 1 | -12/+0 | |
| | ||||||
* | builtin: if "libraries" is used but "external_dependencies" is not given, ↵ | Hisham Muhammad | 2018-06-14 | 1 | -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 absent | Hisham Muhammad | 2018-06-14 | 2 | -0/+43 | |
| | ||||||
* | Tests: do not rebuild mock server rocks if already built | Hisham Muhammad | 2018-06-14 | 1 | -5/+20 | |
| | ||||||
* | Tests: fix fetch tests using the rockspecs module | Hisham Muhammad | 2018-06-14 | 1 | -66/+21 | |
| | ||||||
* | Include 0% coverage files in the luacov report | George Roman | 2018-06-12 | 1 | -0/+25 | |
| | ||||||
* | Fix the collecting of coverage data from unit tests | George Roman | 2018-06-12 | 6 | -2/+19 | |
| | ||||||
* | Move test/README.md to spec/README.md | George Roman | 2018-06-12 | 1 | -0/+66 | |
| | ||||||
* | General refactor introducing Rockspec and Build.Opts objects | Hisham Muhammad | 2018-06-06 | 3 | -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 dir | Hisham Muhammad | 2018-06-06 | 2 | -11/+19 | |
| | ||||||
* | build: make "builtin" the default build.type | Hisham Muhammad | 2018-06-06 | 2 | -8/+40 | |
| | ||||||
* | Tests: core.util.show_table (#813) | George Roman | 2018-06-05 | 1 | -0/+34 | |
| | ||||||
* | Tests: collect coverage data from unit tests (#814) | George Roman | 2018-06-05 | 5 | -1/+58 | |
| | ||||||
* | Tests: luarocks init (#811) | George Roman | 2018-06-05 | 8 | -4/+161 | |
| | ||||||
* | Fix failing Appveyor tests | George Roman | 2018-06-04 | 2 | -1/+3 | |
| | ||||||
* | Tests: replace #blackbox with #integration and #whitebox with #unit | George Roman | 2018-06-04 | 29 | -47/+37 | |
| | ||||||
* | Improve the tests for the fetch module | George Roman | 2018-05-31 | 9 | -2/+409 | |
| | ||||||
* | list: show tree in list title when using --tree | Hisham Muhammad | 2018-05-31 | 1 | -1/+1 | |
| | ||||||
* | Update fs_spec to use test_env temporary path utility | George Roman | 2018-05-29 | 1 | -9/+1 | |
| | ||||||
* | Add temporary path utility function to test_env | George Roman | 2018-05-29 | 1 | -0/+9 | |
| | ||||||
* | Tests: cache build of mock server dependencies to speed up tests | Hisham Muhammad | 2018-05-28 | 6 | -57/+65 | |
| | ||||||
* | Tests: try to cache rocks from the host system to speed up test | Hisham Muhammad | 2018-05-28 | 1 | -0/+21 | |
| | ||||||
* | Make the mock server run on Windows | George Roman | 2018-05-28 | 2 | -6/+22 | |
| | ||||||
* | Add tests for fs.download | George Roman | 2018-05-28 | 1 | -0/+62 | |
| | ||||||
* | Improve fs module tests | George Roman | 2018-05-22 | 1 | -0/+289 | |
| | ||||||
* | Add more tests for the fs module | George Roman | 2018-05-18 | 1 | -31/+172 | |
| | ||||||
* | Add tests for the fun module | George Roman | 2018-05-18 | 1 | -0/+60 | |
| | ||||||
* | Update fs module tests to use fs.set_permissions | George Roman | 2018-05-17 | 1 | -130/+186 | |
| | ||||||
* | Tests: build: pin version in test | Hisham Muhammad | 2018-05-07 | 1 | -1/+1 | |
| | ||||||
* | luarocks-admin: only create index.html if it already exists or --index is given | Hisham Muhammad | 2018-05-07 | 1 | -2/+2 | |
| | ||||||
* | Tests: test the "busted" backend of `luarocks test` with a local fixture | Hisham Muhammad | 2018-05-07 | 14 | -11/+88 | |
| | ||||||
* | Tests: add fixture for a project with Busted-based tests | Hisham Muhammad | 2018-05-07 | 2 | -0/+17 | |
| | ||||||
* | Tests: use luassert 1.7.10 in `luarocks test` tests | Hisham Muhammad | 2018-05-07 | 1 | -7/+7 | |
| | ||||||
* | Tests: add test for `luarocks test` | Hisham Muhammad | 2018-05-07 | 1 | -0/+56 | |
| | ||||||
* | Tests: make list test more lenient on installed version | Hisham Muhammad | 2018-05-07 | 1 | -1/+1 | |
| | ||||||
* | Tests: ensure that extra_rocks specified in test files were downloaded | Hisham Muhammad | 2018-05-07 | 1 | -2/+2 | |
| |