Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 48508E00E64; Tue, 6 Oct 2015 11:03:52 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.47 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E7CE6E009BE for ; Tue, 6 Oct 2015 11:03:49 -0700 (PDT) Received: by pablk4 with SMTP id lk4so216031147pab.3 for ; Tue, 06 Oct 2015 11:03:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HnZn7XRqep1EaYm8RO9L3eWbMeSbG+pEmRC0GoA5B0I=; b=FU6A8wrA2ldcBFa09y5PkLvRKKjbPJZZvKPwuhMIPBwBmeWUqCwF/Pf5ivvqKkbss4 FKHGnsMz3HbnQT1qMDY53hAJNLi2ollUziRcw0lJFnjQV2kY6xJIw+bJmkZQmOT96QuL KmfaF4wByx7J2aof2to/qoCb1FUwps20fewLtjN7mhP+fi2hNrYHEBHs4SxORNGDBIz9 1OswL8dptpg2EFoHcHx2txHn4RLII/SvHBSk6H7/zh0VYZzCDtFIS0Bog3qOYM2bw43s iYaNstnqNXFZ20aVseBAcFpNkJl+gVJ7b1Jb24/vutg7O9gB6TUn6Y/8KmE+27ysQFO8 Emjw== X-Gm-Message-State: ALoCoQllcUpNIGob8H69vfPv4M/762Nu3WzaqkZalJXXDAo1+kT8VcGooHYAoT8oOBrED8Fktct8 X-Received: by 10.67.3.167 with SMTP id bx7mr48623179pad.47.1444154629551; Tue, 06 Oct 2015 11:03:49 -0700 (PDT) Received: from draco.ger.corp.intel.com (fmdmzpr01-ext.fm.intel.com. [192.55.54.36]) by smtp.gmail.com with ESMTPSA id xm9sm34728455pbc.32.2015.10.06.11.03.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Oct 2015 11:03:49 -0700 (PDT) From: Michael Wood To: toaster@yoctoproject.org Date: Tue, 6 Oct 2015 19:03:39 +0100 Message-Id: <1444154621-3888-1-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.1.4 Subject: [PATCH 0/2] michaelw/toaster/buildinfo-fixes 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, 06 Oct 2015 18:03:52 -0000 Two patches which fix regressions in the build -> toaster. The first is where the recipe in the build history is linking to the recipe that is Toaster's data rather than the build's data. Fixes this issue identified by Belen: "The recipes table in the build history is linking to the wrong recipe id. The recipe details page appears empty but if you access the same recipe from the package details page, you get to a recipe with the same name and version, but different recipe id, that has all the information from the build. To reproduce, build core-image-minimal. When the build completes, go to the recipes page and search for busybox: click through to the recipe details page. It's empty. Now click the image name on the left nav to see the list of packages installed. Search for 'busybox'. Click through to the package details page. Then, on the right hand side information about the package, click the busybox recipe name. The page is no longer empty: in fact, it's a different recipe id." The second patch avoids the buildinfo helper bailing out when there are more packages reported by the ImagePkgs event data than have currently been provided by the all packages list. We get the meta data for a package - including it's dependencies from this "all packages". Also improved the error logging to make it clearer what is actually happening. Branch on poky-contrib michaelw/toaster/buildinfo-fixes Michael Wood (2): toaster: buildinfohelper associate build data with built_recipe toaster: buildinfohelper Skip packages we have no build info about bitbake/lib/bb/ui/buildinfohelper.py | 45 ++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 12 deletions(-) -- 2.1.4