From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1FACBE00BD5; Thu, 26 Nov 2015 03:59:15 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B5837E00B7D for ; Thu, 26 Nov 2015 03:59:11 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 26 Nov 2015 03:59:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,346,1444719600"; d="scan'208";a="859849161" Received: from linux.intel.com ([10.23.219.25]) by orsmga002.jf.intel.com with ESMTP; 26 Nov 2015 03:59:12 -0800 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.51]) by linux.intel.com (Postfix) with ESMTP id 77DE06A4005 for ; Thu, 26 Nov 2015 03:58:03 -0800 (PST) From: Ed Bartosh To: toaster@yoctoproject.org Date: Thu, 26 Nov 2015 13:27:22 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [PATCH v6 00/30] toaster: 8279: Provide a single way of starting Toaster X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2015 11:59:15 -0000 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