From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DA311E00D05; Thu, 25 Feb 2016 08:54:12 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8C067E00CF4 for ; Thu, 25 Feb 2016 08:54:10 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 25 Feb 2016 08:54:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="894647907" Received: from linux.intel.com ([10.23.219.25]) by orsmga001.jf.intel.com with ESMTP; 25 Feb 2016 08:54:10 -0800 Received: from vmed.fi.intel.com (vmed.fi.intel.com [10.237.72.51]) by linux.intel.com (Postfix) with ESMTP id EA39A6A4004 for ; Thu, 25 Feb 2016 09:41:58 -0800 (PST) From: Ed Bartosh To: toaster@yoctoproject.org Date: Thu, 25 Feb 2016 16:44:27 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [PATCH 0/6] Make toasterui to work in build mode 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, 25 Feb 2016 16:54:12 -0000 Hi, This patchset is a preparation for the #7880 fix. As we're going to get rid of running bitbake server we need toasterui to work in build mode, i.e. with bitbake -u toasterui. If you want to test this functionality you can do the following: - start Toaster - kill bitbake server and observer processes - unset BBSERVER - run bitbake -u toasterui Expected outcome: you should see commandline build in UI without bitbake server and observer running. I've discovered nasty bug in handling setEventMask by bitbake server while working on this. It causes ignoring of the event mask set by toasterui. The result of this is that list of events in _ev_list variable is different from the actual list of events processed by toasterui. Here is the difference: -bb.command.CommandExit +bb.event.BuildCompleted +bb.event.BuildStarted +bb.event.ConfigParsed +bb.event.DepTreeGenerated -bb.runqueue.runQueueExitWait +bb.event.RecipeParsed +bb.event.SanityCheck +bb.event.SanityCheckPassed +bb.event.TreeDataPreparationCompleted +bb.event.TreeDataPreparationStarted +bb.runqueue.runQueueTaskCompleted +bb.runqueue.runQueueTaskSkipped +bb.runqueue.sceneQueueTaskCompleted The fix for this bug is also included in this patchset. The following changes since commit 029cc9b513864376024cd5fcbb2724e618e92090: toaster: custom breadcrumb for the default project (2016-02-24 13:29:00 +0000) are available in the git repository at: git://git.yoctoproject.org/poky-contrib ed/toaster/toasterui-in-build-mode http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/toasterui-in-build-mode Ed Bartosh (6): toasterui: reformat list of events toasterui: update list of events command: make setEventMask readonly toasterui: check if setEventMask succeeded toasterui: make toasterui to work in build mode toasterui: exit on final events bitbake/lib/bb/command.py | 1 + bitbake/lib/bb/ui/toasterui.py | 76 ++++++++++++++++++++++++++++++++++-------- 2 files changed, 63 insertions(+), 14 deletions(-) -- Regards, Ed