[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Improving shared installations - questions
- From: Krzysztof Daniel <kdaniel@xxxxxxxxxx>
- Date: Fri, 28 Dec 2012 12:41:45 +0100
- Delivered-to: firstname.lastname@example.org
- Organization: Red Hat
On Tue, 2012-12-18 at 15:30 +0000, Pascal Rapicault wrote:
> I've pushed my changes to a branch named prapicau/sharedInstall-part1 in both the p2 and the equinox repo, respectively found at http://git.eclipse.org/c/equinox/rt.equinox.p2.git/log/?h=prapicau/sharedInstall-part1 and http://git.eclipse.org/c/equinox/rt.equinox.framework.git/log/?h=prapicau/sharedInstall-part1
I have looked at your changes - and I like them in general (I had pretty
similar patch in Fedora for quite some time).
If you look at
you'll find that OSGi is capable of ignoring user configuration (which
will be rewritten later). This is the first place where such a
calculation is made, and I believe it should be the only decisive
place. If nothing has changed, we use user configuration. If shared
configuration is newer than user one - use the shared one. Unfortunately
current implementation is weak - so I have opened 397216: [Shared]
Better shared configuration change discovery . We could also include
things like config.ini into calculations here.
Once we know that we dropped user configuration, we set up a property,
upon which P2 must react only once - drop user profile. We should be OK
at this point. I have not opened bugs for this point yet.
Then it is "only" the matter of discovering bundles that had been
 397216: [Shared] Better shared configuration change discovery