rpm-ostree/src
Colin Walters 1dee43319c Use indicatif for progress
This turned out to be messier than I thought, because of two primary
factors; the biggest mess here of course is the indirection
through the DBus API.

The other problem is that previously we passed the string to render
each time, and with current indicatif that'd trigger a rerender.
Since (usually) don't change the "prefix string", rework the API.

Change the "percent/n_items" bits to use autocleanups as well, and
to take the prefix string as an initial argument.

Since the state expands to multiple components, also change the
API to use the `0-initialized` pattern rather than trying to
return an aggregate.

We also gain a "sub message" which we use to display e.g.
package names as we're doing checkouts.  Note this ends up
at the end, since otherwise everything else jumps around.

Closes: #1661
Approved by: rfairley
2018-11-09 13:59:43 +00:00
..
app Use indicatif for progress 2018-11-09 13:59:43 +00:00
daemon Use indicatif for progress 2018-11-09 13:59:43 +00:00
lib db: Add some error prefixing around rpmdb loading 2018-05-04 13:02:19 +00:00
libpriv Use indicatif for progress 2018-11-09 13:59:43 +00:00