On 8 January 2014 13:56, Philipp Janda <siffie...@gmx.net> wrote: > Am 08.01.2014 16:30 schröbte Wouter Scherphof: >> this helped, thanks! >> should I report it as a bug somewhere? > > You can open a ticket here[1], but Hisham usually also reads this > mailing list ... > > Philipp > > [1]: https://github.com/keplerproject/luarocks/issues
Please do open a ticket, it helps keeping track of pending bugs. >> 2014/1/8 Philipp Janda <siffie...@gmx.net> >>> `~/.cache/luarocks/http___www.luarocks.org_repositories_rocks/manifest-5.2`. >>> Mine was from 2013/10/28 and didn't list the newer set rockspecs. After >>> renaming `manifest-5.2` an up-to-date version is unpacked and used, and >>> the new rockspecs show up in a search. The zip files and timestamp files >>> are recent, though. >>> Maybe the problem is that UNZIP is set to `unzip -n` which never >>> overwrites existing files (changing `-n` to `-o` fixes the problem, but >>> as the man page says: `-o` is a dangerous option ...). We should >>> probably just remove the extracted manifest before trying to unpack the >>> zip file. Thanks for the hint! Trouble is, we do delete the file before attempting to unzip! From manif.lua: if pathname:match(".*%.zip$") then local dir = dir.dir_name(pathname) fs.change_dir(dir) local nozip = pathname:match("(.*)%.zip$") fs.delete(nozip) fs.unzip(pathname) fs.pop_dir() pathname = nozip end I'm unable to reproduce the bug now... maybe it happened in an earlier release and your zip and timestamp files got out of sync? I'm adding an extra check to test the result of the unzip operation, just in case. -- Hisham ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers