This is only tested with a sane http repo.
pyanaconda/install.py | 1 +
pyanaconda/packaging/yumpayload.py | 47 ++++++++++++++++++++++++-----------
2 files changed, 33 insertions(+), 15 deletions(-)
My original thinking was that we'd have a step for every single package
to be installed. That provides the user with some knowledge of how far
through the process they are, but it makes partitioning almost
irrelevant when a lot of packages are in the set.
Things we can do:
(1) What you've got.
(2) What I was thinking.
(3) What you've got, but supplement the text somehow to show how many
packages through the process you are.
(4) Fill the progress bar up to 100% with partitioning, then go back to
0% when packaging starts and fill it back up on a per-package basis.
I wish there were a better way to hide this ugliness. Maybe at the
least, I can add helper functions to progress.py for each PROGRESS_CODE_
value so you can just pass the single message argument or whatever.
Anaconda-devel-list mailing list