Community
Participate
Working Groups
Build Identifier: helios When loading a composite repo the load method is given a progress monitor to report back on progress made. However, the children have to be loaded as well, one by one, and this happens in uncovered "addChild" and "load" calls. These calls however take most of the time, 10 children will require 10 times the time to download the file locally and load it into memory, all time that is not reported in detail to the progress monitor. I propose reporting progress on loading children as well, thus creating a more accurate progress information Reproducible: Always Steps to Reproduce: 1. load composite repo 2. check the monitor messages
Patch welcome.
Created attachment 172410 [details] propsed patch to get progress from loading the children Hi Pascal :) Let me know what you think, this first version informs the progress monitor about the loading of children... Helmut
*** Bug 311585 has been marked as a duplicate of this bug. ***
Created attachment 188365 [details] updated patch I applied the patch and then ran Susan's scenario in the dup'd bug (perform a Reload in the Prefs page) but the progress still wasn't quite right. But after some digging, I found the culprit. In AbstractRepositoryManager#loadRepository the monitor was being passed to the transport to load an index file, but we weren't creating a child first. I've fixed that and released your patch as well. Thanks for the patch.
Closing.
(In reply to comment #4) > Created attachment 188365 [details] > updated patch > > I applied the patch and then ran Susan's scenario in the dup'd bug (perform a > Reload in the Prefs page) but the progress still wasn't quite right. But after > some digging, I found the culprit. In AbstractRepositoryManager#loadRepository > the monitor was being passed to the transport to load an index file, but we > weren't creating a child first. I've fixed that and released your patch as > well. Thanks for the patch. Thanks DJ, that's great! :) Helmut
thanks, DJ! That has bugged me for a long time!