Skip to content

RFC introduce buildhistory.bbclass

Paul Eggleton openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2classes/buildhistory: add new output history collection classmeta/classes/buildhistory.bbclass meta/classes/rootfs_ipk.bbclass meta/classes/rootfs_rpm.bbclass+167 -65 replies
2/2classes/buildhistory: merge in package history functionalitymeta/classes/buildhistory.bbclass+255 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] introduce buildhistory.bbclass

Here is the initial version of buildhistory.bbclass. It provides (most of) the functionality of testlab.bbclass and all functionality of packagehistory.bbclass.

Changes/improvements over testlab:
* Supports both rpm and ipk-based images
* Works even if packaging data is removed in the final image
* File listing is tidier and excludes date/time info so changes are more obvious
* Produces a separate package list with just the package names (i.e. not the full file name).
* Optional git commit occurs at the end of the build and is done outside of fakeroot
* Can optionally push git commit to a remote repository

Todo items:
* There is no recording of licenses into the build history, in favour of Beth Flanagan's upcoming work on license.bbclass. I appreciate some may want this tracked in buildhistory - please comment. Could be something to add afterwards when Beth's work is integrated.
* Deb-based packaging is not supported because I am unable to test it (see Yocto bug #1802).

Note that an earlier version of this was merged accidentally to OE-core; this was subsequently reverted to allow proper review.

Please review the following changes for suitability for inclusion. If you have any objections or suggestions for improvement, please respond to the patches. If you agree with the changes, please provide your Acked-by.

The following changes since commit e57935dc18d576feb1003b48e7cdc72a444131b8:

Revert "classes/buildhistory: add new output history collection class" (2011-12-01 23:00:52 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/buildhistory
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/buildhistory

Paul Eggleton (2):
classes/buildhistory: add new output history collection class classes/buildhistory: merge in package history functionality

 meta/classes/buildhistory.bbclass |  359 +++++++++++++++++++++++++++++++++++++
 meta/classes/rootfs_ipk.bbclass   |   27 +++-
 meta/classes/rootfs_rpm.bbclass   |   41 ++++-
 3 files changed, 421 insertions(+), 6 deletions(-)
 create mode 100644 meta/classes/buildhistory.bbclass
Signature · 1 line
1.7.5.4