[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Updates and p2 Install wizard

Hi Susan,

On 05/21/2010 05:48 PM, Susan Franklin McCourt wrote:

Hi, Thomas,

The UI intentionally operates at the level of the "install roots."
So neither install or update would recognize "xyz" has having an update. There is no IU anywhere with an update descriptor for xyz.
If you want to manage updates to abc specifically, you can install it as a root. (ie, select it and install it using the UI).


Where do I select it? The only place I can see a bundle is in the "Installation Details" and it doesn't give me an option to install.


You'll get a message saying that it's already partially installed (or something like that) and it will mark it as a root.
At that point it is separately updatable.


Recall that p2 prior to 3.6 used to give you those "free upgrades" to requirements every time you tried to provision. This was unpopular, unexpected, etc. (esp if you were trying to uninstall something and got a free upgrade to abc while doing so).

The conclusion was that the sane thing to do is to follow the transitive scope from the selected root and indeed install the updates found there. You really want those updates when you explicitly select the root that you want to update. More info about that:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=259537 (comments >= 35)

This approach was accepted and implemented in the planner in 3.6M6.

Regards,
Thomas Hallgren