aboutsummaryrefslogtreecommitdiff
path: root/spec/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve flexibility around vendored librariesmaintobil4sk5 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
* tests: fix typo from Appveyor removalHisham Muhammad2025-03-091-1/+1
|
* ci: remove AppveyorHisham Muhammad2025-03-091-11/+2
|
* ci(windows): support MinGW-w64 UCRT64 on test_envluau-project2025-03-091-1/+49
|
* ci(windows): bump luasocket versionluau-project2025-03-091-1/+1
|
* tests: use compat53Hisham Muhammad2024-10-212-0/+5
|
* 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
|
* tests(quick): fix NOT_STDERR test refactoring output checksHisham Muhammad2024-04-051-46/+23
|
* tests: convert some install testsHisham Muhammad2024-03-131-1/+1
|
* tests: convert most pack testsHisham Muhammad2024-03-131-0/+2
|
* tests: rockspec use cleanupsHisham Muhammad2024-03-131-3/+0
|
* fix(windows): parse slashes correctly when reading rock_manifestHisham Muhammad2024-03-061-1/+1
|
* tests: bump luasec depHisham Muhammad2024-03-061-1/+1
|
* tests(quick): more consistent processing of tmpdirHisham Muhammad2024-03-061-24/+25
|
* tests: add tests for fs.execute_env using variables with spacesSewbacca2024-03-041-0/+10
| | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org>
* tests: speed up and simplifyHisham Muhammad2024-02-292-62/+71
|
* feat: more informative reports no bad LUA_{INC,LIB}DIR configsHisham Muhammad2024-02-292-8/+11
|
* 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.
* tests: reorganize and speed up unit testsHisham Muhammad2024-02-271-52/+65
|
* tests(fetch): do not use restserverHisham Muhammad2024-02-272-1/+16
|
* tests: enable coverage on quick testsHisham Muhammad2024-02-261-2/+3
|
* tests: replace some more tests with quick testsHisham Muhammad2024-02-261-12/+33
|
* fix: better normalization for paths and slashesHisham Muhammad2024-02-232-207/+297
| | | | Fixes #1195.
* tests: introduce quick testsHisham Muhammad2024-02-232-1/+399
|
* drop cfg.lua_interpreter, use cfg.variables.LUAHisham Muhammad2024-02-181-38/+58
|
* tests: auto-find interpreter at /usr/bin/lua (#1544)Hisham Muhammad2023-10-311-16/+33
|
* tests: run quiet curl in mock API callsHisham Muhammad2022-08-261-1/+1
|
* tests: run full tests with LuaSecHisham Muhammad2022-08-262-5/+9
|
* tests: accept full path in -Xhelper lua_interpreterHisham Muhammad2022-06-061-9/+14
|
* tests: run tests on Lua 5.4 and LuaJIT 2.1Hisham Muhammad2022-04-162-6/+7
|
* tests: avoid repeated hardcoded package version numbers all overHisham Muhammad2022-04-122-24/+121
|
* tests: remove Travis CI, add Github ActionsHisham Muhammad2022-02-171-6/+6
|
* tests: wait longer for mock server to startHisham Muhammad2022-02-171-13/+25
|
* tests: bump luacov to 0.15.0Hisham Muhammad2021-07-221-2/+2
|
* editorconfig: trim trailing whitespaceHisham Muhammad2021-03-162-15/+15
|
* fs: always check for failure of fs.which_tool (#1157)Hisham Muhammad2020-02-201-1/+5
|
* tests: drop LuaSec dependency on tests, use fixtures insteadHisham Muhammad2020-01-251-17/+25
|
* build: fix --branch flagHisham Muhammad2019-09-031-0/+1
| | | | | | | | | | | | The `--branch` flag is optional and takes a string argument. The `--branch` flag does not make sense for `luarocks make` because it does not fetch sources, it builds/installs based on whatever is in the current directory. This also adds tests that verify the behavior, but these don't run in Travis CI because of issues running a Git daemon there. They were verified locally.
* Enable use of lua-bz2Hisham Muhammad2019-06-061-1/+3
| | | | Fixes #1005.
* update to luacov 0.13.1 + cluacov 0.1.1Hisham Muhammad2019-04-031-2/+5
|
* Add --sign option to `luarocks pack`Hisham Muhammad2019-04-011-0/+2
| | | | | | | | * Introduce a new module, `luarocks.signing` * Add `--sign` option to `luarocks pack`, which produces a detached GPG signature * Includes a basic test, along with some fixtures with a password-less GPG key
* core.sysdetect: add fork-free OS detection (#938)Hisham Muhammad2018-10-301-2/+2
| | | | | Detect operating system and architecture without forking subprocesses, doing `file`-like detection reading data from well-known system executables.
* Tests: add regression test for luarocks.loader startupHisham Muhammad2018-09-111-1/+5
|
* Tests: add test_env.run_in_tmp utility functionGeorge Roman2018-07-241-0/+19
|
* Tests: tweak dependencies for env=full testsHisham Muhammad2018-07-181-11/+10
|
* Tests: support running with the default detected OpenSSL locationsHisham Muhammad2018-07-181-2/+5
|
* Tests: separate OPENSSL_DIRS into OPENSSL_INCDIR and OPENSSL_LIBDIRGeorge Roman2018-07-051-3/+15
|
* Tests: improve isolation of testsHisham Muhammad2018-07-011-0/+1
|