Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 283185 - product mirroring from context should be non-greedy
Summary: product mirroring from context should be non-greedy
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.5.1   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 283091 283186
Blocks:
  Show dependency tree
 
Reported: 2009-07-10 15:16 EDT by Andrew Niefer CLA
Modified: 2009-07-21 16:09 EDT (History)
0 users

See Also:
dj.houghton: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2009-07-10 15:16:58 EDT
+++ This bug was initially created as a clone of Bug #283091 +++

Build performs a mirror or the product being built from context + build.repo into build.repo to ensure all requirements are present for the call to the director.

This is currently done with the slicer set to treat everything as greedy.

A feature based product will require the IU
'tooling.org.eclipse.update.feature.default' which has a requirement
<required namespace='org.eclipse.equinox.p2.eclipse.type' 
          name='feature' range='0.0.0'
          optional='true' multiple='true' greedy='false'/>

This will be satisfied by every feature present in the context repository, and will result in nearly the entire context repository being mirrored into the build repo.

This is potentially a huge performance problem.

Build should instead perform this mirroring without following non-greedy things.
Comment 1 Andrew Niefer CLA 2009-07-10 15:18:25 EDT
Patch for bug 283186 will cover this
Comment 2 Andrew Niefer CLA 2009-07-21 16:09:40 EDT
done in 3.5.1