On 27/10/2015 17:27, "[email protected] on behalf of Ed Bartosh" <[email protected] on behalf of [email protected]> wrote:
>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. > >The following changes since commit >8a0d8eee432924433c3e70198aaeab3161476c5f: > > toaster manual: Updated the set up and use chapter (2015-10-27 07:28:22 >+0000) > >are available in the git repository at: > > git://git.yoctoproject.org/poky-contrib ed/toaster/8279-v3 > >http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/8279-v >3 I ran a couple of builds with this, and encountered a couple of problems: 1. If you want to start a build from Toaster, you need to remove the SDKMACHINE variable from the BitBake variables page in the project configuration. Otherwise builds fail. We need to make sure we remove that variable from the toasterconf.json files (as separate patches I guess). 2. For builds started from CLI, all data is collected. But for the build I started from Toaster, the following data was missing: * The recipes table is empty (http://i.imgur.com/sxqeqxp.png), but if you navigate to a recipe from the package details page, the data is there (http://i.imgur.com/FTcbwA2.png) * The layer branch and commit are missing from packages tables and recipe details pages (http://i.imgur.com/6agaG6L.png). But they show in the build configuration page (http://i.imgur.com/Bt1XFxv.png) Cheers Belén > >Ed Bartosh (24): > 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 > >Michael Wood (1): > toaster: buildinfohelper Broaden the toaster created recipe data case > > bitbake/bin/toaster | 186 >+++++++-------------- > bitbake/lib/bb/ui/buildinfohelper.py | 23 +-- > bitbake/lib/bb/ui/toasterui.py | 15 +- > bitbake/lib/toaster/bldcontrol/bbcontroller.py | 15 +- > .../toaster/bldcontrol/localhostbecontroller.py | 132 ++++----------- > .../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 | 13 +- > .../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 +- > 16 files changed, 142 insertions(+), 403 deletions(-) > create mode 100644 >bitbake/lib/toaster/toastermain/management/commands/get-dburl.py > >-- >Ed > >-- >_______________________________________________ >toaster mailing list >[email protected] >https://lists.yoctoproject.org/listinfo/toaster -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
