All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] toaster: buildinfohelper fixes
@ 2015-10-07 13:54 Elliot Smith
  2015-10-07 13:55 ` [PATCH 1/2] toaster: buildinfohelper associate build data with built_recipe Elliot Smith
  2015-10-07 13:55 ` [PATCH 2/2] toaster: buildinfohelper Skip packages we have no build info about Elliot Smith
  0 siblings, 2 replies; 3+ messages in thread
From: Elliot Smith @ 2015-10-07 13:54 UTC (permalink / raw)
  To: bitbake-devel

Two patches which fix regressions in the build -> toaster.

1. 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.

This fixes an 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."

2. 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 its dependencies from this "all packages". Also improved the error logging to make it clearer what is actually happening.

The following changes since commit 18decad837a86b220bc549eec432f94f55510fcb:

  toaster: Modify "New build" button behaviour for cli builds project (2015-10-07 16:14:03 +0300)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib elliot/submit/michaelw/toaster/buildinfo-fixes
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/submit/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

 lib/bb/ui/buildinfohelper.py | 45 ++++++++++++++++++++++++++++++++------------
 1 file changed, 33 insertions(+), 12 deletions(-)

--
1.9.3

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-07 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 13:54 [PATCH 0/2] toaster: buildinfohelper fixes Elliot Smith
2015-10-07 13:55 ` [PATCH 1/2] toaster: buildinfohelper associate build data with built_recipe Elliot Smith
2015-10-07 13:55 ` [PATCH 2/2] toaster: buildinfohelper Skip packages we have no build info about Elliot Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.