toaster: 8279: Provide a single way of starting Toaster
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest30 patches 1 replyIn review
- v527 patches 4 repliesSuperseded
- v426 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 25 patches | 4 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | toaster: don't allow to run toaster as a scriptbitbake/ | +5 | 0 replies | |
| 2/30 | toaster: implement get-dburl commandbitbake/ | +9 | 0 replies | |
| 3/30 | toaster: set DATABASE_URL in toaster scriptbitbake/ | +1 | 0 replies | |
| 4/30 | toaster: run bitbake the same waybitbake/ | +4 | 0 replies | |
| 5/30 | toaster: remove unused variablebitbake/ | +0 | 0 replies | |
| 6/30 | toaster: check for toaster configuration laterbitbake/ | +24 | 0 replies | |
| 7/30 | toaster: use parent of the build dirbitbake/ | +1 | 0 replies | |
| 8/30 | toaster: make runbuilds to loopbitbake/ | +10 | 0 replies | |
| 9/30 | toaster: start 'manage.py runbuilds' in the scriptbitbake/ | +2 | 0 replies | |
| 10/30 | toaster: update brbe and project attributesbitbake/ | +6 | 0 replies | |
| 11/30 | toaster: implement stop_bitbake functionbitbake/ | +8 | 0 replies | |
| 12/30 | toaster: implement start_bitbake functionbitbake/ | +18 | 0 replies | |
| 13/30 | toaster: implement 'toaster restart-bitbake'bitbake/ | +9 | 0 replies | |
| 14/30 | toaster: remove _setupBE functionbitbake/ | +2 | 0 replies | |
| 15/30 | toaster: reimplemented startBBServer methodbitbake/ | +18 | 0 replies | |
| 16/30 | toaster: remove stopBBServer APIbitbake/ bitbake/ bitbake/ +1 more | +0 | 0 replies | |
| 17/30 | toaster: do not terminate bb serverbitbake/ | +5 | 0 replies | |
| 18/30 | toaster: remove usage of BUILD_MODE variablebitbake/ bitbake/ bitbake/ +3 more | +5 | 0 replies | |
| 19/30 | toaster: do not create duplicate HelpText objectsbitbake/ | +3 | 0 replies | |
| 20/30 | toaster: buildinfohelper Broaden the toaster created recipe data casebitbake/ | +3 | 0 replies | |
| 21/30 | toaster: implement BitbakeController.getVariablebitbake/ | +3 | 0 replies | |
| 22/30 | toaster: set varibales on bitbake serverbitbake/ | +9 | 0 replies | |
| 23/30 | toaster: remove writeConfFile APIbitbake/ bitbake/ | +0 | 0 replies | |
| 24/30 | toaster: stop using toaster-pre.confbitbake/ | +1 | 0 replies | |
| 25/30 | toaster: remove SDKMACHINE from project variablesbitbake/ bitbake/ | +1 | 0 replies | |
| 26/30 | toaster: get rid of complicated heuristicsbitbake/ | +9 | 0 replies | |
| 27/30 | toaster: unset environment variablesbitbake/ | +4 | 0 replies | |
| 28/30 | command: add CommandStarted eventbitbake/ | +6 | 0 replies | |
| 29/30 | bb/ui: ignore CommandStarted eventbitbake/ bitbake/ | +4 | 0 replies | |
| 30/30 | toasterui: process CommandStarted eventbitbake/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [PATCH v6 00/30] toaster: 8279: Provide a single way of starting Toaster
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