Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Coding against IVersionedID

Now that we have IVersionedID, and IUs extend this interface, there are some places where we can code against VersionedID as opposed to the IU.  I'm thinking in particular about LatestIUVersionQuery. This query can now just be LatestVersionQuery, and can be used to find the Latest Version of a "Thing"* in a List (*as long as the "thing" implements IVersionedID) [1].  I would like to make this change after the IBuild as it will help with some of the work we are doing in PDE [2], but I don't really want to break the M Build.  What do you think of Deprecating LatestIUVersionQuery and introducing LatestVersionQuery.  Then in our branch we can actually remove LatestIUVersionQuery.  This will give people an M Build to move (by M4 the LatestIUVersionQuery will be gone).

[1] 292727: [query] Latest IU Query can actually work on VersionedID's
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292727

[2] 291227: [target][p2] Provide a search tool which searches p2 repos and adds matching IUs to your target
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291227

cheers,
ian

--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource

Back to the top