<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/spec/fetch_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-27T16:28:33+00:00</updated>
<entry>
<title>fix(fs): make current_dir always return 1 arg only</title>
<updated>2024-02-27T16:28:33+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-26T20:47:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=5cba4b83f60966045b86ac615df2692c953ebba7'/>
<id>urn:sha1:5cba4b83f60966045b86ac615df2692c953ebba7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests(fetch): do not use restserver</title>
<updated>2024-02-27T16:28:33+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2024-02-26T17:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=6bc6ede826843c3692971c14c27c3d27714b2126'/>
<id>urn:sha1:6bc6ede826843c3692971c14c27c3d27714b2126</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: don't use validate-args rockspec in tests</title>
<updated>2022-03-07T02:04:20+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2022-03-06T17:50:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=2fac17d4d211adf9c1fe9668094febb55ee92389'/>
<id>urn:sha1:2fac17d4d211adf9c1fe9668094febb55ee92389</id>
<content type='text'>
We only used the rockspec in testing, but since the app it refers
to is GPL-3, it could cause confusion among users, so let's just
drop it from the test suite.

Closes #1387.
</content>
</entry>
<entry>
<title>tests: wait longer for mock server to start</title>
<updated>2022-02-17T15:47:25+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2022-02-17T01:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=6c524b4a1b9fec2fe4abf03fa83b8d6624c23e26'/>
<id>urn:sha1:6c524b4a1b9fec2fe4abf03fa83b8d6624c23e26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: pack: rockspec with a bare file in the url</title>
<updated>2021-03-22T13:33:10+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-03-21T02:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=dcaca50d670b3f5654c109339b6f37c766558eb1'/>
<id>urn:sha1:dcaca50d670b3f5654c109339b6f37c766558eb1</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>tests: shorter descriptions</title>
<updated>2020-02-14T12:53:12+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2020-02-14T12:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=bd27d052eaf856bf24c77f556a50b7e19f11cba1'/>
<id>urn:sha1:bd27d052eaf856bf24c77f556a50b7e19f11cba1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tests: config: no need for special-casing Windows</title>
<updated>2018-07-02T00:32:39+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-06-26T11:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=5d34b03293d7bbdc3376fc04c02634eaca7f6df7'/>
<id>urn:sha1:5d34b03293d7bbdc3376fc04c02634eaca7f6df7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tests: minor cleanups</title>
<updated>2018-07-01T18:51:13+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-06-20T13:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=5de72a61610f451ca45b4f8eedd9b9539571dca5'/>
<id>urn:sha1:5de72a61610f451ca45b4f8eedd9b9539571dca5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cfg, cmd: major reorganization</title>
<updated>2018-07-01T18:51:13+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-06-20T13:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=4c1c170b9d344b6c069c8e6df5798f6e0bd63966'/>
<id>urn:sha1:4c1c170b9d344b6c069c8e6df5798f6e0bd63966</id>
<content type='text'>
* `--lua-dir` flag, specifying a prefix for the Lua installation to
  be used. This reconfigures LuaRocks entirely, including allowing
  a LuaRocks which is itself running using one Lua 5.x version to
  manage packages for a different Lua 5.y version. The resulting
  configuration can be checked with `luarocks config --lua-dir=&lt;path&gt;`.
* requiring `luarocks.core.cfg` no longer has side-effects
  * configuration now needs to be initialized with `cfg.init([lua_data])`,
    where `lua_data` is a table with the configuration of the VM:
    * `lua_version` - e.g. `"5.3"`
    * `luajit_version` - e.g. `"2.1.0-beta3"`
    * `lua_interpreter` - e.g. `"lua5.3"`
    * `lua_bindir` - e.g. `"/usr/local/bin"`
    * `lua_libdir` - e.g. `"/usr/local/lib"`
    * `lua_incdir` - e.g. `"/usr/local/include/lua-5.3"`
  * `cfg.init` can be called multiple times, reconfiguring the global state.
    This is important since `luarocks.loader` now calls it, and the `--lua-dir`
    command line can override the configuration and reconfigure LuaRocks.
* `site_config_*` is no more: LuaRocks is no longer dependent on a properly-written
  site_config file. Instead, it can *optionally* use `luarocks.core.hardcoded`
  for hardcoded values, or detect its configuration at runtime, based on
  OS detection, arg[-1] or command-line flags.
* reduction of moving parts in the configuration:
  * `cfg.platforms` is no longer a globally-visible table; instead, `cfg`
    provides an API of read-only functions: `is_platform`, `each_platform`,
    `print_platforms`.
  * `cfg.*_proxy` options are no longer configured via the config files,
    but rather via the standard `*_proxy` environment variables.
* `"windows"` is now the more general platform name of the Windows family.
  This is technically a breaking change but I don't expect it to cause
  problems with real-world rockspecs.
* internal code reorganization in `luarocks.cmd` module
</content>
</entry>
</feed>
