[PATCH v2 0/8] cooker/tinfoil: fix -b bbappend handling and add single-task prepared-task API

AdrianF <[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
From: Adrian Freihofer <[email protected]>

Hi Richard,

This v2 should answer your question:
  doesn't this only add limited collections data so whilst it fixes -b,
  it potentially corrupts the cache for the non -b cases?
  https://lists.openembedded.org/g/bitbake-devel/message/19957

The test case test_run_prepared_task_recipecache_self_heals should
prove that this works as expected.

The commits going into bitbake do not change in comparison to v1.
Only the test changed.

Regards,
Adrian

Adrian Freihofer (8):
  cooker: fix bitbake -b silently ignoring bbappends
  tests/cooker: add a shared bitbake-subprocess test base class
  tests/cooker: add a bitbake -b bbappend test
  command: fix setConfig coercing bool config values to truthy strings
  cooker: add a buildFile mode that runs a single task
  tinfoil: add a prepared task runner
  tests/cooker: add TinfoilTests for run_prepared_task
  parse/ast: skip empty BBPATH segments in include_all

 lib/bb/command.py      |   8 +-
 lib/bb/cooker.py       |  14 +-
 lib/bb/parse/ast.py    |   4 +
 lib/bb/tests/cooker.py | 342 ++++++++++++++++++++++++++++++++++++++++-
 lib/bb/tinfoil.py      |  23 ++-
 5 files changed, 383 insertions(+), 8 deletions(-)

-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.