Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix: check permissions before trying to lock | Hisham Muhammad | 2024-03-05 | 8 | -51/+60 | |
| | | | | This should provide a better error message. | |||||
* | feat: improve permissions error message | Hisham Muhammad | 2024-03-05 | 1 | -3/+35 | |
| | ||||||
* | fix(make): --no-install doesn't need locking | Hisham Muhammad | 2024-03-05 | 1 | -1/+1 | |
| | ||||||
* | fix(path): break Windows cmd to avoid argparse word wrap | Hisham Muhammad | 2024-03-05 | 1 | -1/+2 | |
| | ||||||
* | tests: add tests for fs.execute_env using variables with spaces | Sewbacca | 2024-03-04 | 2 | -0/+61 | |
| | | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org> | |||||
* | fix: on windows environment variables are passed with trailing space | Sewbacca | 2024-02-29 | 1 | -1/+1 | |
| | ||||||
* | feat: better error message when lacking permissions | Hisham Muhammad | 2024-02-29 | 3 | -13/+40 | |
| | | | | | | The lock error message has clobbered the check_command_permissions error message. This is an interim solution, but we should probably move the permissions check further up for a more informative error. | |||||
* | fix: don't try to lock when using --pack-binary-rock | Hisham Muhammad | 2024-02-29 | 7 | -7/+22 | |
| | ||||||
* | fix: don't crash when root_dir is a table | Hisham Muhammad | 2024-02-29 | 1 | -1/+1 | |
| | ||||||
* | tests: mark a couple of problematic tests as pending | Hisham Muhammad | 2024-02-29 | 1 | -2/+2 | |
| | ||||||
* | tests: speed up and simplify | Hisham Muhammad | 2024-02-29 | 24 | -295/+507 | |
| | ||||||
* | tests: disable luacov runner tick | Hisham Muhammad | 2024-02-29 | 12 | -36/+23 | |
| | ||||||
* | ci: skip branches with PRs on AppVeyor | Hisham Muhammad | 2024-02-29 | 1 | -0/+1 | |
| | ||||||
* | feat: more informative reports no bad LUA_{INC,LIB}DIR configs | Hisham Muhammad | 2024-02-29 | 8 | -34/+225 | |
| | ||||||
* | move luarocks.argparse to luarocks.vendor.argparse | Hisham Muhammad | 2024-02-29 | 2 | -1/+1 | |
| | ||||||
* | deps: bump vendored dkjson to version 2.7 | Hisham Muhammad | 2024-02-29 | 1 | -9/+10 | |
| | ||||||
* | do not check coverage or luacheck for vendored modules | Hisham Muhammad | 2024-02-29 | 2 | -0/+7 | |
| | | | | | These are treated as dependencies, and are managed and tested by upstream. | |||||
* | feat(fs): drop stale lock files (older than 1 hour) | Hisham Muhammad | 2024-02-29 | 1 | -1/+9 | |
| | | | | This feature is dependent on lfs. | |||||
* | feat: always reuse cached files younger than 10 seconds | Hisham Muhammad | 2024-02-29 | 2 | -7/+32 | |
| | | | | This feature depends on lfs being available. | |||||
* | feat(build,install): only rebuild and reinstall when using --force | Hisham Muhammad | 2024-02-29 | 6 | -3/+109 | |
| | ||||||
* | fix: refuse to use luasec < 1.1 | Hisham Muhammad | 2024-02-28 | 1 | -2/+8 | |
| | | | | | | This can happen if a distro-installed luasec is too old. See #1302 #1309 #1316 #1360 #1422 #1500 | |||||
* | fix(windows): set LUALIB in install.bat | Hisham Muhammad | 2024-02-28 | 1 | -4/+4 | |
| | | | | | LUA_LIBNAME is not used by LuaRocks anymore. LUALIB is the library name override on Windows. | |||||
* | Merge branch '3.10.0' | Hisham Muhammad | 2024-02-28 | 0 | -0/+0 | |
|\ | ||||||
| * | Release 3.10.0v3.10.0 | Hisham Muhammad | 2024-02-27 | 5 | -6/+7 | |
|/ | ||||||
* | binary: encode dependency order (luasec depends on luasocket) | Hisham Muhammad | 2024-02-27 | 1 | -10/+22 | |
| | ||||||
* | deps: bump luasocket and luasec | Hisham Muhammad | 2024-02-27 | 3 | -26/+145 | |
| | ||||||
* | deps: bump zlib version | Hisham Muhammad | 2024-02-27 | 1 | -1/+1 | |
| | ||||||
* | binary: dkjson is no longer a dependency, it is now vendored in | Hisham Muhammad | 2024-02-27 | 1 | -1/+0 | |
| | ||||||
* | fix: more resilient sysconfdir detection | Hisham Muhammad | 2024-02-27 | 1 | -1/+5 | |
| | ||||||
* | tests: reorganize and speed up unit tests | Hisham Muhammad | 2024-02-27 | 46 | -736/+743 | |
| | ||||||
* | fix(fs): make copy_contents behavior consistent on Unix | Hisham Muhammad | 2024-02-27 | 1 | -1/+4 | |
| | | | | Make it match the win32 behavior. | |||||
* | fix(fs): make current_dir always return 1 arg only | Hisham Muhammad | 2024-02-27 | 10 | -5/+11 | |
| | ||||||
* | tests(fetch): do not use restserver | Hisham Muhammad | 2024-02-27 | 4 | -282/+309 | |
| | ||||||
* | tests(build): split unit and integration files | Hisham Muhammad | 2024-02-27 | 2 | -352/+369 | |
| | | | | use restserver only in integration part | |||||
* | perf: speed up untar operation | Hisham Muhammad | 2024-02-27 | 1 | -4/+21 | |
| | ||||||
* | tests: enable coverage on quick tests | Hisham Muhammad | 2024-02-26 | 1 | -2/+3 | |
| | ||||||
* | fix: prevent LuaRocks from blocking lfs from removal on Windows | Hisham Muhammad | 2024-02-26 | 1 | -0/+1 | |
| | | | | | | | | | | Prevent LuaRocks itself from using installed modules and blocking their files from removal. This is not an issue on luarocks.exe because its own copy of lfs is statically linked. We need to eventually switch to using that always, but for now this is a workable solution. Fixes #1428. | |||||
* | tests: replace some more tests with quick tests | Hisham Muhammad | 2024-02-26 | 3 | -84/+287 | |
| | ||||||
* | fix: if --lua-* flags are given, don't use the hardcoded paths | Hisham Muhammad | 2024-02-25 | 2 | -15/+26 | |
| | | | | | | Thanks @Frityet for the help with troubleshooting! Fixes #1611 | |||||
* | fix: better normalization for paths and slashes | Hisham Muhammad | 2024-02-23 | 23 | -384/+489 | |
| | | | | Fixes #1195. | |||||
* | tests: introduce quick tests | Hisham Muhammad | 2024-02-23 | 13 | -68/+706 | |
| | ||||||
* | fix: handle error if test.command is not a string. | Hisham Muhammad | 2024-02-21 | 2 | -0/+57 | |
| | | | | Fixes #1055. | |||||
* | fix(init): do not write spurious .gitignore entries | Hisham Muhammad | 2024-02-21 | 1 | -2/+2 | |
| | ||||||
* | Makefile: make install target phony | Hisham Muhammad | 2024-02-20 | 1 | -32/+30 | |
| | | | | Fixes #1038. | |||||
* | ci: don't run luacheck twice on pull requests | Hisham Muhammad | 2024-02-20 | 1 | -1/+5 | |
| | ||||||
* | ci: run main tests on master branch as well | Hisham Muhammad | 2024-02-20 | 1 | -1/+1 | |
| | ||||||
* | fix: let runtime detection handle LUALIB filename | Hisham Muhammad | 2024-02-20 | 2 | -5/+2 | |
| | | | | | | | | This should be more flexible than hardcoding a value that may become incorrect once people reconfigure their LuaRocks to point to another Lua distribution, especially on Windows. Fixes #905. | |||||
* | improve and simplify Lua interpreter search | Hisham Muhammad | 2024-02-20 | 6 | -41/+50 | |
| | | | | | | | * do not proceed with commands if interpreter is not found * begin retiring LUA_DIR and LUA_BINDIR, and promote LUA as the main way to setup the interpreter location (from which we derive the rest) | |||||
* | fix: don't show "no downloader" error for every mirror | Hisham Muhammad | 2024-02-19 | 4 | -7/+10 | |
| | ||||||
* | fix(init): inject project's package.(c)path in lua wrapper script | Hisham Muhammad | 2024-02-19 | 1 | -1/+20 | |
| | | | | Fixes #924. |