Bug 264267 - Repo transformer doesn't do transitive closure of IUs
Summary: Repo transformer doesn't do transitive closure of IUs
Status: CLOSED DUPLICATE of bug 291284
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 17:30 EST by DJ Houghton CLA
Modified: 2009-10-07 14:34 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2009-02-09 17:30:52 EST
When you use the repository transformer (Repo2Runnable) application and you pass in a list of IUs to transform, it treats that list as complete. That is, you just can't pass a root and expect it to automatically get everything under it.

Pascal what are your thoughts on this? Are we going to run into the same problem as in the mirror app? (and why we don't do the transitive closure there yet either with the version ranges)
Comment 1 Pascal Rapicault CLA 2009-02-09 19:59:45 EST
You are correct this is more or less the same problem than the mirroring application.
Here are the set of problems that come to mind
- Platform dependencies. How are dependencies that are protected by filters considered? (e.g. Do I download all SWT fragments?)
- Resolve may ends up creating an "invalid" target because this operation would not take into account the dependencies of the system we are building.

We could do something more general and follow all the possibilities, but then we could process too much.

If we want to do something here, the easiest is to do the work equivalent to the sliver and include everything every dependency (in the case of SWT, we would dl all the fragments).
Comment 2 Jeff McAffer CLA 2009-02-10 13:21:17 EST
here we don't have to follow dependencies per se.  just the things listed in the features right?  This feels like the stuff we have to do in target provisioning (perhaps there is some reuse opportunity there).  Not we are also looking at adding some similar (transitive walking) function in publisher for figuring out versions for the things in features (given a feature in a product, find all the versions it implies).
Comment 3 Pascal Rapicault CLA 2009-10-07 14:34:40 EDT

*** This bug has been marked as a duplicate of bug 291284 ***