All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <bitbake-devel@lists.openembedded.org>
Cc: toaster@yoctoproject.org
Subject: [PATCH 5/5] bitbake-layers: disable parsing for layerindex commands
Date: Fri, 28 Jul 2017 10:37:22 -0500	[thread overview]
Message-ID: <1501256242-37784-6-git-send-email-mark.hatle@windriver.com> (raw)
In-Reply-To: <1501256242-37784-1-git-send-email-mark.hatle@windriver.com>

From: Paul Eggleton <paul.eggleton@linux.intel.com>

These don't need to access recipe information, so let's not waste the
user's time parsing all recipes.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 lib/bblayers/layerindex.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bblayers/layerindex.py b/lib/bblayers/layerindex.py
index d1dac0b..153b0d9 100644
--- a/lib/bblayers/layerindex.py
+++ b/lib/bblayers/layerindex.py
@@ -132,12 +132,12 @@ class LayerIndexPlugin(ActionPlugin):
         self.do_layerindex_fetch(args)
 
     def register_commands(self, sp):
-        parser_layerindex_fetch = self.add_command(sp, 'layerindex-fetch', self.do_layerindex_fetch)
+        parser_layerindex_fetch = self.add_command(sp, 'layerindex-fetch', self.do_layerindex_fetch, parserecipes=False)
         parser_layerindex_fetch.add_argument('-n', '--show-only', help='show dependencies and do nothing else', action='store_true')
         parser_layerindex_fetch.add_argument('-b', '--branch', help='branch name to fetch (default %(default)s)')
         parser_layerindex_fetch.add_argument('-i', '--ignore', help='assume the specified layers do not need to be fetched/added (separate multiple layers with commas, no spaces)', metavar='LAYER')
         parser_layerindex_fetch.add_argument('layername', nargs='+', help='layer to fetch')
 
-        parser_layerindex_show_depends = self.add_command(sp, 'layerindex-show-depends', self.do_layerindex_show_depends)
+        parser_layerindex_show_depends = self.add_command(sp, 'layerindex-show-depends', self.do_layerindex_show_depends, parserecipes=False)
         parser_layerindex_show_depends.add_argument('-b', '--branch', help='branch name to fetch (default %(default)s)')
         parser_layerindex_show_depends.add_argument('layername', nargs='+', help='layer to query')
-- 
1.8.3.1



  parent reply	other threads:[~2017-07-28 15:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 15:37 [PATCH 0/5] Implement a new remote layer module Mark Hatle
2017-07-28 15:37 ` [PATCH 1/5] lib/layers: Initial layer and layer index implementeation Mark Hatle
2017-08-03 18:05   ` [bitbake-devel] " Paul Eggleton
2017-08-03 18:05     ` Paul Eggleton
2017-08-03 18:17     ` [bitbake-devel] " Mark Hatle
2017-08-03 18:17       ` Mark Hatle
2017-07-28 15:37 ` [PATCH 2/5] bitbake-selftest: Add layers module tests Mark Hatle
2017-07-28 15:37 ` [PATCH 3/5] lib/bblayers: Add support for the new layer modules Mark Hatle
2017-07-28 16:04   ` [bitbake-devel] " Mark Hatle
2017-07-28 16:04     ` Mark Hatle
2017-07-28 15:37 ` [PATCH 4/5] toaster/orm/management/commands/lsupdates.py: Use new layerindex module Mark Hatle
2017-08-03 18:06   ` [bitbake-devel] " Paul Eggleton
2017-08-03 18:06     ` Paul Eggleton
2017-08-03 18:18     ` [bitbake-devel] " Mark Hatle
2017-08-03 18:18       ` Mark Hatle
2017-08-03 22:15       ` [bitbake-devel] " Paul Eggleton
2017-08-03 22:15         ` Paul Eggleton
2017-08-03 22:40         ` [bitbake-devel] " Mark Hatle
2017-08-03 22:40           ` Mark Hatle
2017-07-28 15:37 ` Mark Hatle [this message]
2017-08-04  3:15 [PATCH 0/5 v3] Implement a new remote layer module Mark Hatle
2017-08-04  3:15 ` [PATCH 5/5] bitbake-layers: disable parsing for layerindex commands Mark Hatle

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=1501256242-37784-6-git-send-email-mark.hatle@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=toaster@yoctoproject.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.