|Re: [p2-dev] Unexpected resolution failure|
On 2011-10-13, at 11:24 AM, Todorova, Katya wrote:
Changing the behaviour of "-installIU abc" is a breaking change for ppl using the tool.
I think it would be best to introduce a fake version number at the end like "bestMatch"("-installIU abc/bestMatch") or something in that flavor so it is explicit.
Note that, the I feel lucky code I sent can not be used as-is since it loosen all the roots which is not the desired behaviour all the time. For example I can say "installIU abc/1.0.0 def ghj/bestMatch"
The code for I feel lucky is something that I wrote last year to deal with automatic updates. It could also be integrated behind a new flag, but this is a separate discussion.