Skip to content

Refactoring + improve bitbake-diffsigs

Paul Eggleton bitbake-devel 1 version Applied

Status from this message: Merged to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5tinfoil: create simple interface for bitbake-based utilitiesbitbake/bin/bitbake-layers bitbake/lib/bb/tinfoil.py+145 -990 replies
2/5lib/bb/siggen: replace tabs with spacesbitbake/lib/bb/siggen.py+17 -170 replies
3/5lib/bb/siggen.py: insert a colon between class and recipe namebitbake/lib/bb/siggen.py+1 -10 replies
4/5lib/bb/siggen.py: make signature dump/compare functions return a listbitbake/bin/bitbake-diffsigs bitbake/bin/bitbake-dumpsig bitbake/lib/bb/siggen.py+46 -330 replies
5/5bitbake-diffsigs: allow specifying task & follow deps recursivelybitbake/bin/bitbake-diffsigs bitbake/lib/bb/siggen.py+102 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Refactoring + improve bitbake-diffsigs

Refactor out a class which can be used as the basis for bitbake-based utilities, and use it to improve bitbake-diffsigs to enable easily specifying a recipe and task and determine what the difference was in the signature data between the last two executions.

This change requires some support code within the metadata (since BitBake itself knows nothing about the implementation of shared state); a patch to implement this in OE-Core has been sent to the OE-Core mailing list.

Note that this is similar in spirit but does not directly overlap with Robert's bitbake-whatchanged script - that allows you to determine what will be done before it happens, whereas this tool is useful for determining why a rebuild occurred afterwards.

The following changes (against poky, but apply cleanly with -p2 against bitbake master) are available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/bbdiffsigs
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/bbdiffsigs

Paul Eggleton (5):
tinfoil: create simple interface for bitbake-based utilities lib/bb/siggen: replace tabs with spaces
lib/bb/siggen.py: insert a colon between class and recipe name lib/bb/siggen.py: make signature dump/compare functions return a list
bitbake-diffsigs: allow specifying task & follow deps recursively

 bitbake/bin/bitbake-diffsigs |   96 ++++++++++++++++++++++++++-
 bitbake/bin/bitbake-dumpsig  |    4 +-
 bitbake/bin/bitbake-layers   |  146 ++++++++++++++----------------------------
 bitbake/lib/bb/siggen.py     |  109 +++++++++++++++++--------------
 bitbake/lib/bb/tinfoil.py    |   98 ++++++++++++++++++++++++++++
 5 files changed, 301 insertions(+), 152 deletions(-)
 create mode 100644 bitbake/lib/bb/tinfoil.py
Signature · 1 line
1.7.9.5