Bug 99013 - Product Configuration -> Feature -> Scan for updates: it scanns ALL features
Summary: Product Configuration -> Feature -> Scan for updates: it scanns ALL features
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 13:41 EDT by Michael Scharf CLA
Modified: 2005-06-09 20:21 EDT (History)
3 users (show)

See Also:


Attachments
patch to search specified feature (4.45 KB, patch)
2005-06-09 14:59 EDT, Dorian Birsan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scharf CLA 2005-06-08 13:41:03 EDT
In the UI it says below the link: "Search for updates for this feature".

However in 3.1RC1 it scanns always ALL features. This is annoying,
because scanning all features can take long....

I also think the comment is misleading....
Comment 1 Dejan Glozic CLA 2005-06-08 13:47:09 EDT
Looks like a regression - Branko, please investigate.
Comment 2 Dejan Glozic CLA 2005-06-09 11:36:31 EDT
Dorian, the scenario seems busted. The install wizard1 is not supposed to come 
up in this case. The user selected to find updates for a closed set of 
features, so there is nothing to choose in this wizard. We should immediately 
launch the search job and go straight into install wizard 2 when done.

We should try to get this done today in time for RC2 build, since this is a 
regression of the function that worked in 3.0.
Comment 3 Dorian Birsan CLA 2005-06-09 12:08:20 EDT
the code change involves a slight modification to an API class UpdateJob.

This is a concrete class, added very recently (M6 I think), primarily driven by
Jeff.

The modification would be to allow passing in an already built SearchRequest
object when looking for updates. Currently a search request can only be passed
when searching for new features. In the update case, a new search request
(searching for updates to ALL features) is constructed. This case needs to be
able to constrain which features to search for updates.


jim, could you please approve this API change? Thanks.
Comment 4 Dorian Birsan CLA 2005-06-09 14:59:28 EDT
Created attachment 22734 [details]
patch to search specified feature
Comment 5 Jim des Rivieres CLA 2005-06-09 15:52:54 EDT
API addition of UpdateJob.UpdateJob(String,boolean,boolean,IFeature[]) 
approved for 3.1RC2.
Comment 6 Dejan Glozic CLA 2005-06-09 20:21:40 EDT
Released and tweaked to show the search progress in the configuration window's 
status line.