summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/progressbar/compat.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-07-13 14:39:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-11 00:09:26 +0100
commite387a7ab9d46535a495bc7052915021dc914205d (patch)
tree44d70acb71719ba2e41b6bb071ea0ec452a59533 /bitbake/lib/progressbar/compat.py
parentdce503764653051ddb1b3d67eb7d6059b8d31f92 (diff)
downloadpoky-e387a7ab9d46535a495bc7052915021dc914205d.tar.gz
bitbake: toaster: add started property to Build
Add a property to the Build model which records whether the BuildStarted event has occurred for the build. The proxy for this event is the presence of variables recorded against the Build: as the buildinfohelper only saves variables when the BuildStarted event occurs (as the variables aren't available on the bitbake server before that point), we can tell whether BuildStarted has happened by counting Variable objects on the Build. This can then be used to determine whether a Build "properly" started, enabling a different dashboard display (left-hand menu hidden) if the build didn't record any useful information (e.g. if it had a bad target). [YOCTO #8443] (Bitbake rev: aa151a4d2de4a54fe3075a8c56a4935158398a18) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/progressbar/compat.py')
0 files changed, 0 insertions, 0 deletions