generic-poky/bitbake/lib
Michael Wood 9dcb9cb2cc bitbake: toaster: bldcontrol models Add a cancelling state the BuildRequest
To accurately reflect the state of a build request we also need a
cancelling state. This is set when we've started a build and then for
whatever reason cancel it, cancelling is not instantaneous so we have
this state to indicate that a cancel is in progress.

Also add a state transition guard. As the state of a BuildRequest can
currently be modified by three processes; Toastergui,
Runbuilds/bldcontrol and the buildinofhelper we cannot say for sure
which process will be running at the time of cancellation so in order to
avoid one of these processes making an incorrect transition only allow
transitions of state to increase.

e.g. CREATED -> QUEUED -> INPROGRESS
And to ignore such requested changes such as
INPROGRESS -> CREATED

(Bitbake rev: 449598c8e6be75bd0c9d59e7bdf859d1d6f83858)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-06 23:10:29 +01:00
..
bb bitbake: toasterui: shutdown on BuildCompleted event 2016-04-06 23:10:28 +01:00
bs4 bitbake: bs4: Add beautifulsoup 4.3.2 to assist the fetcher 2014-11-06 16:45:23 +00:00
ply Add pysh, ply, and codegen to lib/ to prepare for future work 2010-08-03 14:06:07 +01:00
prserv bitbake: prserv: Add dump_db() 2016-02-26 17:20:31 +00:00
toaster bitbake: toaster: bldcontrol models Add a cancelling state the BuildRequest 2016-04-06 23:10:29 +01:00
codegen.py Add pysh, ply, and codegen to lib/ to prepare for future work 2010-08-03 14:06:07 +01:00
progressbar.py bitbake: progressbar: use '/usr/bin/env' in shebangs with python 2014-11-12 15:25:17 +00:00
pyinotify.py bitbake: bitbake: Add pyinotify to lib/ 2015-01-14 11:32:02 +00:00