From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DF88DE006AD; Tue, 8 Mar 2016 08:21: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.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6762AE00848 for ; Tue, 8 Mar 2016 08:20:59 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 08 Mar 2016 08:13:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,557,1449561600"; d="scan'208";a="665895934" Received: from linux.intel.com ([10.23.219.25]) by FMSMGA003.fm.intel.com with ESMTP; 08 Mar 2016 08:13:55 -0800 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.51]) by linux.intel.com (Postfix) with ESMTP id 42D296A4004 for ; Tue, 8 Mar 2016 09:01:41 -0800 (PST) From: Ed Bartosh To: toaster@yoctoproject.org Date: Tue, 8 Mar 2016 15:53:46 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [PATCH v2 00/15] per project build directory 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: Tue, 08 Mar 2016 16:21:15 -0000 Hi, This is a first draft of per project build directory implementation. Default build directory is not going to be used for project builds anymore. It can be used only for command line builds. Toaster will use build-toaster- directories for project builds. This is how to test this: - run toaster - run command line build: build zlib - check if it's shown in Toaster UI - create project for Yocto master - trigger project build from UI - wait until it succeeds - create project for Jethro - trigger project build from UI - wait until it succeds - check that 2 build directories build-toaster- exist and contain correct toaster.conf and bblayers.conf Changes in v2: stop bitbake server after the build The following changes since commit 3cee13dc65a1db5643126859ae9e5ce6bd282c81: toaster: rework task buildstats storage and display (2016-03-08 11:09:44 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ed/toaster/project-build-dir-7880 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/project-build-dir-7880 Ed Bartosh (15): xmlrpc: fix bug in setting XMLRPCServer.single_use toaster: don't start bitbake server toaster: get rid of noui option toaster: set BITBAKE_UI environment variable toasterui: add brbe parameter to buildinfohelper uievent: improve BBUIEventQueue code buildinfohelper: improve handling of providermap toasterui: fix brbe reporting toaster: remove startBBServer API toaster: remove release API toaster: add brbe parameter to triggerBuild toaster: modified setLayers API toaster: reimplement triggerBuild toaster: add new parameter to _shellcmd toaster: stop bitbake server after the build bitbake/bin/toaster | 73 ++--------- bitbake/lib/bb/server/xmlrpc.py | 3 +- bitbake/lib/bb/ui/buildinfohelper.py | 7 +- bitbake/lib/bb/ui/toasterui.py | 9 +- bitbake/lib/bb/ui/uievent.py | 10 +- bitbake/lib/toaster/bldcontrol/bbcontroller.py | 33 ----- .../toaster/bldcontrol/localhostbecontroller.py | 133 ++++++++------------- .../bldcontrol/management/commands/runbuilds.py | 6 +- 8 files changed, 80 insertions(+), 194 deletions(-) -- Regards, Ed