Tinfoil rework
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | data_smart: fix resetting of reference on variablehistorylib/ | +1 | 0 replies | |
| 2/15 | knotty: make quiet option a level optionlib/ lib/ | +30 | 1 reply | |
| 3/15 | knotty: fix --observe-only optionlib/ | +7 | 0 replies | |
| 4/15 | server/xmlrpc: send back 503 response with correct encodinglib/ | +1 | 0 replies | |
| 5/15 | data_smart: implement remote datastore functionalitylib/ lib/ | +72 | 0 replies | |
| 6/15 | command: provide a means to shut down from the client in memres modelib/ lib/ lib/ | +16 | 0 replies | |
| 7/15 | tinfoil: rewrite as a wrapper around the UIlib/ lib/ lib/ +3 more | +665 | 0 replies | |
| 8/15 | remotedata: enable transporting datastore from the client to the serverlib/ | +42 | 0 replies | |
| 9/15 | tinfoil: implement server-side recipe parsinglib/ lib/ | +81 | 0 replies | |
| 10/15 | tinfoil: pass datastore to server when expanding python referenceslib/ lib/ lib/ +1 more | +18 | 0 replies | |
| 11/15 | cooker: allow buildFile warning to be hidden programmaticallylib/ lib/ lib/ | +12 | 0 replies | |
| 12/15 | data_smart: support serialisationlib/ lib/ | +36 | 0 replies | |
| 13/15 | runqueue: enable setVariable command to affect task executionbin/ lib/ lib/ +1 more | +13 | 0 replies | |
| 14/15 | siggen: add means of ignoring basehash mismatchlib/ | +2 | 0 replies | |
| 15/15 | server/process: don't change UI process signal handler on terminatelib/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/15] Tinfoil rework
Tinfoil is an API that allows you to write simple utilities that call into BitBake code to read variables, parse recipes, etc. (as used by various scripts in BitBake & OE, including bitbake-layers, devtool, etc.) This patchset reworks tinfoil in order to address several limitations of the current implementation, first and foremost that it doesn't currently work in bitbake's memory resident mode. This rework is also known as "tinfoil2" although the classes and modules have not changed name. Fixes for a few other related issues I found along the way are also included. There is an additional set of patches for OE-Core that make corresponding changes there - both sets should be applied together in order for things to remain working.
Note that whilst these patchsets make some significant improvements to how the system behaves in memory resident mode, there are still a number of issues that prevent memory resident mode from being reliable. See this wiki page for a few more details:
https://wiki.yoctoproject.org/wiki/index.php?title=Tinfoil2
I will be converting some of these into bugzilla entries after this patchset and the corresponding one for OE-Core get merged.
The following changes since commit b65a8193368ffa1d15af24a6acde8dce6bd4d383:
toaster: views Remove old code that converts template context to JSON (2016-12-12 20:44:47 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib paule/tinfoil2-bb
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/tinfoil2-bb
Paul Eggleton (15):
data_smart: fix resetting of reference on variablehistory
knotty: make quiet option a level option
knotty: fix --observe-only option
server/xmlrpc: send back 503 response with correct encoding
data_smart: implement remote datastore functionality
command: provide a means to shut down from the client in memres mode
tinfoil: rewrite as a wrapper around the UI
remotedata: enable transporting datastore from the client to the server
tinfoil: implement server-side recipe parsing
tinfoil: pass datastore to server when expanding python references
cooker: allow buildFile warning to be hidden programmatically
data_smart: support serialisation
runqueue: enable setVariable command to affect task execution
siggen: add means of ignoring basehash mismatch server/process: don't change UI process signal handler on terminate
bin/bitbake-worker | 12 +- lib/bb/command.py | 253 ++++++++++++++++++++++++++- lib/bb/cooker.py | 36 +++- lib/bb/cookerdata.py | 1 + lib/bb/data_smart.py | 54 +++++- lib/bb/main.py | 87 ++++++---- lib/bb/remotedata.py | 116 +++++++++++++ lib/bb/runqueue.py | 1 + lib/bb/server/process.py | 1 - lib/bb/server/xmlrpc.py | 2 +- lib/bb/siggen.py | 3 +- lib/bb/tests/data.py | 68 ++++++++ lib/bb/tinfoil.py | 439 +++++++++++++++++++++++++++++++++++++++-------- lib/bb/ui/knotty.py | 45 +++-- lib/bblayers/query.py | 28 +-- 15 files changed, 982 insertions(+), 164 deletions(-) create mode 100644 lib/bb/remotedata.py
Signature · 1 line
2.5.5