On Thu, Oct 21, 2010 at 6:14 AM, steve donovan <[email protected]> wrote: > On Thu, Oct 21, 2010 at 10:06 AM, Peter Odding <[email protected]> wrote: >> rockspec format, maybe it would be a good idea to offer a fall back >> mechanism for source = { url = '...' } downloads so that if the primary >> source doesn't work LuaRocks can fall back to a secondary source? > > Now I'm still a bit confused, but stuff going onto the main repo > usually gets packaged as a rock: > > http://www.luarocks.org/en/Types_of_rocks > > So that is a snapshot of the source at the point of uploading to the > repo? Fabio or Hisham, like to comment? >
Yep, we always package and upload either an .src.rock (for libraries that have C modules or binaries) or a .lua.rock (for pure Lua libraries) that does not need to hit the original URL, along with the original rockspec. So you only need luarocks.org to be up to install any rock from there. -- Fabio Mascarenhas _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
