Skip to content

Add mulitple extra cache fields request support

Ke Liping bitbake-devel poky 1 version Applied

Status from this message: Merged to bitbake master, thanks for your work and patience on these

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4Refactory Current Cache implementationbitbake/lib/bb/cache.py+165 -1930 replies
2/4Introduce extra cache class for image creatorbitbake/lib/bb/cache_extra.py+54 -00 replies
3/4Introduce new param caches_array into Cache impl.bitbake/lib/bb/cache.py bitbake/lib/bb/cooker.py bitbake/lib/bb/shell.py +1 more+57 -140 replies
4/4Implement multiple extra cache fields request supportbitbake/lib/bb/cache.py bitbake/lib/bb/cooker.py+127 -660 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/4][Image Creator]Add mulitple extra cache fields request support

From: Liping Ke <[email protected]>

Those patches are for poky tree. Since bitbake code base is syncing, I cc those changes to bitbake mail list too. Thanks!

The series of patch are for mplementing multiple extra cache fields request support.If user needs to request extra cache fields besides CoreRecipeInfo fields, just add a new XXXRecipeInfo class definition as Image Creator UI Hob Does.
For implementing this new feature, we refactory current cache code, remove namedtuple and define corresponding class for dynamical cache fields support per different cache usage request.

The following changes since commit 6b5d323b6c8960a0999dbafa0422fe127fd0fa97:
Chris Larson (1):
event: don't catch systemexit from handler execution

are available in the git repository at:

git://git.pokylinux.org/poky-contrib lke/cache
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lke/cache

Liping Ke (4):
Refactory Current Cache implementation Introduce extra cache class for image creator Introduce new param caches_array into Cache impl. Implement multiple extra cache fields request support

 bitbake/lib/bb/cache.py       |  536 ++++++++++++++++++++++-------------------
 bitbake/lib/bb/cache_extra.py |   54 ++++
 bitbake/lib/bb/cooker.py      |   68 ++++--
 bitbake/lib/bb/shell.py       |    2 +-
 bitbake/lib/bb/ui/hob.py      |    2 +
 5 files changed, 396 insertions(+), 266 deletions(-)
 create mode 100644 bitbake/lib/bb/cache_extra.py