Community
Participate
Working Groups
Now that repos are loaded lazily by the UI, and soft references are being used, all callers of loadRepository are potentially initiating a (very) long running operation. We need to ensure that any API code path that calls loadRepository should have a way callers to specify a progress monitor. Some I noticed right away: IPlanner.updatesFor(IInstallableUnit toUpdate, URL[] metadataRepositories); MetadataRepositoryElement.getQueryable() Others that may be a problem, but probably ok because they are operating on local repos anyway: FormerState.notify() directorywatcher.RepositoryListener.stopPoll() I already opened bug #214691 for the issue that the repo managers/factories need to honor cancellation in the progress monitors once they are there.
I have added a progress monitor to IPlanner.updatesFor, and wired the progress monitors for all methods on SimplePlanner so they are passed through when loading repositories.
Marking fixed. We'll fix up other cases as we come across them.