Skip to content

Support progress reporting

Paul Eggleton bitbake-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 0 repliesNew
  2. v110 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Rebase on top of recent runqueue changes
* Fix debug=True in MultiStageProgressReporter printing weightings if finish() was called a second time (as it is in the runqueue).
* Fix a couple of bugs with the BB_SETSCENE_ENFORCE code
* Add comments in the runqueue code explaining how to update the weightings

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10knotty: provide a symlink to the latest console loglib/bb/ui/knotty.py+6 -00 replies
2/10knotty: import latest python-progressbarlib/bb/ui/knotty.py lib/progressbar.py lib/progressbar/LICENSE.txt +4 more+808 -3850 replies
3/10lib: implement basic task progress supportlib/bb/build.py lib/bb/progress.py lib/bb/ui/knotty.py +3 more+239 -140 replies
4/10lib/bb/progress: add MultiStageProgressReporterlib/bb/progress.py+111 -00 replies
5/10fetch2: implement progress supportlib/bb/fetch2/__init__.py lib/bb/fetch2/git.py lib/bb/fetch2/wget.py +1 more+106 -73 replies
6/10knotty: add code to support showing progress for sstate object queryinglib/bb/event.py lib/bb/ui/knotty.py+40 -20 replies
7/10knotty: show task progress barlib/bb/ui/knotty.py+19 -40 replies
8/10knotty: add quiet output modelib/bb/main.py lib/bb/msg.py lib/bb/ui/knotty.py+45 -260 replies
9/10runqueue: add ability to enforce that tasks are setscenedlib/bb/runqueue.py+80 -10 replies
10/10runqueue: report progress for "Preparing RunQueue" steplib/bb/progress.py lib/bb/runqueue.py+109 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/10] Support progress reporting

Add code to support progress reporting within OpenEmbedded, as well as a couple of related changes to allow reworking the extensible SDK installation process. (See the corresponding OE-Core series for further details).

Changes since v1:
* Rebase on top of recent runqueue changes
* Fix debug=True in MultiStageProgressReporter printing weightings if finish() was called a second time (as it is in the runqueue).
* Fix a couple of bugs with the BB_SETSCENE_ENFORCE code
* Add comments in the runqueue code explaining how to update the weightings

The following changes since commit 31977e7bb98f676197c6cee66f6ab4c12d4dcbde:

cooker: clean up EvertWriter (2016-06-20 17:23:53 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/startup-bb
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/startup-bb

Paul Eggleton (10):
knotty: provide a symlink to the latest console log
knotty: import latest python-progressbar
lib: implement basic task progress support lib/bb/progress: add MultiStageProgressReporter
fetch2: implement progress support
knotty: add code to support showing progress for sstate object
querying
knotty: show task progress bar
knotty: add quiet output mode
runqueue: add ability to enforce that tasks are setscened
runqueue: report progress for "Preparing RunQueue" step

 lib/bb/build.py                |  34 ++++
 lib/bb/event.py                |  27 +++
 lib/bb/fetch2/__init__.py      |   4 +-
 lib/bb/fetch2/git.py           |  52 +++++-
 lib/bb/fetch2/wget.py          |  26 ++-
 lib/bb/main.py                 |   9 +
 lib/bb/msg.py                  |   5 +-
 lib/bb/progress.py             | 270 ++++++++++++++++++++++++++++
 lib/bb/runqueue.py             | 151 +++++++++++++++-
 lib/bb/ui/knotty.py            | 143 ++++++++++++---
 lib/bb/ui/uihelper.py          |   7 +-
 lib/progressbar.py             | 384 ----------------------------------------
 lib/progressbar/LICENSE.txt    |  52 ++++++
 lib/progressbar/__init__.py    |  49 ++++++
 lib/progressbar/compat.py      |  44 +++++
 lib/progressbar/progressbar.py | 315 +++++++++++++++++++++++++++++++++
 lib/progressbar/widgets.py     | 391 +++++++++++++++++++++++++++++++++++++++++
 17 files changed, 1542 insertions(+), 421 deletions(-)
 create mode 100644 lib/bb/progress.py
 delete mode 100644 lib/progressbar.py
 create mode 100644 lib/progressbar/LICENSE.txt
 create mode 100644 lib/progressbar/__init__.py
 create mode 100644 lib/progressbar/compat.py
 create mode 100644 lib/progressbar/progressbar.py
 create mode 100644 lib/progressbar/widgets.py
Signature · 1 line
2.5.5