Hi all, I was discussing with Ignacio the problem of using direct Github tarball URLs as source.url in LR:
http://github.com/stevedonovan/Webrocks/tarball/v2.2 The downloader grabs the tarball fine, but gives it the name v2.2 (the name part of the URL) and does not know that it is a .tar.gz that needs to be expanded. (After all, source.url can point to a .lua or .c file directly) The location header from the response does give a file name with a .tar.gz extension, so one fix would be to propagate that information back to the clients of fs.download. It does seem like a special case, and I was wondering if there's any other way to resolve this, given that Github is increasingly used as a place to keep Lua projects. Maybe source.extension to override the usual logic? steve d. _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
