Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Teal: add type definition module luarocks.vendor.dkjson | V1K1NGbg | 2024-10-21 | 1 | -0/+33 | |
| | ||||||
* | fix: patch: check array indices correctly | Hisham Muhammad | 2024-08-27 | 1 | -5/+4 | |
| | ||||||
* | fix: use luarocks.lock in cwd for non-binary rocks too (#1693) | Marc Jakobi | 2024-08-05 | 4 | -11/+28 | |
| | ||||||
* | fs.unix.tools: add __gc behavior to fs lock (#1702) | Hisham Muhammad | 2024-08-05 | 1 | -1/+9 | |
| | ||||||
* | turn assertion failure into a consistency check (#1703) | Hisham Muhammad | 2024-08-02 | 1 | -1/+3 | |
| | ||||||
* | fix: multipart: accept Windows-style paths (#1689) | Hisham Muhammad | 2024-06-24 | 1 | -1/+1 | |
| | | | Fixes #1687. | |||||
* | fix: give project dir higher priority than local_by_default setting | Hisham Muhammad | 2024-06-06 | 1 | -5/+5 | |
| | | | | Fixes #1682. | |||||
* | fix: if current directory contains luarocks.lock, use it | Hisham Muhammad | 2024-05-31 | 1 | -1/+5 | |
| | | | | Fixes #1662. | |||||
* | fix(config): do not crash if err_files is empty for some reason | Hisham Muhammad | 2024-05-31 | 1 | -1/+1 | |
| | | | | Closes #1652. | |||||
* | Fix the open fd might be nil if failing to open in fetch_caching | git-hulk | 2024-05-14 | 1 | -4/+9 | |
| | ||||||
* | fs(unix): honor umask correctly | Hisham Muhammad | 2024-05-14 | 3 | -23/+24 | |
| | ||||||
* | normalize package names to lowercase like the CLI | Hisham Muhammad | 2024-04-17 | 1 | -0/+2 | |
| | ||||||
* | fix(build): ensure --force works for build | Hisham Muhammad | 2024-04-05 | 4 | -2/+5 | |
| | ||||||
* | fix(init): check if we can create .gitignore | Hisham Muhammad | 2024-03-29 | 1 | -5/+7 | |
| | | | | Fixes #1651. | |||||
* | tweaks to --verbose output | Hisham Muhammad | 2024-03-13 | 4 | -42/+69 | |
| | | | | | | | | * Make output more informative for bug reports: * print `luarocks config` output at the top * Make output a bit more compact: * shorter output for os.execute * do not output fs.current_dir() | |||||
* | always make --global target the system tree | Hisham Muhammad | 2024-03-11 | 1 | -6/+13 | |
| | | | | | | | This alleviates the issue in the specific invocation given in #1425, but I don't think it is a full solution. See #1425. | |||||
* | fix(windows): parse slashes correctly when reading rock_manifest | Hisham Muhammad | 2024-03-06 | 2 | -2/+3 | |
| | ||||||
* | fix(windows): output native slashes on fs.find | Hisham Muhammad | 2024-03-06 | 2 | -4/+7 | |
| | ||||||
* | fs(windows): avoid excessive icacls calls | Hisham Muhammad | 2024-03-06 | 1 | -4/+9 | |
| | ||||||
* | fix: check permissions before trying to lock | Hisham Muhammad | 2024-03-05 | 7 | -27/+8 | |
| | | | | 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 | |
| | ||||||
* | 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 | 2 | -6/+12 | |
| | | | | | | 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: speed up and simplify | Hisham Muhammad | 2024-02-29 | 1 | -15/+16 | |
| | ||||||
* | feat: more informative reports no bad LUA_{INC,LIB}DIR configs | Hisham Muhammad | 2024-02-29 | 3 | -15/+93 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | 4 | -3/+27 | |
| | ||||||
* | 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: more resilient sysconfdir detection | Hisham Muhammad | 2024-02-27 | 1 | -1/+5 | |
| | ||||||
* | 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 | 1 | -5/+11 | |
| | ||||||
* | perf: speed up untar operation | Hisham Muhammad | 2024-02-27 | 1 | -4/+21 | |
| | ||||||
* | 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 | 12 | -92/+122 | |
| | | | | Fixes #1195. | |||||
* | fix: handle error if test.command is not a string. | Hisham Muhammad | 2024-02-21 | 1 | -0/+6 | |
| | | | | Fixes #1055. | |||||
* | fix(init): do not write spurious .gitignore entries | Hisham Muhammad | 2024-02-21 | 1 | -2/+2 | |
| | ||||||
* | fix: let runtime detection handle LUALIB filename | Hisham Muhammad | 2024-02-20 | 1 | -3/+1 | |
| | | | | | | | | 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 | 5 | -40/+49 | |
| | | | | | | | * 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. | |||||
* | fix(init): use absolute paths when deleting | Hisham Muhammad | 2024-02-19 | 1 | -2/+2 | |
| | | | | Thanks to @imolein for pointing it out! | |||||
* | fix(config): print boolean values correctly on Lua 5.1 | Hisham Muhammad | 2024-02-19 | 1 | -1/+5 | |
| | ||||||
* | fix(lint): don't crash when missing description | Hisham Muhammad | 2024-02-19 | 1 | -2/+2 | |
| |