Skip to content

RFC Convert bitbake-layers to plugin-based

Christopher Larson bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 4 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC master][PATCH 0/4] Convert bitbake-layers to plugin-based

From: Christopher Larson <[email protected]>

This alters the bitbake-layers tool to use plugins for its sub-commands, following the same pattern as devtool and recipetool. <bitbake>/lib/bblayers/ holds the default plugins, and layers can provide their own in <layerdir>/lib/bblayers/.

A few minor enhancements were made to the plugin loading function after pulling it in from scriptutils.

Please review the following changes for suitability for inclusion. If you have any objections or suggestions for improvement, please respond to the patches. If you agree with the changes, please provide your Acked-by.

The following changes since commit 309f5907a3661821e041ed14645b5d165007b058:

bitbake: Switch to post release version (2016-04-29 07:41:34 +0100)

are available in the git repository at:

https://github.com/kergoth/bitbake bitbake-layers-plugins
https://github.com/kergoth/bitbake/tree/bitbake-layers-plugins

Christopher Larson (4):
bb.utils: add load_plugins from scriptutils bb.utils: use imp.get_suffixes for load_plugins bb.utils: let loaded plugins provide a plugin object
bitbake-layers: convert to plugin-based

 bin/bitbake-layers                 | 1065 ++----------------------------------
 bitbake/lib/bblayers/__init__.py   |    2 +
 bitbake/lib/bblayers/action.py     |  233 ++++++++
 bitbake/lib/bblayers/common.py     |   33 ++
 bitbake/lib/bblayers/layerindex.py |  270 +++++++++
 bitbake/lib/bblayers/query.py      |  499 +++++++++++++++++
 lib/bb/utils.py                    |   31 ++
 7 files changed, 1128 insertions(+), 1005 deletions(-)
 create mode 100644 bitbake/lib/bblayers/__init__.py
 create mode 100644 bitbake/lib/bblayers/action.py
 create mode 100644 bitbake/lib/bblayers/common.py
 create mode 100644 bitbake/lib/bblayers/layerindex.py
 create mode 100644 bitbake/lib/bblayers/query.py
Signature · 1 line
2.8.0