All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: bitbake-devel <bitbake-devel@lists.openembedded.org>,
	openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [bitbake-devel] [RFC PATCH] data_smart: Drop expand parameter default
Date: Fri, 19 Jun 2015 09:24:40 +0100	[thread overview]
Message-ID: <1434702280.14710.104.camel@linuxfoundation.org> (raw)
In-Reply-To: <55837D86.3060005@windriver.com>

On Fri, 2015-06-19 at 10:25 +0800, Robert Yang wrote:
> 
> On 06/18/2015 10:17 PM, Richard Purdie wrote:
> > Rather than just d.getVar(X), force the use of the more explict d.getVar(X, False)
> > since at some point in the future, having the default of expansion would
> > be nice. This is the first step towards that.
> 
> Did you mean that in the future:
> 
> d.getVar("PN") equals d.getVar("PN", True) ?
> 
> That would be great since expand=True uses more frequently
> than False.

The idea would be to get there, yes. How quickly we could do it is a
good question but this would be the first step.

Cheers,

Richard



WARNING: multiple messages have this Message-ID (diff)
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: bitbake-devel <bitbake-devel@lists.openembedded.org>,
	openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [RFC PATCH] data_smart: Drop expand parameter default
Date: Fri, 19 Jun 2015 09:24:40 +0100	[thread overview]
Message-ID: <1434702280.14710.104.camel@linuxfoundation.org> (raw)
In-Reply-To: <55837D86.3060005@windriver.com>

On Fri, 2015-06-19 at 10:25 +0800, Robert Yang wrote:
> 
> On 06/18/2015 10:17 PM, Richard Purdie wrote:
> > Rather than just d.getVar(X), force the use of the more explict d.getVar(X, False)
> > since at some point in the future, having the default of expansion would
> > be nice. This is the first step towards that.
> 
> Did you mean that in the future:
> 
> d.getVar("PN") equals d.getVar("PN", True) ?
> 
> That would be great since expand=True uses more frequently
> than False.

The idea would be to get there, yes. How quickly we could do it is a
good question but this would be the first step.

Cheers,

Richard



  reply	other threads:[~2015-06-19  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 14:17 [RFC PATCH] data_smart: Drop expand parameter default Richard Purdie
2015-06-19  2:25 ` [bitbake-devel] " Robert Yang
2015-06-19  2:25   ` Robert Yang
2015-06-19  8:24   ` Richard Purdie [this message]
2015-06-19  8:24     ` Richard Purdie

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=1434702280.14710.104.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=liezhi.yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.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.