<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/spec/util/test_env.lua, branch test-pin</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=test-pin</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=test-pin'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2026-02-03T22:47:50+00:00</updated>
<entry>
<title>Improve flexibility around vendored libraries</title>
<updated>2026-02-03T22:47:50+00:00</updated>
<author>
<name>tobil4sk</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2026-02-03T22:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=47301d83aba58925e1b9594023621ebb27070cdb'/>
<id>urn:sha1:47301d83aba58925e1b9594023621ebb27070cdb</id>
<content type='text'>
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.</content>
</entry>
<entry>
<title>update handling of version-specific LUA_PATH / LUA_CPATH</title>
<updated>2025-12-26T10:06:49+00:00</updated>
<author>
<name>Pierre Chapuis</name>
<email>git@catwell.info</email>
</author>
<published>2025-12-24T09:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=8ae28df89b164dc1b27406d9421dd06fac2efa9a'/>
<id>urn:sha1:8ae28df89b164dc1b27406d9421dd06fac2efa9a</id>
<content type='text'>
Support Lua 5.4 and 5.5,
see https://github.com/luarocks/luarocks/pull/1832
</content>
</entry>
<entry>
<title>tests: fix typo from Appveyor removal</title>
<updated>2025-03-09T23:33:04+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2025-03-09T23:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=fbe3a033df16411c927f3c04c014fae9002b54bb'/>
<id>urn:sha1:fbe3a033df16411c927f3c04c014fae9002b54bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: remove Appveyor</title>
<updated>2025-03-09T23:24:33+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2025-03-09T23:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=094a0fde50e404535e28cae856772f9f346932ec'/>
<id>urn:sha1:094a0fde50e404535e28cae856772f9f346932ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci(windows): support MinGW-w64 UCRT64 on test_env</title>
<updated>2025-03-09T23:20:41+00:00</updated>
<author>
<name>luau-project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2025-03-08T01:00:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=ac2a322b59ff612a74bae144fc553b673f2345f6'/>
<id>urn:sha1:ac2a322b59ff612a74bae144fc553b673f2345f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: use compat53</title>
<updated>2024-10-21T16:30:51+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-08-28T03:35:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=362dd3a50d57b5403d778cdf92839b7f6c30e69e'/>
<id>urn:sha1:362dd3a50d57b5403d778cdf92839b7f6c30e69e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: setup openssl via brew with new paths</title>
<updated>2024-05-14T18:48:32+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-05-14T17:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=81c23bc4cb518b2892ed1ffd089e610a45013692'/>
<id>urn:sha1:81c23bc4cb518b2892ed1ffd089e610a45013692</id>
<content type='text'>
https://stackoverflow.com/questions/29651258/install-openssl-devel-on-mac
</content>
</entry>
<entry>
<title>tests: rockspec use cleanups</title>
<updated>2024-03-13T19:08:05+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-03-13T16:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=1829ba36d0764c3210766bd0bc878695282114aa'/>
<id>urn:sha1:1829ba36d0764c3210766bd0bc878695282114aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(windows): parse slashes correctly when reading rock_manifest</title>
<updated>2024-03-06T15:14:36+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-03-06T00:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=f50f9d58ef5fe86363e5223b2b55075f6c4c636c'/>
<id>urn:sha1:f50f9d58ef5fe86363e5223b2b55075f6c4c636c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: add tests for fs.execute_env using variables with spaces</title>
<updated>2024-03-04T21:52:09+00:00</updated>
<author>
<name>Sewbacca</name>
<email>sewbacca@kolabnow.com</email>
</author>
<published>2024-03-04T15:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=1f3e8794254d32d44c510e3868378b2f969b0ba6'/>
<id>urn:sha1:1f3e8794254d32d44c510e3868378b2f969b0ba6</id>
<content type='text'>
Co-Authored-By: Hisham Muhammad &lt;hisham@gobolinux.org&gt;
</content>
</entry>
</feed>
