aboutsummaryrefslogtreecommitdiff
path: root/spec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve flexibility around vendored librariesmaintobil4sk6 days1-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.
* tests: mark a couple of problematic tests as pendingHisham Muhammad2024-02-291-2/+2
|
* tests: speed up and simplifyHisham Muhammad2024-02-2923-280/+491
|
* tests: disable luacov runner tickHisham Muhammad2024-02-2912-36/+23
|
* feat: more informative reports no bad LUA_{INC,LIB}DIR configsHisham Muhammad2024-02-295-19/+132
|
* do not check coverage or luacheck for vendored modulesHisham Muhammad2024-02-291-0/+3
| | | | | These are treated as dependencies, and are managed and tested by upstream.
* feat(build,install): only rebuild and reinstall when using --forceHisham Muhammad2024-02-292-0/+82
|
* tests: reorganize and speed up unit testsHisham Muhammad2024-02-2746-736/+743
|
* fix(fs): make current_dir always return 1 arg onlyHisham Muhammad2024-02-279-0/+0
|
* tests(fetch): do not use restserverHisham Muhammad2024-02-274-282/+309
|
* tests(build): split unit and integration filesHisham Muhammad2024-02-272-352/+369
| | | | use restserver only in integration part
* tests: enable coverage on quick testsHisham Muhammad2024-02-261-2/+3
|
* tests: replace some more tests with quick testsHisham Muhammad2024-02-263-84/+287
|
* fix: better normalization for paths and slashesHisham Muhammad2024-02-2311-292/+367
| | | | Fixes #1195.
* tests: introduce quick testsHisham Muhammad2024-02-2311-62/+694
|
* fix: handle error if test.command is not a string.Hisham Muhammad2024-02-211-0/+51
| | | | Fixes #1055.
* improve and simplify Lua interpreter searchHisham Muhammad2024-02-201-1/+1
| | | | | | | * 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)