[oe-commits] Paul Eggleton : classes/buildhistory: add new output history collection class

git at git.openembedded.org git at git.openembedded.org
Thu Dec 1 16:57:20 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 508ff624fea705eb93cf2cc1e0c9c42cb817acf8
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=508ff624fea705eb93cf2cc1e0c9c42cb817acf8

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Wed Nov 30 16:48:47 2011 +0000

classes/buildhistory: add new output history collection class

Create a new build output history reporting class, using testlab.bbclass
from meta-oe and packagehistory.bbclass as a base. This records information
from packages and images output from the build process in text files
structured suitably for tracking within a git repository, thus enabling
monitoring of changes over time.

Build history collection can be enabled simply by adding the following
to your local.conf:

INHERIT += "buildhistory"

The output after a build can then be found in BUILDHISTORY_DIR (defaults to
TMPDIR/buildhistory). If you set up this directory as a git repository and
set BUILDHISTORY_COMMIT to "1" in local.conf, the build history data will
be committed on every build.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>

---

 meta/classes/buildhistory.bbclass |  350 +++++++++++++++++++++++++++++++++++++
 meta/classes/rootfs_ipk.bbclass   |   27 +++-
 meta/classes/rootfs_rpm.bbclass   |   41 ++++-
 3 files changed, 412 insertions(+), 6 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=508ff624fea705eb93cf2cc1e0c9c42cb817acf8




More information about the Openembedded-commits mailing list