From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 00/15] Tinfoil rework
Date: Tue, 13 Dec 2016 20:06:59 +1300 [thread overview]
Message-ID: <cover.1481611138.git.paul.eggleton@linux.intel.com> (raw)
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
--
2.5.5
next reply other threads:[~2016-12-13 7:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 7:06 Paul Eggleton [this message]
2016-12-13 7:07 ` [PATCH 01/15] data_smart: fix resetting of reference on variablehistory Paul Eggleton
2016-12-13 7:07 ` [PATCH 02/15] knotty: make quiet option a level option Paul Eggleton
2016-12-13 9:21 ` Joshua Lock
2016-12-13 7:07 ` [PATCH 03/15] knotty: fix --observe-only option Paul Eggleton
2016-12-13 7:07 ` [PATCH 04/15] server/xmlrpc: send back 503 response with correct encoding Paul Eggleton
2016-12-13 7:07 ` [PATCH 05/15] data_smart: implement remote datastore functionality Paul Eggleton
2016-12-13 7:07 ` [PATCH 06/15] command: provide a means to shut down from the client in memres mode Paul Eggleton
2016-12-13 7:07 ` [PATCH 07/15] tinfoil: rewrite as a wrapper around the UI Paul Eggleton
2016-12-13 7:07 ` [PATCH 08/15] remotedata: enable transporting datastore from the client to the server Paul Eggleton
2016-12-13 7:07 ` [PATCH 09/15] tinfoil: implement server-side recipe parsing Paul Eggleton
2016-12-13 7:07 ` [PATCH 10/15] tinfoil: pass datastore to server when expanding python references Paul Eggleton
2016-12-13 7:07 ` [PATCH 11/15] cooker: allow buildFile warning to be hidden programmatically Paul Eggleton
2016-12-13 7:07 ` [PATCH 12/15] data_smart: support serialisation Paul Eggleton
2016-12-13 7:07 ` [PATCH 13/15] runqueue: enable setVariable command to affect task execution Paul Eggleton
2016-12-13 7:07 ` [PATCH 14/15] siggen: add means of ignoring basehash mismatch Paul Eggleton
2016-12-13 7:07 ` [PATCH 15/15] server/process: don't change UI process signal handler on terminate Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1481611138.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.