<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/install.bat, 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>Release 3.13.0</title>
<updated>2025-12-28T23:05:59+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2025-12-28T23:01:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=31032c434b01c853e94ef21b8d9979436fbf81bc'/>
<id>urn:sha1:31032c434b01c853e94ef21b8d9979436fbf81bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support Lua 5.5 in install.bat and win32 fs module</title>
<updated>2025-12-26T10:11:24+00:00</updated>
<author>
<name>Pierre Chapuis</name>
<email>git@catwell.info</email>
</author>
<published>2025-12-24T13:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=d9e6c13f50d7cc8e76fb74643f135ab82c3aa9ba'/>
<id>urn:sha1:d9e6c13f50d7cc8e76fb74643f135ab82c3aa9ba</id>
<content type='text'>
Co-authored-by: luau-project &lt;luau.project@gmail.com&gt;
</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>Release 3.12.0</title>
<updated>2025-06-05T21:31:45+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2025-06-05T21:28:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=277b15c1167304c7aa308146d4d48e173e08dba4'/>
<id>urn:sha1:277b15c1167304c7aa308146d4d48e173e08dba4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add lua-compat53 files in install.bat</title>
<updated>2025-02-24T23:11:55+00:00</updated>
<author>
<name>Tobiasz Laskowski</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2025-02-24T21:56:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=20944c76ff1c50f1a8af1e6df90c90cd08756ae6'/>
<id>urn:sha1:20944c76ff1c50f1a8af1e6df90c90cd08756ae6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix make check for msys2 mingw system (#1745)</title>
<updated>2025-02-21T17:21:53+00:00</updated>
<author>
<name>tobil4sk</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2025-02-21T17:21:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=161eecbd34036137d9528bab487d2cfa0668bb4c'/>
<id>urn:sha1:161eecbd34036137d9528bab487d2cfa0668bb4c</id>
<content type='text'>
On an msys2 install of mingw, make is installed as `mingw32-make`.

If `cmake` is installed, that takes priority over `mingw32-make` when
matching the pattern `*make*.exe`.

This patch changes the pattern to be `*-make*.exe` instead to avoid this
bug.</content>
</entry>
<entry>
<title>Fix LUA_LIBDIR for msvc installations (#1744)</title>
<updated>2025-02-21T16:47:29+00:00</updated>
<author>
<name>tobil4sk</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2025-02-21T16:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=f87af07f1bec82a312c3c82e92627c41db9b9bc9'/>
<id>urn:sha1:f87af07f1bec82a312c3c82e92627c41db9b9bc9</id>
<content type='text'>
The order here was swapped in #1701 to fix mingw builds (see #1700), but this broke MSVC installations which need to link against the .lib, which defines the dll imports.
</content>
</entry>
<entry>
<title>Prioritise bin over lib for LUA_LIBDIR on windows (#1701)</title>
<updated>2024-08-01T19:20:44+00:00</updated>
<author>
<name>tobil4sk</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2024-08-01T19:20:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=3a142ce627a0f6af61c27643d6d19096395160a1'/>
<id>urn:sha1:3a142ce627a0f6af61c27643d6d19096395160a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>install.bat: always set LUA_DIR if Lua install is found</title>
<updated>2024-05-13T22:22:15+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-05-13T22:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=86667c1ca3b5248404c2a150f7ed1ce93f545cf2'/>
<id>urn:sha1:86667c1ca3b5248404c2a150f7ed1ce93f545cf2</id>
<content type='text'>
Closes #1671.
</content>
</entry>
</feed>
