Skip to contentSkip to conversation

Toaster, buildstats and build history

DISCUSSION Barros Pena, Belen 3 participants 4 messages Nov 27, 2015 – Nov 30, 2015

lore
Share & tools
lore
#0 lore raw

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?
2. Is any of the additions to build history providing extra information that we should display in Toaster?

Cheers

Belén

Quoted 46 lines · On 27/11/2015 00:34, "[email protected] on…
Quoted 6 lines · 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.

Quoted 6 lines

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.

Cheers,
Paul

Signature · 7 lines
Paul Eggleton
Intel Open Source Technology Centre
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#1 lore raw
Quoted 6 lines · Belen

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?
2. Is any of the additions to build history providing extra information that we should display in Toaster?

Specifically on buildstats, I am planning to change the file quite significantly. I'm mostly removing data which is pretty broken so I'm hopeful that toaster is only using the useful things and should be unaffected. I'll try and see which data toaster is using and figure out what (if anything) needs changing.

Cheers,

Richard

#2 lore raw
In reply to Barros Pena, Belen

Hi Belen,

Quoted 37 lines · Belen
Quoted 25 lines · On 27/11/2015 00:34, "[email protected] on…
Quoted 6 lines · 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.

Quoted 6 lines

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.

Quoted 8 lines

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.

Quoted 4 lines

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.

Quoted 2 lines

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

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
Quoted 60 lines · Paul Eggleton

Hi Belen,

Quoted 42 lines · Belen

On 27/11/2015 00:34, "[email protected] on
behalf of Paul Eggleton" <[email protected]

Quoted 7 lines · on behalf of [email protected]> wrote:
Quoted 6 lines · 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.

Quoted 5 lines
Quoted 5 lines

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

Quoted 3 lines
Quoted 1 line

to publish the modifications.

For others' reference, buildhistory-extra.bbclass was previously

attached

Quoted 4 lines

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

Quoted 7 lines

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

Quoted 4 lines

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

Quoted 2 lines

to the
sysroot so that we have somewhere we can look for it; if that's the

Quoted 8 lines

case

Quoted 1 line

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.

Quoted 2 lines

2. Is any of the additions to build history providing extra information that we should display in Toaster?

Quoted 7 lines

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,

We should really do this at some point. We've had a feature open in Bugzilla for ages:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=6840

Cheers

Belén

Quoted 11 lines

or you'll just get the last build which may not make sense in a Toaster context.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre