Summary: | Set resolution takes long without user feedback | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | esigra |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 144480, 462382 |
Description
Martin von Gagern
2013-03-11 15:49:42 UTC
We can add an asynchronous interface for set loading, and break that /var/db/pkg loop into a series of iterations that are scheduled on the global event loop. Here's a minimal fix which defers package set loading until after the "Calculating dependencies" message has displayed: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=16e1f2185bb7ed36d3119b29a50ca0ff75fa8b71 Use the event loop to update the spinner: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8e130a60c9f4d6ab7f1de547015c4ce0b0045041 This is fixed in 2.1.11.56 and 2.2.0_alpha167. |