<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks/src, branch v2.4.4</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=v2.4.4</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2018-03-13T00:08:59+00:00</updated>
<entry>
<title>Prepare for release 2.4.4</title>
<updated>2018-03-13T00:08:59+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2018-03-12T15:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=e98b4094490ce5c45dc727cf95e19cae879cc2a4'/>
<id>urn:sha1:e98b4094490ce5c45dc727cf95e19cae879cc2a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix .def generation on Windows. (#767)</title>
<updated>2018-03-13T00:06:58+00:00</updated>
<author>
<name>dwenegar</name>
<email>simone.livieri@gmail.com</email>
</author>
<published>2018-02-14T23:16:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=37a2c165d6e4c5097352dc71b11fb918ff1d5434'/>
<id>urn:sha1:37a2c165d6e4c5097352dc71b11fb918ff1d5434</id>
<content type='text'>
According to the Lua's manual:

&gt; Once it finds a C library, this searcher first uses a dynamic link facility to link the application with the library. Then it tries to find a C function inside the library to be used as the loader. The name of this C function is the string "luaopen_" concatenated with a copy of the module name where each dot is replaced by an underscore. Moreover, if the module name has a hyphen, its prefix up to (and including) the first hyphen is removed. For instance, if the module name is a.v1-b.c, the function name will be luaopen_b_c.</content>
</entry>
<entry>
<title>Differentiate "not found" and "fail" when deleting.</title>
<updated>2018-03-13T00:03:50+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-12-19T14:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=0409a52f478849fb47d1793ed5a85853460d863e'/>
<id>urn:sha1:0409a52f478849fb47d1793ed5a85853460d863e</id>
<content type='text'>
Do not halt a deletion process when trying to delete something
that was not found.
</content>
</entry>
<entry>
<title>Fix detection of directories on Windows</title>
<updated>2018-03-13T00:03:50+00:00</updated>
<author>
<name>Sebastian Thomschke</name>
<email>sebthom@users.noreply.github.com</email>
</author>
<published>2017-10-04T14:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=8ad159609280c1ef50e741ac44ccf5300f09b6bc'/>
<id>urn:sha1:8ad159609280c1ef50e741ac44ccf5300f09b6bc</id>
<content type='text'>
Function tools.delete performs a test to determine if a path is a file or a directory to select the appropriate delete command rmdir vs del.
The current test however results in rmdir being used on files too, which then results in a build abortion with error "The directory name is invalid.". 

E.g.
    if exist "c:\luarocks\share\lua\5.2\luasocket_3_0rc1_2-socket.lua\" ( echo "I am a folder" ) else ( echo "I am a file" )
wrongly prints "I am a folder" (tested on Windows 10)

Whereas 
    if exist "c:\luarocks\share\lua\5.2\luasocket_3_0rc1_2-socket.lua\*" ( echo "I am a folder" ) else ( echo "I am a file" )
correctly prints "I am a file" (tested on Windows 10)

This fixes #670

(Also see https://stackoverflow.com/a/1466528/1793220 )</content>
</entry>
<entry>
<title>read just one line when checking md5</title>
<updated>2018-03-13T00:03:50+00:00</updated>
<author>
<name>Michal Cichra</name>
<email>mikz@users.noreply.github.com</email>
</author>
<published>2017-09-26T08:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=3f60bec6a04eabfe1e86547f49708ea33b319849'/>
<id>urn:sha1:3f60bec6a04eabfe1e86547f49708ea33b319849</id>
<content type='text'>
in some cases reading the whole file fails (on macOS High Sierra, LuaJIT)
this is timing dependent and waiting between spawning and reading solves the issue as well</content>
</entry>
<entry>
<title>Prepare for release 2.4.3.</title>
<updated>2017-09-13T00:08:37+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-09-13T00:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=22a7b81946edfe3e25f914c9c672b6705153714d'/>
<id>urn:sha1:22a7b81946edfe3e25f914c9c672b6705153714d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve error checking in ownership check.</title>
<updated>2017-09-12T23:35:43+00:00</updated>
<author>
<name>Hisham</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-01-08T15:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=1eb598706f9000361f0059a303c3cf99be5a8ceb'/>
<id>urn:sha1:1eb598706f9000361f0059a303c3cf99be5a8ceb</id>
<content type='text'>
See #664.
</content>
</entry>
<entry>
<title>Oops! Fix warning message.</title>
<updated>2017-09-12T23:35:27+00:00</updated>
<author>
<name>Hisham</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-01-06T19:44:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=d0a9e68a4125c043a6ee6a4d92ac244f2feb7ccb'/>
<id>urn:sha1:d0a9e68a4125c043a6ee6a4d92ac244f2feb7ccb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check ownership of cache directory and emit a warning.</title>
<updated>2017-09-12T23:35:15+00:00</updated>
<author>
<name>Hisham</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-01-06T19:30:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=21cd04b1251866aed553cd535e2d129362f11aa2'/>
<id>urn:sha1:21cd04b1251866aed553cd535e2d129362f11aa2</id>
<content type='text'>
This prevents `sudo luarocks` to take over ownership of
the user's ~/.cache/luarocks directory.
</content>
</entry>
<entry>
<title>Add sanity check for lua.h</title>
<updated>2017-09-12T17:29:33+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2017-04-17T12:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=b9cc2c906c89a022a0b79515b27d6cce61517f2b'/>
<id>urn:sha1:b9cc2c906c89a022a0b79515b27d6cce61517f2b</id>
<content type='text'>
</content>
</entry>
</feed>
