<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks, branch v3.7.0</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=v3.7.0</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=v3.7.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2021-04-13T21:53:35+00:00</updated>
<entry>
<title>Release 3.7.0</title>
<updated>2021-04-13T21:53:35+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-04-13T21:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=0c5934213e36b4f1348d199c65f84d8644413adc'/>
<id>urn:sha1:0c5934213e36b4f1348d199c65f84d8644413adc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use mirrors when downloading rocks even if manifest succeeds</title>
<updated>2021-04-13T21:51:26+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-04-13T19:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=ff58301bd9755f8e86e35dbc16d925b1fc65105a'/>
<id>urn:sha1:ff58301bd9755f8e86e35dbc16d925b1fc65105a</id>
<content type='text'>
LuaRocks generally only checked whether to use a mirror in the first
operation, when it fetches the manifest. If the manifest fails to load, it
switches to the mirror and everything works from there. But if the manifest
fetches ok and the then actual rock download fails with a 504, it gives up,
instead of trying that in a mirror as well. Changing that to make it retry
every download on a mirror when the base URL matches one configured in
cfg.rocks_servers should make it much more resilient.

Fixes #1299.
</content>
</entry>
<entry>
<title>fix: don't propagate invalid exitcode in download errors</title>
<updated>2021-04-13T21:51:26+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-04-13T19:01:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=a07bc4c9e0be86b4edee78b9a7ef924eb9e2faaf'/>
<id>urn:sha1:a07bc4c9e0be86b4edee78b9a7ef924eb9e2faaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use skip_set terminology + code cleanups</title>
<updated>2021-04-13T21:51:26+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-04-13T19:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=2940d60e6e2802daad658c5b5c0f28c949a20fb3'/>
<id>urn:sha1:2940d60e6e2802daad658c5b5c0f28c949a20fb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs.win32: Do not revoke permission from the current user (#1256)</title>
<updated>2021-04-08T20:57:15+00:00</updated>
<author>
<name>Alexey Melnichuk</name>
<email>alexeymelnichuck@gmail.com</email>
</author>
<published>2021-04-08T20:57:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=694c437b00e300c138382ab8679723d7f10e68e8'/>
<id>urn:sha1:694c437b00e300c138382ab8679723d7f10e68e8</id>
<content type='text'>
* Fix. Do not revoke permission from the current user

* Do not quote FS commands

* hotfix: remove stray character

Co-authored-by: Hisham Muhammad &lt;hisham@gobolinux.org&gt;</content>
</entry>
<entry>
<title>tests: add basic test for XDG_CONFIG_HOME</title>
<updated>2021-04-06T20:47:09+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2021-04-06T20:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=81b28e34e02c3464dc2357bf3b6958f82d3ae823'/>
<id>urn:sha1:81b28e34e02c3464dc2357bf3b6958f82d3ae823</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add function fs.is_superuser()</title>
<updated>2021-04-06T20:24:57+00:00</updated>
<author>
<name>Carl Smedstad</name>
<email>carl.smedstad@protonmail.com</email>
</author>
<published>2021-04-05T18:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=09ed8630f74333eff0bb04ed1dd392fead048347'/>
<id>urn:sha1:09ed8630f74333eff0bb04ed1dd392fead048347</id>
<content type='text'>
For environments other than UNIX, this will return false.

Suggested by @hishamhm.
</content>
</entry>
<entry>
<title>Support XDG_CONFIG_HOME</title>
<updated>2021-04-06T20:24:57+00:00</updated>
<author>
<name>Carl Smedstad</name>
<email>carl.smedstad@protonmail.com</email>
</author>
<published>2021-04-05T14:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=2360071b5a723b02ec80251b569dd3c5e2f9feaa'/>
<id>urn:sha1:2360071b5a723b02ec80251b569dd3c5e2f9feaa</id>
<content type='text'>
The loading of the config file has been changed to support the XDG
Base Directory specification. More info here:

  https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

If in a UNIX environment, LuaRocks will try loading a config file in
XDG_CONFIG_HOME. If this fails, try loading one in the old location
~/.luarocks.

This method clashed a bit with the old code that separated the setting
of confdirs and the loading of the config files. As we now change
cfg.homeconfdir depending on where we find the config file I found it
necessary to remove the function set_confdirs() and move some pieces
into the config loading logic.
</content>
</entry>
<entry>
<title>Respect the environment variable XDG_CACHE_HOME</title>
<updated>2021-04-06T20:24:57+00:00</updated>
<author>
<name>Carl Smedstad</name>
<email>carl.smedstad@protonmail.com</email>
</author>
<published>2021-04-04T23:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=cc0b526646600a94d09e48c4a2f5b3da092b831e'/>
<id>urn:sha1:cc0b526646600a94d09e48c4a2f5b3da092b831e</id>
<content type='text'>
This is needed in order to follow the XDG Base Directory specification.
More info here:

  https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
</content>
</entry>
<entry>
<title>Simplify the code in set_confdirs</title>
<updated>2021-04-06T20:24:57+00:00</updated>
<author>
<name>Carl Smedstad</name>
<email>carl.smedstad@protonmail.com</email>
</author>
<published>2021-04-04T23:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=2f63c2b0c9584aced8578bdb8723eef3e0a4157c'/>
<id>urn:sha1:2f63c2b0c9584aced8578bdb8723eef3e0a4157c</id>
<content type='text'>
</content>
</entry>
</feed>
