[Toaster] [PATCH v6 00/30] toaster: 8279: Provide a single way of starting Toaster

Ed Bartosh ed.bartosh at linux.intel.com
Thu Nov 26 03:27:22 PST 2015


This patchset merges two Toaster modes in one:

To run toaster you should source it in already prepared build environment:
  cd poky
  . oe-init-build-env
  . ../bitbake/bin/toaster

After that you should be able to trigger builds both ways:
from command line and from toaster UI.

Please note that you need to also apply these 2 patches:
https://lists.yoctoproject.org/pipermail/toaster/2015-November/003254.html
They're logically belong to this patchset, but the upstream for them is
different, so I decided to send them separately.

Please review and test.

Changes in v4: Removed buildinfohelper code which was trying to guess layer
               version of the recipe. As a result of this bug Toaster
               UI was not showing any information about recipes.

Changes in v5: Rebased on top of latest toaster-next.
               Unset environment variables when toaster stops

Changes in v6: Fixed handling of parsing failures https://bugzilla.yoctoproject.org/show_bug.cgi?id=8279#c25

The following changes since commit c68c75e946fb166d8e7b42fb5da4f50917924095:

  toaster: change toasterconf.json logic to use TEMPLATECONF, like oe-setup-builddir (2015-11-23 11:58:16 +0200)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ed/toaster/8279-v6
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/8279-v6

Ed Bartosh (29):
  toaster: don't allow to run toaster as a script
  toaster: implement get-dburl command
  toaster: set DATABASE_URL in toaster script
  toaster: run bitbake the same way
  toaster: remove unused variable
  toaster: check for toaster configuration later
  toaster: use parent of the build dir
  toaster: make runbuilds to loop
  toaster: start 'manage.py runbuilds' in the script
  toaster: update brbe and project attributes
  toaster: implement stop_bitbake function
  toaster: implement start_bitbake function
  toaster: implement 'toaster restart-bitbake'
  toaster: remove _setupBE function
  toaster: reimplemented startBBServer method
  toaster: remove stopBBServer API
  toaster: do not terminate bb server
  toaster: remove usage of BUILD_MODE variable
  toaster: do not create duplicate HelpText objects
  toaster: implement BitbakeController.getVariable
  toaster: set varibales on bitbake server
  toaster: remove writeConfFile API
  toaster: stop using toaster-pre.conf
  toaster: remove SDKMACHINE from project variables
  toaster: get rid of complicated heuristics
  toaster: unset environment variables
  command: add CommandStarted event
  bb/ui: ignore CommandStarted event
  toasterui: process CommandStarted event

Michael Wood (1):
  toaster: buildinfohelper Broaden the toaster created recipe data case

 bitbake/bin/toaster                                | 166 +++++++++------------
 bitbake/lib/bb/command.py                          |   6 +
 bitbake/lib/bb/ui/buildinfohelper.py               |  68 +++------
 bitbake/lib/bb/ui/crumbs/runningbuild.py           |   3 +-
 bitbake/lib/bb/ui/knotty.py                        |   3 +-
 bitbake/lib/bb/ui/toasterui.py                     |  21 +--
 bitbake/lib/toaster/bldcontrol/bbcontroller.py     |  15 +-
 .../toaster/bldcontrol/localhostbecontroller.py    | 140 ++++-------------
 .../bldcontrol/management/commands/runbuilds.py    |  13 +-
 bitbake/lib/toaster/bldcontrol/sshbecontroller.py  |  10 --
 bitbake/lib/toaster/bldcontrol/tests.py            |   4 -
 bitbake/lib/toaster/toastergui/templates/base.html |   9 +-
 .../lib/toaster/toastergui/templates/landing.html  |  10 --
 .../toaster/toastergui/templates/projectconf.html  |  70 +--------
 bitbake/lib/toaster/toastergui/tests.py            |   4 -
 bitbake/lib/toaster/toastergui/views.py            |  29 ----
 .../toastermain/management/commands/get-dburl.py   |   9 ++
 bitbake/lib/toaster/toastermain/settings.py        |   3 -
 bitbake/lib/toaster/toastermain/urls.py            |   9 +-
 19 files changed, 167 insertions(+), 425 deletions(-)
 create mode 100644 bitbake/lib/toaster/toastermain/management/commands/get-dburl.py

--
Regards,
Ed



More information about the toaster mailing list