All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Larson <kergoth@gmail.com>
To: bitbake-devel@lists.openembedded.org
Cc: Christopher Larson <chris_larson@mentor.com>
Subject: [RFC master][PATCH 0/4] Convert bitbake-layers to plugin-based
Date: Sat, 30 Apr 2016 12:40:50 -0700	[thread overview]
Message-ID: <cover.1462040905.git.chris_larson@mentor.com> (raw)

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



             reply	other threads:[~2016-04-30 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-30 19:40 Christopher Larson [this message]
2016-04-30 19:42 ` [RFC master][PATCH 0/4] Convert bitbake-layers to plugin-based Christopher Larson

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.1462040905.git.chris_larson@mentor.com \
    --to=kergoth@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=chris_larson@mentor.com \
    /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.