Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: use paths with spaces when testing on Windows | Hisham Muhammad | 2024-02-29 | 1 | -1/+7 |
| | | | | This should force us to test our compatibility with paths with spaces all over. | ||||
* | tests: speed up and simplify | Hisham Muhammad | 2024-02-29 | 2 | -62/+71 |
| | |||||
* | feat: more informative reports no bad LUA_{INC,LIB}DIR configs | Hisham Muhammad | 2024-02-29 | 2 | -8/+11 |
| | |||||
* | do not check coverage or luacheck for vendored modules | Hisham Muhammad | 2024-02-29 | 1 | -0/+3 |
| | | | | | These are treated as dependencies, and are managed and tested by upstream. | ||||
* | tests: reorganize and speed up unit tests | Hisham Muhammad | 2024-02-27 | 1 | -52/+65 |
| | |||||
* | tests(fetch): do not use restserver | Hisham Muhammad | 2024-02-27 | 2 | -1/+16 |
| | |||||
* | tests: enable coverage on quick tests | Hisham Muhammad | 2024-02-26 | 1 | -2/+3 |
| | |||||
* | tests: replace some more tests with quick tests | Hisham Muhammad | 2024-02-26 | 1 | -12/+33 |
| | |||||
* | fix: better normalization for paths and slashes | Hisham Muhammad | 2024-02-23 | 2 | -207/+297 |
| | | | | Fixes #1195. | ||||
* | tests: introduce quick tests | Hisham Muhammad | 2024-02-23 | 2 | -1/+399 |
| | |||||
* | drop cfg.lua_interpreter, use cfg.variables.LUA | Hisham Muhammad | 2024-02-18 | 1 | -38/+58 |
| | |||||
* | tests: auto-find interpreter at /usr/bin/lua (#1544) | Hisham Muhammad | 2023-10-31 | 1 | -16/+33 |
| | |||||
* | tests: run quiet curl in mock API calls | Hisham Muhammad | 2022-08-26 | 1 | -1/+1 |
| | |||||
* | tests: run full tests with LuaSec | Hisham Muhammad | 2022-08-26 | 2 | -5/+9 |
| | |||||
* | tests: accept full path in -Xhelper lua_interpreter | Hisham Muhammad | 2022-06-06 | 1 | -9/+14 |
| | |||||
* | tests: run tests on Lua 5.4 and LuaJIT 2.1 | Hisham Muhammad | 2022-04-16 | 2 | -6/+7 |
| | |||||
* | tests: avoid repeated hardcoded package version numbers all over | Hisham Muhammad | 2022-04-12 | 2 | -24/+121 |
| | |||||
* | tests: remove Travis CI, add Github Actions | Hisham Muhammad | 2022-02-17 | 1 | -6/+6 |
| | |||||
* | tests: wait longer for mock server to start | Hisham Muhammad | 2022-02-17 | 1 | -13/+25 |
| | |||||
* | tests: bump luacov to 0.15.0 | Hisham Muhammad | 2021-07-22 | 1 | -2/+2 |
| | |||||
* | editorconfig: trim trailing whitespace | Hisham Muhammad | 2021-03-16 | 2 | -15/+15 |
| | |||||
* | fs: always check for failure of fs.which_tool (#1157) | Hisham Muhammad | 2020-02-20 | 1 | -1/+5 |
| | |||||
* | tests: drop LuaSec dependency on tests, use fixtures instead | Hisham Muhammad | 2020-01-25 | 1 | -17/+25 |
| | |||||
* | build: fix --branch flag | Hisham Muhammad | 2019-09-03 | 1 | -0/+1 |
| | | | | | | | | | | | | The `--branch` flag is optional and takes a string argument. The `--branch` flag does not make sense for `luarocks make` because it does not fetch sources, it builds/installs based on whatever is in the current directory. This also adds tests that verify the behavior, but these don't run in Travis CI because of issues running a Git daemon there. They were verified locally. | ||||
* | Enable use of lua-bz2 | Hisham Muhammad | 2019-06-06 | 1 | -1/+3 |
| | | | | Fixes #1005. | ||||
* | update to luacov 0.13.1 + cluacov 0.1.1 | Hisham Muhammad | 2019-04-03 | 1 | -2/+5 |
| | |||||
* | Add --sign option to `luarocks pack` | Hisham Muhammad | 2019-04-01 | 1 | -0/+2 |
| | | | | | | | | * Introduce a new module, `luarocks.signing` * Add `--sign` option to `luarocks pack`, which produces a detached GPG signature * Includes a basic test, along with some fixtures with a password-less GPG key | ||||
* | core.sysdetect: add fork-free OS detection (#938) | Hisham Muhammad | 2018-10-30 | 1 | -2/+2 |
| | | | | | Detect operating system and architecture without forking subprocesses, doing `file`-like detection reading data from well-known system executables. | ||||
* | Tests: add regression test for luarocks.loader startup | Hisham Muhammad | 2018-09-11 | 1 | -1/+5 |
| | |||||
* | Tests: add test_env.run_in_tmp utility function | George Roman | 2018-07-24 | 1 | -0/+19 |
| | |||||
* | Tests: tweak dependencies for env=full tests | Hisham Muhammad | 2018-07-18 | 1 | -11/+10 |
| | |||||
* | Tests: support running with the default detected OpenSSL locations | Hisham Muhammad | 2018-07-18 | 1 | -2/+5 |
| | |||||
* | Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIR | George Roman | 2018-07-05 | 1 | -3/+15 |
| | |||||
* | Tests: improve isolation of tests | Hisham Muhammad | 2018-07-01 | 1 | -0/+1 |
| | |||||
* | Let LuaRocks find LUA_LIBDIR and LUA_INCDIR by itself | Hisham Muhammad | 2018-07-01 | 1 | -10/+0 |
| | |||||
* | Tests: improve hardcoded defaults | Hisham Muhammad | 2018-07-01 | 1 | -12/+28 |
| | |||||
* | 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 |
| | |||||
* | cfg, cmd: major reorganization | Hisham Muhammad | 2018-07-01 | 1 | -13/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `--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 | ||||
* | Tests: disable customized external_deps_dirs | Hisham Muhammad | 2018-06-14 | 1 | -12/+0 |
| | |||||
* | Tests: do not rebuild mock server rocks if already built | Hisham Muhammad | 2018-06-14 | 1 | -5/+20 |
| | |||||
* | build: make "builtin" the default build.type | Hisham Muhammad | 2018-06-06 | 1 | -8/+13 |
| | |||||
* | 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 | 1 | -33/+42 |
| | |||||
* | Make the mock server run on Windows | George Roman | 2018-05-28 | 2 | -6/+22 |
| | |||||
* | Tests: test the "busted" backend of `luarocks test` with a local fixture | Hisham Muhammad | 2018-05-07 | 2 | -5/+3 |
| | |||||
* | Tests: ensure that extra_rocks specified in test files were downloaded | Hisham Muhammad | 2018-05-07 | 1 | -2/+2 |
| |