[OE-core] [RFC PATCH 1/2] classes/buildhistory: add new output history collection class

Koen Kooi koen at dominion.thruhere.net
Fri Dec 2 10:03:34 UTC 2011


Op 2 dec. 2011, om 00:56 heeft Paul Eggleton het volgende geschreven:

> Create a new build output history reporting class, using testlab.bbclass
> from meta-oe as a base. This records information from images produced by
> 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 |  105 +++++++++++++++++++++++++++++++++++++
> meta/classes/rootfs_ipk.bbclass   |   27 +++++++++-
> meta/classes/rootfs_rpm.bbclass   |   41 +++++++++++++--
> 3 files changed, 167 insertions(+), 6 deletions(-)
> create mode 100644 meta/classes/buildhistory.bbclass
> 
> diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
> new file mode 100644
> index 0000000..79a074c
> --- /dev/null
> +++ b/meta/classes/buildhistory.bbclass
> @@ -0,0 +1,105 @@
> +#
> +# Records history of build output in order to detect regressions
> +#
> +# Based in part on testlab.bbclass
> +#
> +# Copyright (C) 2011 Intel Corporation
> +# Copyright (C) 2007, 2008 Koen Kooi <koen at openembedded.org>

I know I forgot to update it, but that should be: 2007 - 2011

regards,

Koen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111202/528a3aec/attachment-0002.sig>


More information about the Openembedded-core mailing list