Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | cfg: follow standard enviromental variables | Artturin | 2022-08-26 | 1 | -33/+33 | |
| | | | | distributions use these to use the correct compiler and other tools | |||||
* | tests: run quiet curl in mock API calls | Hisham Muhammad | 2022-08-26 | 1 | -1/+1 | |
| | ||||||
* | luarocks test: add nil check | Hisham Muhammad | 2022-08-26 | 1 | -1/+1 | |
| | ||||||
* | tests: only run luasocket rollback test on minimal environment | Hisham Muhammad | 2022-08-26 | 1 | -22/+24 | |
| | ||||||
* | CI: bump gh-actions-lua to master to use Lua 5.4.4 | Hisham Muhammad | 2022-08-26 | 1 | -1/+1 | |
| | ||||||
* | tests: run full tests with LuaSec | Hisham Muhammad | 2022-08-26 | 2 | -5/+9 | |
| | ||||||
* | luarocks test: check all dependency kinds | Hisham Muhammad | 2022-08-26 | 1 | -4/+11 | |
| | | | | | | When running tests we usually need runtime, build and test dependencies. This avoid having CI setups need to run `luarocks make --only-deps` in order to run `luarocks test`. | |||||
* | persist: create directory for file to be saved | Hisham Muhammad | 2022-08-26 | 1 | -0/+2 | |
| | ||||||
* | mingw: default to x86_64 compiler on 64-bit Windows | Hisham Muhammad | 2022-08-26 | 1 | -3/+8 | |
| | ||||||
* | CI: run test workflow on pull requests | Hisham Muhammad | 2022-08-25 | 1 | -1/+5 | |
| | ||||||
* | tests: Use upstream provided GH Action for Luacheck | Caleb Maclennan | 2022-08-25 | 3 | -26/+14 | |
| | ||||||
* | update copyright notice | Hisham Muhammad | 2022-08-25 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | I was involved with Kepler as a funded project from 2006-2009; the project continued for a few years laters in a volunteer basis without an actual legal entity. This outdated copyright notice was maintained out of inertia, and I don't think anyone else involved in Kepler back in the day would claim ownership of LuaRocks beyond Kepler's original incarnation. To avoid any misunderstandings moving forward and to give credit to the many contributors over the years, I am updating this copyright notice to reflect the actual existence of Kepler, having spoken with original Kepler folks such as @carregal and @mascarenhas about it. The "LuaRocks project authors" notice follows the example of other projects such as V8; look at the Git history for the detailed credits. | |||||
* | avoid crash if variables.LUA* are unset | Hisham Muhammad | 2022-08-25 | 1 | -3/+3 | |
| | | | | Fixes #1418 | |||||
* | Merge branch '3.9.1' | Hisham Muhammad | 2022-07-01 | 0 | -0/+0 | |
|\ | ||||||
| * | Release 3.9.1v3.9.1 | Hisham Muhammad | 2022-07-01 | 5 | -6/+7 | |
|/ | ||||||
* | deps: sanity check on luajitver | Hisham Muhammad | 2022-06-06 | 1 | -1/+1 | |
| | ||||||
* | tests: tests for util.variable_substitutions | Hisham Muhammad | 2022-06-06 | 1 | -0/+25 | |
| | ||||||
* | rockspec: pass lua_dir and lua_interpreter to busted. | Hisham Muhammad | 2022-06-06 | 1 | -3/+3 | |
| | ||||||
* | loader.which: new option for searching package.path and cpath | Hisham Muhammad | 2022-06-06 | 3 | -27/+66 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new second argument, `where`, a string which indicates places to search for the module. If `where` contains "l", it will search using the LuaRocks loader; if it contains "p", it will look in the filesystem using package.path and package.cpath. You can use both at the same time. If successful, it will return four values. * If found using the LuaRocks loader, it will return: * filename of the module (eg. "/usr/local/lib/lua/5.1/socket/core.so"), * rock name * rock version * "l" to indicate the match comes from the loader. * If found scanning package.path and package.cpath, it will return: * filename of the module (eg. "/usr/local/lib/lua/5.1/socket/core.so"), * "path" or "cpath" * nil * "p" to indicate the match comes from scanning package.path and cpath. If unsuccessful, nothing is returned. | |||||
* | test: perform variable substitutions in test.flags | Hisham Muhammad | 2022-06-06 | 4 | -16/+13 | |
| | ||||||
* | tests: accept full path in -Xhelper lua_interpreter | Hisham Muhammad | 2022-06-06 | 1 | -9/+14 | |
| | ||||||
* | binary build: help autodetection of the crosscompiled Lua libraries | Hisham Muhammad | 2022-05-18 | 1 | -0/+1 | |
| | ||||||
* | fix error message when Lua library is not found | Hisham Muhammad | 2022-05-18 | 1 | -1/+1 | |
| | ||||||
* | Fix build of Windows binary | Hisham Muhammad | 2022-05-03 | 2 | -2/+2 | |
| | | | | Fixes #1412. | |||||
* | Add --no-project flag to override .luarocks project dir | Hisham Muhammad | 2022-05-03 | 2 | -2/+7 | |
| | ||||||
* | Merge branch '3.9.0' | Hisham Muhammad | 2022-04-17 | 0 | -0/+0 | |
|\ | ||||||
| * | Release 3.9.0v3.9.0 | Hisham Muhammad | 2022-04-17 | 4 | -5/+5 | |
|/ | ||||||
* | tests: run tests on Lua 5.4 and LuaJIT 2.1 | Hisham Muhammad | 2022-04-16 | 21 | -82/+233 | |
| | ||||||
* | deps: be more lenient in library version check | Hisham Muhammad | 2022-04-16 | 1 | -8/+18 | |
| | ||||||
* | makedist: build binaries using Lua 5.4 | Hisham Muhammad | 2022-04-16 | 1 | -1/+1 | |
| | ||||||
* | deps: verify version mismatch when checking for Lua library | Hisham Muhammad | 2022-04-16 | 1 | -2/+11 | |
| | ||||||
* | deps: better error message when lua.h version mismatches | Hisham Muhammad | 2022-04-16 | 2 | -9/+17 | |
| | ||||||
* | fs.unix: fallback for when $USER variable is unset | Hisham Muhammad | 2022-04-16 | 4 | -10/+22 | |
| | | | | | | Also, declare Unix version of current_user in luarocks.fs.unix.tools, so that the pure-Lua version based on LuaPosix takes precedence when available. | |||||
* | search: avoid mixing up version and repo in pick_installed_rock | Hisham Muhammad | 2022-04-16 | 1 | -7/+3 | |
| | ||||||
* | Configurations for program_series and major_version are unused | Hisham Muhammad | 2022-04-16 | 2 | -18/+8 | |
| | | | | | | They look like useless maintenance burden, and I seriously doubt anyone uses those in their config files. In any case, they're easy to derive from cfg.program_version. | |||||
* | macos: support .tbd extension for later versions of macOS | Hisham Muhammad | 2022-04-12 | 1 | -0/+2 | |
| | ||||||
* | macos: add best-effort library search for Homebrew | Hisham Muhammad | 2022-04-12 | 1 | -0/+8 | |
| | ||||||
* | macos: use XCode SDK path by default | Hisham Muhammad | 2022-04-12 | 1 | -0/+5 | |
| | ||||||
* | tests: avoid repeated hardcoded package version numbers all over | Hisham Muhammad | 2022-04-12 | 13 | -178/+291 | |
| | ||||||
* | fs: try to accept a quoted filename with spaces | Hisham Muhammad | 2022-04-11 | 1 | -1/+1 | |
| | ||||||
* | fs.is_tool_available: if it looks like a pathname, try that first | Hisham Muhammad | 2022-04-11 | 1 | -1/+14 | |
| | | | | | Some uses of is_tool_available use binary names that can be overriden by the user via configuration. | |||||
* | patch: fix check for malformed patches | Hisham Muhammad | 2022-04-11 | 1 | -1/+2 | |
| | ||||||
* | add DragonFly BSD support | Hisham Muhammad | 2022-04-11 | 3 | -18/+15 | |
| | ||||||
* | fixes suggested by luacheck | Hisham Muhammad | 2022-04-11 | 3 | -3/+3 | |
| | ||||||
* | simplify check if tool is available | Hisham Muhammad | 2022-04-11 | 8 | -36/+30 | |
| | ||||||
* | Changes for building the all-in-one binary with Lua 5.4 | Hisham Muhammad | 2022-04-11 | 10 | -48/+50 | |
| | ||||||
* | build: change how the CFLAGS/LDFLAGS environment variables are honored | Hisham Muhammad | 2022-03-06 | 2 | -8/+22 | |
| | | | | This is to ensure that the -fPIC tweak is always added. | |||||
* | tests: don't download sailor | Hisham Muhammad | 2022-03-06 | 5 | -5/+49 | |
| | | | | | | Use a small fixture instead to test the regression for sailorproject/sailor#138 Sailor was the largest rock downloaded by the test suite, so this should improve download times. | |||||
* | tests: don't use validate-args rockspec in tests | Hisham Muhammad | 2022-03-06 | 7 | -49/+36 | |
| | | | | | | | | We only used the rockspec in testing, but since the app it refers to is GPL-3, it could cause confusion among users, so let's just drop it from the test suite. Closes #1387. | |||||
* | update Codecov uploader | Hisham Muhammad | 2022-03-06 | 1 | -1/+3 | |
| | | | | | See my Codecov bug report at https://community.codecov.com/t/coverage-ui-off-by-one-when-file-starts-with-a-blank-line/3516/2 |