[bitbake-devel,0/7] Adding Bitbake support for WebHob

Submitted by Alexandru DAMIAN on Sept. 18, 2013, 12:15 p.m. | Patch ID: 58307


Message ID cover.1379505533.git.alexandru.damian@intel.com
State New
Headers show


git://git.yoctoproject.org/poky-contrib adamian/bitbake-core-changes-1809-2

Commit Message

Alexandru DAMIAN Sept. 18, 2013, 12:15 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

This is a set of patches that prepare Bitbake to support WebHob.

Among the significant changes:

* The extra_caches mechanism is replaced with a CookerFeature mechanism
that allows the UI clients to specify what features they need at connection time.
This allows the server to start, for example, with a minimum set of caches,
and load any additional caches on demand when the clients connect.

* Another CookerFeature is added that will make the server send the 
dependency tree to the clients, on request, when the server is ready to 
start processing the runqueue.

* There is a new server command that returns the contents of the data store.

* The data read from the the recipecache depends on what extra caches
have been loaded, and it's discovered at runtime instead of hardcoding.

The following changes since commit eaf06bc2840cc39026033de0779858b1bf82f06f:

  bitbake: cooker: return a copy checkPackages (2013-09-18 08:41:55 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib adamian/bitbake-core-changes-1809-2

Alexandru DAMIAN (7):
  bitbake: cooker,xmlrpc,servers: implement CookerFeatures
  bitbake: cooker,runqueue: send the task dependency tree
  bitbake: build, runqueue: adds info to the *runQueue* events
  bitbake: cooker: get extra information from recipe cache
  bitbake: cooker, command: add a command to return global data
  bitbake: event: adding generic event for metadata usage
  bitbake: runqueue: add task hash to Queue events

 bitbake/bin/bitbake                      |  25 ++------
 bitbake/lib/bb/build.py                  |   2 +
 bitbake/lib/bb/cache_extra.py            |   6 ++
 bitbake/lib/bb/command.py                |   9 +++
 bitbake/lib/bb/cooker.py                 | 102 ++++++++++++++++++++++++-------
 bitbake/lib/bb/cookerdata.py             |   1 -
 bitbake/lib/bb/event.py                  |  10 +++
 bitbake/lib/bb/runqueue.py               |  20 ++++++
 bitbake/lib/bb/server/__init__.py        |   2 +-
 bitbake/lib/bb/server/process.py         |  23 +++++--
 bitbake/lib/bb/server/xmlrpc.py          |  29 ++++++---
 bitbake/lib/bb/ui/crumbs/hoblistmodel.py |   2 +-
 bitbake/lib/bb/ui/hob.py                 |   2 +-
 bitbake/lib/bb/ui/knotty.py              |   4 ++
 bitbake/lib/bb/ui/uievent.py             |   7 ++-
 15 files changed, 183 insertions(+), 61 deletions(-)