<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/spec, 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-04-06T19:39:41+00:00</updated>
<entry>
<title>tests: add test case for #1874</title>
<updated>2026-04-06T19:39:41+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2026-04-06T19:36:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=84736dd2b35c762188b9220ec71d21f5ad346212'/>
<id>urn:sha1:84736dd2b35c762188b9220ec71d21f5ad346212</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: check if table entry is nil or not (#1867)</title>
<updated>2026-03-17T17:33:03+00:00</updated>
<author>
<name>Bruno Thiago</name>
<email>45828157+brunotvs@users.noreply.github.com</email>
</author>
<published>2026-03-17T17:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=6b0a7f7f8770f5d21730a5f2fa8fcbc695687c43'/>
<id>urn:sha1:6b0a7f7f8770f5d21730a5f2fa8fcbc695687c43</id>
<content type='text'>
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.</content>
</entry>
<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>support Lua 5.5</title>
<updated>2025-12-26T10:06:49+00:00</updated>
<author>
<name>Pierre Chapuis</name>
<email>git@catwell.info</email>
</author>
<published>2025-12-01T21:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=291fc8a34fc186b011c9d6b09a80bf179cae6f62'/>
<id>urn:sha1:291fc8a34fc186b011c9d6b09a80bf179cae6f62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add build vars. for rockspecs with the dir. of its deps.</title>
<updated>2025-05-19T14:30:51+00:00</updated>
<author>
<name>Renato Maia</name>
<email>maia.renato@gmail.com</email>
</author>
<published>2025-04-27T20:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=3b7bf479568790a8b04772a36c1b3e712fed4579'/>
<id>urn:sha1:3b7bf479568790a8b04772a36c1b3e712fed4579</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>feat: add LUA_VERSION build variable for rockspecs</title>
<updated>2025-05-19T14:30:51+00:00</updated>
<author>
<name>Renato Maia</name>
<email>maia.renato@gmail.com</email>
</author>
<published>2025-04-21T14:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=4d7b546602b906f924ac91a01276cd3b2569ca9f'/>
<id>urn:sha1:4d7b546602b906f924ac91a01276cd3b2569ca9f</id>
<content type='text'>
</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>
</feed>
