On Tue, Oct 5, 2010 at 3:55 AM, steve donovan <[email protected]> wrote: > Hi all, > > It would be convenient to install multiple packages with one install > invocation. It helps when there are a lot of latencies involved in > grabbing the manifest etc - the same reason why apt-get and its > friends support this - it means that a person can go get a cup of > their preferred beverage while the system does its thing.
You mean like, say, "luarocks install luasocket lpeg lposix"? First, there's the issue to how to interpret arguments (the third argument is, by default, the version number). Myself, I would just use 'for' or 'xargs' in the shell, but I can see the convenience of having something like this... > Another feature that could be very useful is an error log file which > is generated by install. Otherwise people have to capture a lot of > output from their terminals which is awkward; they can then easily > submit the contents of the error log when reporting a problem. LuaRocks invokes a lot of external commands. Grabbing all their outputs can be tricky and would end up complicating things and requiring extra dependencies, no? If the error is reproducible, one can just do "luarocks xxx &> error.log" anyway. > Of course, perhaps a more LuaRocks-y solution is to have meta-packages > which pull in a whole bunch of common packages as dependencies. This > could be used to deliver mini Lua distributions efficiently. That's what I would do if I wanted to implement that (or write a script that did the sequence of commands)... -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
