From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5CEC8E00A30; Mon, 24 Oct 2016 13:51:55 -0700 (PDT) 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 mga06.intel.com (mga06.intel.com [134.134.136.31]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 24AC1E006F3 for ; Mon, 24 Oct 2016 13:51:51 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 24 Oct 2016 13:51:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,543,1473145200"; d="scan'208";a="893471150" Received: from bavery-ws-desk.jf.intel.com ([10.7.198.85]) by orsmga003.jf.intel.com with ESMTP; 24 Oct 2016 13:51:51 -0700 From: brian avery To: toaster@yoctoproject.org Date: Mon, 24 Oct 2016 13:53:20 -0700 Message-Id: X-Mailer: git-send-email 1.9.1 Cc: brian avery Subject: [PATCH 0/1] toaster: buildinfohelper Handle regex pattern paths 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: Mon, 24 Oct 2016 20:51:55 -0000 We were presuming that all the layer dependency information was of the form "^/path/to/layer" so we were just stripping the leading "^" off of the layer information when we were matching the layer priorities to the toaster database. This patch splits out the priorities layer match which gets a regex from the task/recipe match which gets a path. In V3, I added a doc string to explain pathRE and used Michael's name for the sort function. avail on poky-contrib/bavery/toaster/mentor-regex-layerV3 -bavery The following changes since commit ef627ab364d52fe19994c94c1a78fbe21620a32c: local.conf.sample.extended: remove RM_OLD_IMAGE (2016-10-19 17:07:41 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib bavery/toaster/mentor-regex-layerV3 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/toaster/mentor-regex-layerV3 brian avery (1): toaster: buildinfohelper lib/bb/ui/buildinfohelper.py | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) -- 1.9.1