<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/spec/cmd_spec.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>2024-02-29T15:31:46+00:00</updated>
<entry>
<title>feat: more informative reports no bad LUA_{INC,LIB}DIR configs</title>
<updated>2024-02-29T15:31:46+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-28T14:49:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=3f0f3028321154cbacecd6690833d0e8c805ccd8'/>
<id>urn:sha1:3f0f3028321154cbacecd6690833d0e8c805ccd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: reorganize and speed up unit tests</title>
<updated>2024-02-27T16:28:33+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-26T21:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=03e401231972d7b4db0145a71ce74d5d18d1a901'/>
<id>urn:sha1:03e401231972d7b4db0145a71ce74d5d18d1a901</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve and simplify Lua interpreter search</title>
<updated>2024-02-20T06:51:08+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-19T21:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=faa7c7560645fde443ad022214c0bb1fbea6953f'/>
<id>urn:sha1:faa7c7560645fde443ad022214c0bb1fbea6953f</id>
<content type='text'>
* 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)
</content>
</entry>
<entry>
<title>Fix crash when --lua-version is malformed</title>
<updated>2022-02-08T19:26:03+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2022-02-08T19:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=99b1ba350d3c933322db541f86ee7a5f70995e30'/>
<id>urn:sha1:99b1ba350d3c933322db541f86ee7a5f70995e30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>editorconfig: trim trailing whitespace</title>
<updated>2021-03-16T19:32:45+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-03-16T16:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f'/>
<id>urn:sha1:8f3ce333e7a1abfc6bf0488817d9eff4a2fd443f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Print more info about the location of Lua</title>
<updated>2020-04-22T20:10:21+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2020-04-17T21:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=d1a32ba6b1fd5a829aa551aeb37a0c558b09660f'/>
<id>urn:sha1:d1a32ba6b1fd5a829aa551aeb37a0c558b09660f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle quoting at the application level (#1181)</title>
<updated>2020-04-16T16:45:50+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2020-04-16T16:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=af03c342789dce9799af2f41fda42f7d36467b85'/>
<id>urn:sha1:af03c342789dce9799af2f41fda42f7d36467b85</id>
<content type='text'>
This is done to support Windows. Unix handles quoting at the shell level.

While quotes are technically valid as part of Unix names, I don't expect this pathological case to be something we need to support.

Closes #1173.</content>
</entry>
<entry>
<title>cmd: fallback to actual PATH search</title>
<updated>2020-01-15T01:48:08+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2020-01-14T21:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=74960d73342da4408aa59373cc3dcd898c7d1eb1'/>
<id>urn:sha1:74960d73342da4408aa59373cc3dcd898c7d1eb1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix and reorganize Lua version detection</title>
<updated>2019-06-03T21:48:42+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2019-06-03T18:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=daf7e7e5f5ede8c3a5a00e2edaf8246209712781'/>
<id>urn:sha1:daf7e7e5f5ede8c3a5a00e2edaf8246209712781</id>
<content type='text'>
Make it more robust when detecting the Lua version when working inside a
project, and hopefully make the detection logic easier to track in the
code. Reorganized code so that the `detected` table becomes internal
to the `init_config` operation and only the regular `cfg` global table
is used after that.

Includes regression tests.
</content>
</entry>
<entry>
<title>cmd: fix crash if LuaRocks is given a bad LUA_DIR</title>
<updated>2019-06-03T21:48:42+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2019-06-03T16:56:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=a61d362c5a78edfe7a0f6662747934f0a2124603'/>
<id>urn:sha1:a61d362c5a78edfe7a0f6662747934f0a2124603</id>
<content type='text'>
Includes a regression test.
</content>
</entry>
</feed>
