| Summary: | [engine] engine should be more verbose while performing an installation | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Helmut J. Haigermoser <helmut.haigermoser> |
| Component: | p2 | Assignee: | Meng Xin Zhu <kane.zhu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | kane.mx, kane.zhu, leberre, pascal, refsdal.ivar |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | Juno M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 368637 | ||
|
Description
Helmut J. Haigermoser
I agree with the need for this enhancement. For users it appears that p2 simply 'hangs' while it actually is doing some work such as calculating requirements or downloading prerequisites. This seems to be the case for both p2 ui and p2.director. Note that the "calculating part" is not taking more than one second on an average computer and an average installation right now. The vast majority of the time is spent downloading the metadata from the update sites. Unchecking the "contact all update sites" for instance allows you to get a very fast installation experience. Maybe the message displayed should change over time, e.g. Downloading metadata from update sites (x out of a total of y) Computing requirements .... That would emphasis that the more update sites are activated, the longer it takes before the installation can proceed. I'm working on this one. "calculating part" is not taking much time, it's unnecessary to report which detail part is calculating. "contact all update sites" option will cause to synchronize the metadata of all available repositories, the time costs on downloading the metadata, not actually calculating dependencies. The most time costs on downloading artifacts and installing IUs, especially big binary IU for JRE or JDK, so the number of artifacts to be downloaded or already are downloaded, current totally download speed, how many MBs left and estimated time should be useful information for end users to know the installing progress. I'm planing to publish those kinds of events via provisioning bus, clients(including p2's UI) can register the listener to get the details they are interested in, then customize the progress report. Below are events to be published, 1. the event of phase starts and finishes 2. download events, including how many artifacts to be downloaded, how many artifacts to be downloaded from a specific repository, the mirror request(download) result, download progress event(a wrapper of ProgressStatistics) 3. the events before/after configuring/unconfiguring an IU Any suggestion let me know. |