[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] ProvisioningContext

Some historical context...
When we added the scoping of repos, we figured it was better to do so with a class (ProvisioningContext) in which we could define other contextual parameters in the future, rather than hard code a URL [] argument all over the place.

Another place this might be used in the future is in the UI. If we decide to let users define update sites for individual IU's, then the UI could build a ProvisioningContext with selective repos for certain operations before falling back to check all repos...

susan
Inactive hide details for Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx>Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx>




          Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          10/07/2008 01:01 PM
          Please respond to P2 developer discussions



To: slewis@xxxxxxxxx, P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc: P2 developer discussions <p2-dev@xxxxxxxxxxx>, p2-dev-bounces@xxxxxxxxxxx
Subject: Re: [p2-dev] ProvisioningContext


The provisioning context is among other things used to control the set of repositories that are being used during an operation (for example it is used by the ProfileSynchronizer to only contact the local repos when doing the initila reconciliation). When the context is not set all repos are being considered. This concept of context supposes that everyone participates properly into it and do the same behavior.

Inactive hide details for From:From:

From:

Scott Lewis <slewis@xxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

07/10/2008 03:44 PM

Subject:

[p2-dev] ProvisioningContext




In several parts of the p2 APIs there is use of a ProvisioningContext
(e.g. in IDirector, etc).  In looking at a fair amount of actual and p2
test code in many cases this ProvisioningContext is set to null in the
usage of the API.     The javadocs frequently say "The provisioning
context used for finding resources".

What is the intended usage/purpose of ProvisioningContext?  Is it
required under any circumstances?  If so, which?

Thanks for info,

Scott


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev

GIF image

GIF image

GIF image