| Summary: | [ui] - available IU group should not try to load disabled repos | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Susan McCourt <susan> | ||||
| Component: | p2 | Assignee: | Susan McCourt <susan> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | john.arthorne | ||||
| Version: | 3.4 | Flags: | john.arthorne:
review+
|
||||
| Target Milestone: | 3.4 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Susan McCourt
there was some code that tried to do something like this by ignoring an add that followed a discovered repo. This is bogus because we can't be sure in the case of multiple discovers that there is any order to the discover and add sequence. Created attachment 99787 [details]
patch to add event handling
Patch that checks the enabled state of a repo before deciding to load it and make it visible.
John, can you please review this patch? It definitely helps with the speed of filtering when a repo that references other repos is being loaded. I consider it low risk because it only affects the event handling in the available software view, and this was doing special work in the add. It doesn't affect the other listener clients (such as the repo manipulation dialog or the admin UI). Yep, looks good. This may result in repositories being loaded more eagerly in some cases, where you were previously ignoring them (discovered enabled repositories). However, I think this is the correct behaviour. Fixed in HEAD >20080512. |