Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] P2 and feature dependencies

To be really clear here. When you say: "if you rely on plug-in dependencies alone users can end up with partial updates."
I assume you meant to say "the user will only get what you specified and its closure, but not see any runtime problem".

FWIW, I have been installing *only* the Mylyn Bugzilla integration feature from the Ganymede update site and it worked fine, so I'm not sure if the problem you are referring to is only one about missing doc?


Inactive hide details for "Mik Kersten" ---06/09/2008 11:51:50 AM---Following up the brief feature discussion on the call, here"Mik Kersten" ---06/09/2008 11:51:50 AM---Following up the brief feature discussion on the call, here's the pointer to David William's bug:


From:

"Mik Kersten" <mik@xxxxxxxxxxx>

To:

"'Cross project issues'" <cross-project-issues-dev@xxxxxxxxxxx>

Date:

06/09/2008 11:51 AM

Subject:

[cross-project-issues-dev] P2 and feature dependencies




Following up the brief feature discussion on the call, here's the pointer to
David William's bug:

 231453: P2 doesn't install all features, compared to UpdateManager
 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=231453

Unless I've missed something this is what it boils down to:

* Update Manger would scan a feature's plug-in dependencies before allowing
that feature to be installed.  As such, a user could not install plug-ins
from a feature that would not load due to missing dependencies.

* In P2 this no longer happens when the user is selecting features, meaning
that if you rely on plug-in dependencies alone users can end up with partial
updates.  In earlier RCs we saw this happen with people trying to install
Mylyn 3.0 and ending up with only some of the required features installed.
This is because a while back we purposely removed all feature dependencies
to avoid a bug in the Update Manager (see bug 132450).  

* Specifying dependencies at the feature level appears to address the
problem.  For each feature we now specify all the features that it requires
in addition to specifying the plug-in dependencies.  We only made the change
mid last week and are still testing.  

One thing we haven't had a chance to test yet is the automatic updates.
There were serious problems with them in Eclipse 3.2, so it's worth checking
if dependencies install correctly.  We'll set up a test update site for
this, but if anyone has any experience testing automatic updates work with
their project and P2 please post.

Mik

P.S. Thanks David for identifying this!  All of your work and input on
orbit, build and install has been a big help.

--
Mik Kersten
President & CTO,
http://tasktop.com 
Project Lead,
http://eclipse.org/mylyn


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


GIF image

GIF image


Back to the top