show status updates during long bughelper runs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bug Helper |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
The problem: No feedback. When using bughelper on a particularly long run, there is little feedback shown to the user about what's going on in the background.
The solution: Status bar. I think an updating info line at the bottom of the console with stats such as what bug is being processed, what attachments are being downloaded now, how large they are, etc would solve the problem. Hopefully this can be done without cluttering the console too. See this semi-mockup of two points in time:
===========
$bughelper -A -p hugepackage
--- Currently on bug 123456 ... Attachment Xorg.0.log ... [ ====> ] 3,879 55.25K/s
===========
$bughelper -A -p hugepackage
http://
- http://
--- Currently on bug 234567 ... Attachment Xorg.0.log ... [ ====> ] 5,678 25.73K/s
===========
As bughelper would find new matches, they would be output to the console while the "status bar" moved further down. The download progress would be similar to wget's in that respect. It may also be possible to calculate % of bugs checked on and other neat things. But I'd mainly like to know that bughelper hasn't hung and that it's still getting stuff done even though it's silent.
And maybe if this is too obtrusive to others it could have an optional argument to enable it. --verbose or something.
Thanks for your bug report. The progress bar should be easy to implement, after the BugList() has been initialized. For the utilized bandwidth, I'm not sure if we should have that and how to implement it.