generic-poky/bitbake/lib/toaster
Elliot Smith dd99cf957d bitbake: toaster: show progress of recipe parsing in recent builds area
Modify buildinfohelper and toasterui so that they record the
recipe parse progress (from ParseProgress events in bitbake)
on the Build object.

Note that because the Build object is now created at the
point when ParseStarted occurs, it is necessary to set the
build name to the empty string initially (hence the migration).
The build name can be set when the build properly starts,
i.e. at the BuildStarted event.

Then use this additional data to determine whether a Build
is in a "Parsing" state, and report this in the JSON API.
This enables the most recent builds area to show the recipe
parse progress.

Add additional logic to update the progress bar if the progress
for a build object changes.

[YOCTO #9631]

(Bitbake rev: f33d51d46d70e73e04e325807c1bc4eb68462f7b)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-08-11 00:09:26 +01:00
..
bldcollector bitbake: toaster: admin Add Layer_Version to the admin-able models 2016-07-26 08:10:36 +01:00
bldcontrol bitbake: toaster: move most recent builds templating to client 2016-08-11 00:09:26 +01:00
contrib bitbake: toaster: fix wrong usage of print_exc and format_exc 2016-06-15 08:35:06 +01:00
orm bitbake: toaster: show progress of recipe parsing in recent builds area 2016-08-11 00:09:26 +01:00
tests bitbake: toaster: move most recent builds templating to client 2016-08-11 00:09:26 +01:00
toastergui bitbake: toaster: show progress of recipe parsing in recent builds area 2016-08-11 00:09:26 +01:00
toastermain bitbake: toaster: tests Rename test settings to python compliant name and fix import 2016-06-15 08:35:06 +01:00
__init__.py bitbake: toaster: add toaster code to bitbake 2013-10-18 11:13:49 +01:00
manage.py bitbake: toaster: changed python version in shebang 2016-06-15 08:35:06 +01:00