On Sun, Oct 17, 2010 at 23:28, Hisham <[email protected]> wrote:
> On Sat, Oct 16, 2010 at 3:31 PM, Alexander Gladysh <[email protected]> wrote:

>> I want to deploy code on developer machines with LR. But I have a lot
>> of private rocks and compressing/uncompressing them on each update
>> takes noticeable time.

>> Also, even for production, I store and transfer my rocks with Git
>> (which does its own compression).

>> So, I want to turn off compression for my .rock files (or at least for
>> some of them).

>> Is this possible?

> I think this is too specific to make it into a standard feature, but

I disagree. The luarocks pack is a data compression tool. It is common
for data compression tools to allow user to configure compression
ratio.

But, again, you're the maintainer. :-)

> an easy hack for that is to change "zip -r" to "zip -0 -r" in
> luarocks/fs/unix/tools.lua -- and you'd only need to do that in the
> machines actually do the packing; unpacking would remain unmodified.

Patching the LR code on *some* of the machines is not an option for
me. Too hard to maintain.

Alexander.

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to