Various fixes from toaster-next
cover Various fixes from toaster-next
This patch set contains the fixes for:
- Build cacnellation
- SSTATE_DIR and DL_DIR
- Build launching fixes
- Support for building jeth release
They all had a dependency on the build launches fixes which is why this is multiple series in one.
This patchset fixes the following bugs:
6787 2.1 Cancelling builds at any point in the build process (edit) 7880 2.1M3 Medium+/Normal: Toaster uses the same /tmp dir across releases
9058 2.1 Medium/Normal: Bad project MACHINE setting in conf/toaster.conf causes command line builds to fail
8958 2.1M3 Medium/Normal: Toaster does not build with the Jethro release
6787 2.1 Medium/Enhancement: Cancelling builds at any point in the build process
8422 2.1 Medium/Enhancement: we currently don't allow setting of sstate_dir or dl_dir
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib michaelw/submit/ed/toaster/project-build-dir-cancel-dldir_sstatedir
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=michaelw/submit/ed/toaster/project-build-dir-cancel-dldir_sstatedir
Ed Bartosh (24):
toaster: don't start bitbake server
toaster: get rid of noui option
toaster: set BITBAKE_UI environment variable
toasterui: add brbe parameter to buildinfohelper
uievent: improve BBUIEventQueue code
buildinfohelper: improve handling of providermap
toasterui: fix brbe reporting
toaster: remove startBBServer API
toaster: remove release API
toaster: add brbe parameter to triggerBuild
toaster: modified setLayers API
toaster: reimplement triggerBuild
toaster: add new parameter to _shellcmd
toaster: stop bitbake server after the build
toaster: update conf/local.conf
toaster: fix jethro build
toaster: use bash explicitly
toasterui: shutdown on BuildCompleted event
toaster: use empty token
toaster: add DL_DIR and SSTATE_DIR to oe toasterconf
toaster: export BBBASEDIR variable
toaster: get bitbake location from BBBASEDIR
buildinfohelper: fix KeyError
toasterui: update build in internal state
Michael Wood (9):
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
toaster: models Exclude the CANCELLED builds from get_number_of_builds
toaster: runbuilds Make runbuilds aware of the build CANCELLED state
toaster: runbuilds Clean up runbuilds
Sujith H (7):
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
toaster: add DL_DIR and SSTATE_DIR to poky toasterconf
toaster: update view to support DL_DIR and SSTATE_DIR
toaster: update projectconf.html for DL_DIR and SSTATE_DIR
bin/toaster | 82 ++--------- lib/bb/ui/buildinfohelper.py | 49 +++++-- lib/bb/ui/toasterui.py | 22 +-- lib/bb/ui/uievent.py | 10 +- lib/toaster/bldcontrol/bbcontroller.py | 62 +------- lib/toaster/bldcontrol/localhostbecontroller.py | 152 ++++++++++---------- .../bldcontrol/management/commands/runbuilds.py | 109 +++++++++----- .../migrations/0003_add_cancelling_state.py | 19 +++ lib/toaster/bldcontrol/models.py | 27 +++- .../orm/migrations/0006_add_cancelled_state.py | 19 +++ lib/toaster/orm/models.py | 12 +- lib/toaster/toastergui/api.py | 110 ++++++++++++++ lib/toaster/toastergui/static/js/customrecipe.js | 4 +- lib/toaster/toastergui/static/js/layerBtn.js | 3 +- lib/toaster/toastergui/static/js/libtoaster.js | 41 ++++-- lib/toaster/toastergui/static/js/mrbsection.js | 95 ++++++++++++ lib/toaster/toastergui/static/js/projectpage.js | 4 +- lib/toaster/toastergui/static/js/projecttopbar.js | 6 +- lib/toaster/toastergui/static/js/recipedetails.js | 4 +- lib/toaster/toastergui/tables.py | 48 +------ lib/toaster/toastergui/templates/base.html | 1 + lib/toaster/toastergui/templates/mrb_section.html | 148 +++++++------------ lib/toaster/toastergui/templates/projectconf.html | 160 ++++++++++++++++++++- lib/toaster/toastergui/urls.py | 5 + lib/toaster/toastergui/views.py | 40 +++++- 25 files changed, 793 insertions(+), 439 deletions(-) create mode 100644 bitbake/lib/toaster/bldcontrol/migrations/0003_add_cancelling_state.py create mode 100644 bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.py create mode 100644 bitbake/lib/toaster/toastergui/api.py create mode 100644 bitbake/lib/toaster/toastergui/static/js/mrbsection.js
Signature · 1 line
2.1.4
Quoted 97 lines · Michael Wood
This patch set contains the fixes for:
- Build cacnellation
-SSTATE_DIRandDL_DIR
- Build launching fixes
- Support for building jeth releaseThey all had a dependency on the build launches fixes which is why this is multiple series in one.
This patchset fixes the following bugs:
6787 2.1 Cancelling builds at any point in the build process (edit) 7880 2.1M3 Medium+/Normal: Toaster uses the same /tmp dir across releases
9058 2.1 Medium/Normal: Bad project MACHINE setting inconf/toaster.confcauses command line builds to fail
8958 2.1M3 Medium/Normal: Toaster does not build with the Jethro release
6787 2.1 Medium/Enhancement: Cancelling builds at any point in the build process
8422 2.1 Medium/Enhancement: we currently don't allow setting ofsstate_dirordl_dirare available in the git repository at:
git://git.yoctoproject.org/poky-contribmichaelw/submit/ed/toaster/project-build-dir-cancel-dldir_sstatedir
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=michaelw/submit/ed/toaster/project-build-dir-cancel-dldir_sstatedirEd Bartosh (24):
toaster: don't start bitbake server
toaster: get rid of noui option
toaster: setBITBAKE_UIenvironment variable
toasterui: add brbe parameter to buildinfohelper
uievent: improve BBUIEventQueue code
buildinfohelper: improve handling of providermap
toasterui: fix brbe reporting
toaster: remove startBBServer API
toaster: remove release API
toaster: add brbe parameter to triggerBuild
toaster: modified setLayers API
toaster: reimplement triggerBuild
toaster: add new parameter to_shellcmd
toaster: stop bitbake server after the build
toaster: updateconf/local.conf
toaster: fix jethro build
toaster: use bash explicitly
toasterui: shutdown on BuildCompleted event
toaster: use empty token
toaster: addDL_DIRandSSTATE_DIRto oe toasterconf
toaster: export BBBASEDIR variable
toaster: get bitbake location from BBBASEDIR
buildinfohelper: fix KeyError
toasterui: update build in internal stateMichael Wood (9):
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_sectiontemplate Add build cancel button
toaster: models Exclude the CANCELLED builds fromget_number_of_builds
toaster: runbuilds Make runbuilds aware of the build CANCELLED state
toaster: runbuilds Clean up runbuildsSujith H (7):
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
toaster: addDL_DIRandSSTATE_DIRto poky toasterconf
toaster: update view to supportDL_DIRandSSTATE_DIR
toaster: update projectconf.html forDL_DIRandSSTATE_DIRbin/toaster | 82 ++--------- lib/bb/ui/buildinfohelper.py | 49 +++++-- lib/bb/ui/toasterui.py | 22 +-- lib/bb/ui/uievent.py | 10 +- lib/toaster/bldcontrol/bbcontroller.py | 62 +------- lib/toaster/bldcontrol/localhostbecontroller.py | 152 ++++++++++---------- .../bldcontrol/management/commands/runbuilds.py | 109 +++++++++----- .../migrations/0003_add_cancelling_state.py | 19 +++ lib/toaster/bldcontrol/models.py | 27 +++- .../orm/migrations/0006_add_cancelled_state.py | 19 +++ lib/toaster/orm/models.py | 12 +- lib/toaster/toastergui/api.py | 110 ++++++++++++++ lib/toaster/toastergui/static/js/customrecipe.js | 4 +- lib/toaster/toastergui/static/js/layerBtn.js | 3 +- lib/toaster/toastergui/static/js/libtoaster.js | 41 ++++-- lib/toaster/toastergui/static/js/mrbsection.js | 95 ++++++++++++ lib/toaster/toastergui/static/js/projectpage.js | 4 +- lib/toaster/toastergui/static/js/projecttopbar.js | 6 +- lib/toaster/toastergui/static/js/recipedetails.js | 4 +- lib/toaster/toastergui/tables.py | 48 +------ lib/toaster/toastergui/templates/base.html | 1 + lib/toaster/toastergui/templates/mrb_section.html | 148 +++++++------------ lib/toaster/toastergui/templates/projectconf.html | 160 ++++++++++++++++++++- lib/toaster/toastergui/urls.py | 5 + lib/toaster/toastergui/views.py | 40 +++++- 25 files changed, 793 insertions(+), 439 deletions(-)
Quoted 5 lines
create mode 100644
bitbake/lib/toaster/bldcontrol/migrations/0003_add_cancelling_state.pycreate mode 100644bitbake/lib/toaster/orm/migrations/0006_add_cancelled_state.pycreate mode 100644bitbake/lib/toaster/toastergui/api.py
create mode 100644 bitbake/lib/toaster/toastergui/static/js/mrbsection.js
This cover letter belongs to the series [PATCH 01/38] toaster: don't start bitbake server
The create-pull-request script created empty patches for the two patches that are destined for meta-poky and oe (toasterconf.json) as they're outside the bitbake tree. Hence 38 rather than 40
Michael