file checksum cache refactoring
Hi,
I pushed a patchset for inspection here:
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/bi
tbake/checksum-refactor
The first three patches are refactoring that could be merged without breaking anything, the last patch extending the SignatureGenerator API.
The two last patches are something that could be merged at some later point as they make the new API mandatory.
Any comments and suggestions are welcome.
Cheers,
Markus
----------------------------------------------------------------
Markus Lehtonen (5):
bb/siggen: drop commented-out code
Move file checksum cache out of SignatureGenerator
SignatureGenerator: add checksum_cache argument to get_taskhash()
SignatureGenerator: make checksum_cache arg of get_taskhash()
mandatory
bb/fetch2: drop checksum cache
lib/bb/cooker.py | 2 -- lib/bb/fetch2/__init__.py | 18 ------------------ lib/bb/runqueue.py | 13 +++++++++++-- lib/bb/siggen.py | 29 +++-------------------------- 4 files changed, 14 insertions(+), 48 deletions(-)
Quoted 30 lines · Markus Lehtonen
Hi,
I pushed a patchset for inspection here:
http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/
bi
tbake/checksum-refactorThe first three patches are refactoring that could be merged without breaking anything, the last patch extending the SignatureGenerator API.
The two last patches are something that could be merged at some later point as they make the new API mandatory.
Any comments and suggestions are welcome.
Cheers,
Markus----------------------------------------------------------------
Markus Lehtonen (5):
bb/siggen: drop commented-out code
Move file checksum cache out of SignatureGenerator
SignatureGenerator: addchecksum_cacheargument toget_taskhash()
SignatureGenerator: makechecksum_cachearg ofget_taskhash()
mandatory
bb/fetch2: drop checksum cache
Quoted 5 lines
lib/bb/cooker.py | 2 -- lib/bb/fetch2/__init__.py | 18 ------------------ lib/bb/runqueue.py | 13 +++++++++++-- lib/bb/siggen.py | 29 +++-------------------------- 4 files changed, 14 insertions(+), 48 deletions(-)
Oh, and a corresponding change to oe-core to conform the new api is here:
http://git.openembedded.org/openembedded-core-contrib/commit/?h=marquiz
/siggen&id=bfd119c829dac952ced358701d8b2fea7c292617
Cheers,
Markus