aboutsummaryrefslogtreecommitdiff
path: root/spec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better errors on dependency failures (#1919)Christian Clauss2026-08-161-2/+4
|
* tests: add test case for #1874 (#1875)Hisham Muhammad2026-08-161-1/+2
|
* Upgrade luafilesystem for lua5.5 compatibility (#1914)Christian Clauss2026-08-131-1/+1
|
* Bump lua-zlib from 1.2 to 1.4 as part of Lua 5.5 support (#1858)Luau Project2026-08-111-1/+1
| | | | | | | * chore(deps): bump lua-zlib to 1.4 * refactor: adjust static lib for `lua-zlib` 1.4 rockspec * refactor(ci): remove unused copy of zlib import lib for MSVC
* Upgrade deps compat53 and luacov for lua5.5 compatibilityChristian Clauss2026-08-113-5/+8
|
* feat(upload): add a dry-run flagThijs Schreijer2026-07-181-0/+13
|
* fix: make write_rockspec command write valid rockspec given the ↵Hugo Levy-Falk2026-07-161-7/+15
| | | | rockspec_format argument.
* tests: Add lint pass on the created rockspecs for the write_rockspec command.Hugo Levy-Falk2026-07-161-15/+7
|
* lua5.5: loop control variables are const in quick_parseChristian Clauss2026-07-161-0/+1
|
* fix: make write_rockspec command write valid rockspec given the ↵Hugo Levy-Falk2026-07-132-18/+26
| | | | rockspec_format argument.
* tests: Add lint pass on the created rockspecs for the write_rockspec command.Hugo Levy-Falk2026-07-131-2/+8
|
* tests: Add lint pass on the created rockspecs for the init command.Hugo Levy-Falk2026-07-131-1/+8
|
* Fix typos discovered by codespellChristian Clauss2026-07-111-1/+1
|
* tests: remove duplicate from quick testsHisham Muhammad2026-05-211-35/+0
|
* tests: fix tests for luarocks.lock -- lua version is no longer pinnedHisham Muhammad2026-05-212-6/+3
|
* fix: check if table entry is nil or not (#1867)Bruno Thiago2026-03-171-0/+38
| | | | | | | | | | | | | | | | running ```luarocks config local_by_default``` returns ```Error: Unknown entry local_by_default``` and running ```luarocks config local_by_default true``` writes it as a string to the config file: ```lua local_by_default = "true" ``` Same is true to any bool var set as false. This pr aims to fix this issue.
* Improve flexibility around vendored librariestobil4sk2026-02-031-0/+1
| | | | | | | | | | | | | | | | | | | | | compat53 is vendored since #1757 as it is required to run luarocks with lua 5.1 or 5.2. However, this introduced some issues as the GNUmakefile install rule places these in the same place where `luarocks install compat53` would install them. This means you get conflicts if you install the actual package: ``` Warning: /.../prefix/share/lua/5.1/compat53/init.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/init.lua~ Warning: /.../prefix/share/lua/5.1/compat53/module.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/module.lua~ Warning: /.../prefix/share/lua/5.1/compat53/file_mt.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/file_mt.lua~ ``` It is also not ideal for linux package maintainers to include a vendored package, see: https://github.com/luarocks/luarocks/pull/1757#issuecomment-3409873412. To solve these issues, this patchset makes the following changes: - GNUmakefile now places the compat53 files under `luarocks/vendor/compat53` (which is added internally to the luarocks script's `package.path`). This way a user's installation of compat53 does not interfere at all with luarocks one. - Added `--with-system-compat53` option to configure script for external packaging systems. - Fixed install.bat's logic for deciding whether to vendor compat53, as the current script includes it for every version. install.bat already places luarocks sources outside of LUAPATH, so that part can stay as is. I've also inverted the version check to avoid the need for future patches like: #1850.
* update handling of version-specific LUA_PATH / LUA_CPATHPierre Chapuis2025-12-261-0/+4
| | | | | Support Lua 5.4 and 5.5, see https://github.com/luarocks/luarocks/pull/1832
* support Lua 5.5Pierre Chapuis2025-12-261-2/+2
|
* feat: add build vars. for rockspecs with the dir. of its deps.Renato Maia2025-05-191-0/+49
| | | | | | | Rockspecs can access the directory of its dependencies using variables in the format 'foo_ROCKDIR' where 'foo' is the name of a dependency. This is used to be able to access files of the rock like 'conf', 'docs' and more.
* feat: add LUA_VERSION build variable for rockspecsRenato Maia2025-05-191-0/+46
|
* tests: fix typo from Appveyor removalHisham Muhammad2025-03-091-1/+1
|
* ci: remove AppveyorHisham Muhammad2025-03-092-12/+2
|
* ci(windows): support MinGW-w64 UCRT64 on test_envluau-project2025-03-091-1/+49
|
* ci(windows): bypass Windows GH runner permissionsluau-project2025-03-091-1/+1
|
* ci(windows): bump luasocket versionluau-project2025-03-091-1/+1
|
* ci(windows): adjust docs on spec READMEluau-project2025-03-091-0/+1
|
* tests: bump luasystem dependencyHisham Muhammad2025-01-031-1/+1
|
* tests: synchronize actual and fs's chdirHisham Muhammad2024-10-211-0/+1
|
* tests: use compat53Hisham Muhammad2024-10-212-0/+5
|
* tests: some testing environment cleanupsHisham Muhammad2024-10-212-2/+9
|
* tests: unit test updatesV1K1NGbg2024-10-214-19/+10
|
* fix: patch: check array indices correctlyHisham Muhammad2024-08-271-3/+2
|
* tests: setup openssl via brew with new pathsHisham Muhammad2024-05-141-2/+13
| | | | https://stackoverflow.com/questions/29651258/install-openssl-devel-on-mac
* bump cluacov to 0.1.3Hisham Muhammad2024-05-141-1/+1
|
* fix(build): ensure --force works for buildHisham Muhammad2024-04-052-0/+45
|
* tests(quick): fix NOT_STDERR test refactoring output checksHisham Muhammad2024-04-051-46/+23
|
* tests: convert some install testsHisham Muhammad2024-03-133-27/+212
|
* tests: convert most pack testsHisham Muhammad2024-03-134-66/+135
|
* tests: rockspec use cleanupsHisham Muhammad2024-03-136-16/+5
|
* tests: replace new_version with quick testsHisham Muhammad2024-03-132-85/+213
|
* tests: minor tweaksHisham Muhammad2024-03-132-18/+1
|
* tests: convert downgrade test to spec/quickHisham Muhammad2024-03-132-6/+46
|
* fix(windows): parse slashes correctly when reading rock_manifestHisham Muhammad2024-03-062-1/+48
|
* fix(windows): output native slashes on fs.findHisham Muhammad2024-03-062-6/+6
|
* tests: bump luasec depHisham Muhammad2024-03-061-1/+1
|
* tests(quick): more consistent processing of tmpdirHisham Muhammad2024-03-065-36/+37
|
* fix: check permissions before trying to lockHisham Muhammad2024-03-051-24/+52
| | | | This should provide a better error message.
* tests: add tests for fs.execute_env using variables with spacesSewbacca2024-03-042-0/+61
| | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org>
* feat: better error message when lacking permissionsHisham Muhammad2024-02-291-7/+28
| | | | | | 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.