All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC master][PATCH 0/4] Convert bitbake-layers to plugin-based
@ 2016-04-30 19:40 Christopher Larson
  2016-04-30 19:42 ` Christopher Larson
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Larson @ 2016-04-30 19:40 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

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

-- 
2.8.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-30 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-30 19:40 [RFC master][PATCH 0/4] Convert bitbake-layers to plugin-based Christopher Larson
2016-04-30 19:42 ` Christopher Larson

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.