On Sun, Jan 16, 2011 at 12:39 PM, Alexander Gladysh <[email protected]> wrote: > On Sat, Jan 15, 2011 at 21:57, Brian Maher <[email protected]> wrote: >> Thanks for the tip Alexander, I went ahead and posted a rockspec with >> a git:// URL here: > >> Of course, the only downfall is that anyone behind a firewall will >> have trouble fetching it :-/. > > Note that, as I understand it, rocks are re-packed when added to the > repository, and the urls in rockspecs are fixed accordingly.
The URLs in rockspecs are not edited. What I do is to run "luarocks pack" on the rockspec, which generates a .src.rock file, which means the source code is packed along with the rockspec and stored in the LuaRocks repository. > So, it is important that Hisham is able to download the files. After > that all should be good. Yes, the net effect is that even if the source is unreachable after that, users can still get the source code. Ideally, of course, URLs in published rockspecs should remain valid. :) -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
