[Toaster] Toaster, buildstats and build history
Paul Eggleton
paul.eggleton at linux.intel.com
Sun Nov 29 13:33:33 PST 2015
Hi Belen,
On Friday 27 November 2015 11:03:45 Barros Pena, Belen wrote:
> On 27/11/2015 00:34, "openembedded-core-bounces at lists.openembedded.org on
> behalf of Paul Eggleton" <openembedded-core-bounces at lists.openembedded.org
> on behalf of paul.eggleton at linux.intel.com> wrote:
> >On Wednesday 25 November 2015 10:30:28 Patrick Ohly wrote:
> >> The initial implementation of YOCTO #8138
> >> ("buildhistory-extra.bbclass: store more information about a build")
> >> had some issues ("kconfig" file not preserved) but more importantly,
> >> additional changes are needed to support also gathering information
> >> about native recipes.
> >>
> >> I am proposing to include only the "buildhistory.bbclass: support
> >> extending the content of the build history" patch into OE-core.
> >>
> >> The original buildhistory-extra.bbclass and the modifications made to
> >> it are included here merely to provide the context for that change and
> >> to publish the modifications.
> >
> >For others' reference, buildhistory-extra.bbclass was previously attached
> >to
> >https://bugzilla.yoctoproject.org/show_bug.cgi?id=8138 - I didn't and
> >wouldn't
> >propose introducing it into OE-Core in its current form because it's kind
> >of
> >turning buildhistory into something it wasn't designed for, though I
> >don't
> >disagree that it's useful. Happy to hear opinions from others on this
> >though.
> >
> >One aspect that will probably change in the future is how it picks up the
> >kernel configuration - for
> >https://bugzilla.yoctoproject.org/show_bug.cgi?id=5574 (which I hope to
> >get to
> >for 2.1, but no promises) we will need to write the kernel configuration
> >to the
> >sysroot so that we have somewhere we can look for it; if that's the case
> >there'll be no need to copy it specially in buildhistory-extra.bbclass.
>
> There seems to be a fair bit of work going on in build history, and also I
> think in builstats. Toaster uses both, so I wonder:
>
> 1. Will the changes affect Toaster in any way?
As far as the discussion you're quoting above, no. As I mentioned,
buildhistory-extra.bbclass isn't intended to go into OE-Core.
> 2. Is any of the additions to build history providing extra information
> that we should display in Toaster?
At the moment buildhistory isn't exposed in Toaster beyond how it's being used
to get information on packages and image contents. Independent of the changes
in the above quoted discussion, you could start exposing buildhistory in
Toaster, but the problem is you need to choose which build to compare it to,
or you'll just get the last build which may not make sense in a Toaster
context.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the toaster
mailing list