On 17 July 2013 16:33, Tomas Guisasola Gorham <to...@tecgraf.puc-rio.br> wrote:
>         Hi Hisham
>
>
>>> I'm testing the luarocks-2.1.0-rc2 version, I was wondering if there is
>>> any
>>> way to disable this feature? Like a flag, so I could try beta version of
>>> a
>>> rock without having to reinstall the previous version if something went
>>> wrong.
>>> I tried to find documentation about it, but I couldn't.
>>
>>
>> There's --keep for disabling the feature from the command line and
>> keep_other_versions=true for the configuration file. I put the
>> information in the help output for `luarocks build --help` but forgot
>> to do the same for `luarocks install --help` and `luarocks make
>> --help`! Thanks for the heads up!
>
>         It would be difficult to add an option to 'luarocks purge'
> (--only_old_versions or something like that) that would remove all
> installed versions of rocks except the newest of each one?

It wasn't difficult, now that I have a remove_old_versions function. :)
I just pushed an implementation for that.

I also committed a bugfix because --keep was not being honored when
launching a compilation using "luarocks install" (ie, when internally
forwarding the action from "luarocks install" to "luarocks build").
Another rc will soon be out!

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to