Skip to content

RFC Build cancel

Michael Wood yocto-toaster 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10toaster: bldcontrol Add forceShutDown function to BitbakeControllerbitbake/lib/toaster/bldcontrol/bbcontroller.py+3 -00 replies
2/10toaster: Move xhr calls for starting and stopping buildsbitbake/lib/toaster/toastergui/api.py bitbake/lib/toaster/toastergui/tables.py bitbake/lib/toaster/toastergui/urls.py+80 -420 replies
3/10toaster: xhr Update the implementation of the build cancellation requestbitbake/lib/toaster/toastergui/api.py+44 -90 replies
4/10toaster: libtoaster Update implementation of startABuild and cancelABuildbitbake/lib/toaster/toastergui/static/js/customrecipe.js bitbake/lib/toaster/toastergui/static/js/layerBtn.js bitbake/lib/toaster/toastergui/static/js/libtoaster.js +4 more+34 -290 replies
5/10toaster: update BuildEnvironmentController and BitbakeControllerbitbake/lib/toaster/bldcontrol/bbcontroller.py bitbake/lib/toaster/bldcontrol/localhostbecontroller.py+8 -240 replies
6/10toaster: models Add cancelled state to build outcomebitbake/lib/toaster/orm/migrations/0007_add_cancelled_state.py bitbake/lib/toaster/orm/models.py+25 -10 replies
7/10toaster: bldcontrol models Add a cancelling state the BuildRequestbitbake/lib/toaster/bldcontrol/migrations/0002_add_cancelling_state.py bitbake/lib/toaster/bldcontrol/models.py+45 -10 replies
8/10buildinfohelper: Add handler for cancelling a buildbitbake/lib/bb/ui/buildinfohelper.py+16 -10 replies
9/10toaster: tables BuildsTable exclude cancelled buildsbitbake/lib/toaster/toastergui/tables.py+3 -20 replies
10/10toaster: mrb_section template Add build cancel buttonbitbake/lib/toaster/toastergui/templates/mrb_section.html+71 -310 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 00/10] Build cancel

This is the combination of Sujith's and my work on build cancel. It needs an extra bit manual testing due to the number of time and state possibilities that can happen when trying to cancel a build.

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=michaelw/sujith/build-cancel

Michael Wood (6):
toaster: Move xhr calls for starting and stopping builds
toaster: xhr Update the implementation of the build cancellation
request
toaster: libtoaster Update implementation of startABuild and
cancelABuild
toaster: bldcontrol models Add a cancelling state the BuildRequest
buildinfohelper: Add handler for cancelling a build
toaster: mrb_section template Add build cancel button

Sujith H (4):
toaster: bldcontrol Add forceShutDown function to BitbakeController
toaster: update BuildEnvironmentController and BitbakeController
toaster: models Add cancelled state to build outcome
toaster: tables BuildsTable exclude cancelled builds

 bitbake/lib/bb/ui/buildinfohelper.py               |  17 +++-
 bitbake/lib/toaster/bldcontrol/bbcontroller.py     |  29 ++----
 .../toaster/bldcontrol/localhostbecontroller.py    |   6 +-
 .../migrations/0002_add_cancelling_state.py        |  19 ++++
 bitbake/lib/toaster/bldcontrol/models.py           |  27 ++++-
 .../orm/migrations/0007_add_cancelled_state.py     |  19 ++++
 bitbake/lib/toaster/orm/models.py                  |   7 +-
 bitbake/lib/toaster/toastergui/api.py              | 109 +++++++++++++++++++++
 .../toaster/toastergui/static/js/customrecipe.js   |   4 +-
 .../lib/toaster/toastergui/static/js/layerBtn.js   |   3 +-
 .../lib/toaster/toastergui/static/js/libtoaster.js |  41 +++++---
 .../toaster/toastergui/static/js/projectpage.js    |   4 +-
 .../toaster/toastergui/static/js/projecttopbar.js  |   6 +-
 .../toaster/toastergui/static/js/recipedetails.js  |   4 +-
 bitbake/lib/toaster/toastergui/tables.py           |  48 +--------
 bitbake/lib/toaster/toastergui/templates/base.html |   1 +
 .../toaster/toastergui/templates/mrb_section.html  | 102 +++++++++++++------
 bitbake/lib/toaster/toastergui/urls.py             |   5 +
 18 files changed, 320 insertions(+), 131 deletions(-)
 create mode 100644 bitbake/lib/toaster/bldcontrol/migrations/0002_add_cancelling_state.py
 create mode 100644 bitbake/lib/toaster/orm/migrations/0007_add_cancelled_state.py
 create mode 100644 bitbake/lib/toaster/toastergui/api.py
Signature · 1 line
2.5.0