Add task-metadata-track.bbclass, for tracking task changes to metadata.
authorChris Larson <clarson@kergoth.com>
Thu, 27 Aug 2009 18:04:07 +0000 (11:04 -0700)
committerChris Larson <clarson@mvista.com>
Thu, 27 Aug 2009 18:08:54 +0000 (11:08 -0700)
commit42dc52e38db1fd2c57dadec26ca54a9f4a6db1aa
tree200ae8f1417e03ba0e3273cac892035bd40ee8e1
parent4923ae44c9e97a91deef41ecfec06227996c85fa
Add task-metadata-track.bbclass, for tracking task changes to metadata.

This class uses events to capture the state of the datastore when the task
starts, and after it completes.  It diffs those captured states, and emits
messages showing which variables changed, and what their values were changed
to.

It provides a mechanism to blacklist variables you expect to change, both
globally and on a per-task basis.

Signed-off-by: Chris Larson <clarson@kergoth.com>
classes/task-metadata-track.bbclass [new file with mode: 0644]