Closed Etiene closed 8 years ago
@hishamhm help? :)
On a fresh installation of Lua 5.2 and Luarocks 2.4.1 in directory t
after installing sailor 0.5-3:
t/share/lua/5.2/sailor/blank-app/
contains .htaccess
.["sailor/blank-app/.htaccess"] = "sailor/blank-app/.htaccess"
.sailor["blank-app"][".htaccess"] = "a5bb108e6579e61043b2602923f0aea3"
.Installing sailor 0.5-4 prints Warning: /home/mpeterv/sailor/t/share/lua/5.2/sailor/blank-app/.htaccess is not tracked by this installation of LuaRocks. Moving it to /home/mpeterv/sailor/t/share/lua/5.2/sailor/blank-app/.htaccess~
plus similar errors for other files mentioned in the rockspec in install.lua
table.
After installing sailor 0.5-4:
t/share/lua/5.2/sailor/blank-app/
contains .htaccess~
but not .htaccess
.install.lua
are actually installed anywhere.Looks like a bug in Luarocks =(
@mpeterv Thank you for hunting it down! I'm wondering how could we write a test to catch that and avoid a regression.
@mpeterv oh, this is awesome! I'll consider this fixed then. Will be ok on future luarocks versions :)
When installing sailor if you have sailor already installed, some files inside the
src/sailor/blank-app
will be duplicated because LuaRocks does not remove them previously to installing a new version of sailor. Example:How to reproduce: Go to
/rockspecs/
thenluarocks install <rockspec file name>
with two different versions of sailor