Skip to content

RFC: toaster: 8279: Provide a single way of starting Toaster

Ed Bartosh yocto-toaster 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20toaster: don't allow to run toaster as a scriptbin/toaster+2 -660 replies
2/20toaster: implement get-dburl commandlib/toaster/toastermain/management/commands/get-dburl.py+9 -00 replies
3/20toaster: set DATABASE_URL in toaster scriptbin/toaster+1 -00 replies
4/20toaster: run bitbake the same waybin/toaster+4 -60 replies
5/20toaster: remove unused variablebin/toaster+0 -30 replies
6/20toaster: don't use exit in shell scriptbin/toaster+1 -10 replies
7/20toaster: check for toaster configuration laterbin/toaster+23 -250 replies
8/20toaster: use BBASEDIR to find configbin/toaster+1 -20 replies
9/20toaster: get rid of TOASTER_MANAGED variablebin/toaster+2 -40 replies
10/20toaster: use parent of the build dirbin/toaster+1 -10 replies
11/20toaster: make runbuilds to looplib/toaster/bldcontrol/management/commands/runbuilds.py+10 -30 replies
12/20toaster: start 'manage.py runbuilds' in the scriptbin/toaster+2 -10 replies
13/20toaster: update brbe and project attributeslib/bb/ui/buildinfohelper.py+6 -00 replies
14/20toaster: implement stop_bitbake functionbin/toaster+8 -40 replies
15/20toaster: implement start_bitbake functionbin/toaster+18 -150 replies
16/20toaster: implement 'toaster restart-bitbake'bin/toaster+7 -00 replies
17/20toaster: remove _setupBE functionlib/toaster/bldcontrol/localhostbecontroller.py+2 -170 replies
18/20toaster: reimplemented startBBServer methodlib/toaster/bldcontrol/localhostbecontroller.py+18 -640 replies
19/20toaster: remove stopBBServer APIlib/toaster/bldcontrol/bbcontroller.py lib/toaster/bldcontrol/localhostbecontroller.py lib/toaster/bldcontrol/sshbecontroller.py +1 more+0 -290 replies
20/20toaster: do not terminate bb serverlib/bb/ui/toasterui.py+5 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/20] RFC: toaster: 8279: Provide a single way of starting Toaster

Hi,

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 test it and report your findings.

The following changes since commit 86371789e6eb6e5753105c48e5b4a6effaff683f:

toaster: Modify "New build" button behaviour for cli builds project (2015-10-11 14:32:25 +0300)

are available in the git repository at:

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

Ed Bartosh (20):
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: don't use exit in shell script
toaster: check for toaster configuration later
toaster: use BBASEDIR to find config
toaster: get rid of TOASTER_MANAGED variable
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

 bin/toaster                                        | 182 +++++++--------------
 lib/bb/ui/buildinfohelper.py                       |   6 +
 lib/bb/ui/toasterui.py                             |  15 +-
 lib/toaster/bldcontrol/bbcontroller.py             |   6 -
 lib/toaster/bldcontrol/localhostbecontroller.py    | 110 +++----------
 .../bldcontrol/management/commands/runbuilds.py    |  13 +-
 lib/toaster/bldcontrol/sshbecontroller.py          |  10 --
 lib/toaster/bldcontrol/tests.py                    |   4 -
 .../toastermain/management/commands/get-dburl.py   |   9 +
 9 files changed, 112 insertions(+), 243 deletions(-)
 create mode 100644 bitbake/lib/toaster/toastermain/management/commands/get-dburl.py

--
Regards,
Ed