All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: 张忠山 <zzs213@126.com>, bitbake-devel@lists.openembedded.org
Subject: Re: question about BBVERSIONS OVERRIDES and PREFERRED_VERSION
Date: Thu, 25 Aug 2016 12:50:31 +0100	[thread overview]
Message-ID: <1472125831.16712.144.camel@linuxfoundation.org> (raw)
In-Reply-To: <d14aa6a9-7e47-55ff-aa24-d9e3892fa677@126.com>

On Mon, 2016-08-22 at 17:56 +0800, 张忠山 wrote:
> But, I'm not sure this work for other env.
> 
> I don't know why just lower case override permited in  this function.
> 
> Version string just include digit and point is very common, but 
> islower() return False for these strings.
> 
> This behavior is intended or a bug?
> Or has another way to solve my problem?

There was a discussion a while ago and we decided to only have bitbake
accept lower case overrides. I believe that the numeric piece isn't an
issue but the decimal point character probably is.

The reason for this was to try and avoid some of the performance costs
where any variable with a "_" in the name was potentially an override
character and this was costly for variable processing.

Cheers,

Richard



  reply	other threads:[~2016-08-25 11:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21 15:46 question about BBVERSIONS OVERRIDES and PREFERRED_VERSION 张忠山
2016-08-22  6:55 ` 张忠山
2016-08-22  9:56   ` 张忠山
2016-08-25 11:50     ` Richard Purdie [this message]
2016-08-25 12:25       ` 张忠山

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=1472125831.16712.144.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=zzs213@126.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.