On Tuesday, May 27, 2014 05:16:01 PM Tom N Harris wrote: > I just tried it but ran into what I think is a bug in make_manifest. When > reading the "rock_manifest" that corresponds to a rockspec, it looks in the > configured paths which may not be the tree that was passed as the argument.
Okay, looks like I was able to build a manifest for my system packages using this config: rocks_trees = { [[/home/tnharris]], { root = [[/usr]], bin_dir = [[/usr/bin]], lua_dir = [[/usr/share/lua/5.1]], lib_dir = [[/usr/lib/x86_64-linux-gnu/lua/5.1]], rocks_dir = [[/usr/share/luarocks/rocks-5.1]] }, [[/usr/local]], } I still had to manually download rockspecs and create a rock_manifest but that could be automated by the system. I didn't see the rock_manifest documented, is it a stable format? I suppose the only thing LuaRocks could do to help is being able to put a read-only flag on the tree. That and fixing the tree argument in make_manifest. -- tom <tellia...@whoopdedo.org> ------------------------------------------------------------------------------ Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers