Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Peter A. Bigot" <pab@pabigot.com>
To: Christopher Larson <clarson@kergoth.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack
Date: Mon, 06 Apr 2015 18:41:50 -0500	[thread overview]
Message-ID: <552319BE.3020308@pabigot.com> (raw)
In-Reply-To: <CABcZANmh-o58Z5iHW++S30_JP6r3q-8+3-g5hegiwV1_2_OP1Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3784 bytes --]

On 04/06/2015 04:39 PM, Christopher Larson wrote:
>
> On Mon, Apr 6, 2015 at 2:21 PM, Peter A. Bigot <pab@pabigot.com 
> <mailto:pab@pabigot.com>> wrote:
>
>     On 04/06/2015 09:32 AM, Iorga, Cristian wrote:
>
>         Well,
>
>         1. Peter, Otavio: There is not a single doubt about moving to
>         BlueZ 5 as default in 1.9;
>         2. The requested feedback was about the actual implementation;
>         3. Peter: " I do think it's a bit abrupt to make it the
>         default in the first stable release that provides a usable
>         bluez5."; The change is intended for 1.9,the release that will
>         come in October 2015. Do you think that it is still abrupt?
>         BlueZ5 is present in YP as an alternative BT stack from 1.7,
>         it will still be a fully supported alternative in the
>         (unreleased) 1.8 (as far as upstream goes as "fully
>         supported", of course), it will the default BT stack in 1.9
>         (coming October 2015), while BlueZ 4 will still be supported
>         as an obsolete, but still functional alternative; for 2.0 (why
>         1.10??), if that will be the name, all mechanisms for having
>         BlueZ alternatives will be removed, and BlueZ 5 will be the
>         only official supported BT stack. That's more than two years
>         for a transition, is that too soon??
>
>
>     Sorry; I got confused about which numbers were which and where
>     things are in the release cycle.  I didn't consider bluez5 to be
>     generally usable until the patches that were merged in February
>     for what will be 1.8.  Since both bluez4 and bluez5 will be
>     available in 1.8, making the default bluez5 in 1.9 is fine, and
>     removing bluez4 in what follows is fine.  (I have no idea what
>     version is intended to follow 1.9, but if it isn't some huge
>     backwards-incompatible change I would expect it to be 1.10 rather
>     than 2.0.  That's just from the way I normally manage versioning
>     myself.)
>
>     I have no objections to the technical approach in the patch (it's
>     consistent with what I had in mind when I created that bbclass)
>     but I'm not familiar with how DISTRO_FEATURES_BACKFILL is supposed
>     to work so abstain from further comment.
>
>
> Backfill lets you add features which become default in DISTRO_FEATURES 
> even when a distro overrides DISTRO_FEATURES, unless they explicitly 
> add them to DISTRO_FEATURES_BACKFILL_CONSIDERED.

Thank you.  So, if I understand correctly, the effect of adding bluez5 
to DISTRO_FEATURES_BACKFILL while keeping the current logic:

# bluetooth support on the platform:
# "" if bluetooth is not in DISTRO_FEATURES
# else "bluez5" if bluez5 is in DISTRO_FEATURES
# else "bluez4"

is that bluez5 becomes the default and is in DISTRO_FEATURES 
automatically, and it stays the default even if bluez4 is also in 
DISTRO_FEATURES unless somebody adds bluez5 to 
DISTRO_FEATURES_BACKFILL_CONSIDERED at which point bluez4 takes precedence.

If that understanding is correct, and reviewing 
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-features-backfill, 
it's not clear to me that it's the right approach.  We're not 
backfilling "bluetooth", which remains optional and continues to control 
whether either "bluez4" or "bluez5" is relevant.  We're changing the 
default provider of bluetooth services, something that I think can 
reasonably be changed between releases, and something that 1.8 already 
controls (via explicit specification of bluez4 or bluez5 in 
DISTRO_FEATURES).

In the absence of more detail on why using DISTRO_FEATURES_BACKFILL is a 
better solution I prefer Cristian's original approach.

Peter


[-- Attachment #2: Type: text/html, Size: 5538 bytes --]

  reply	other threads:[~2015-04-06 23:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03 14:13 [PATCH 0/5] Switch to BlueZ 5.x as default Bluetooth stack Cristian Iorga
2015-04-03 14:13 ` [PATCH 1/5] bluez5: upgrade to 5.29 Cristian Iorga
2015-04-03 19:01   ` Jack Mitchell
2015-04-03 14:13 ` [PATCH 2/5] bluez: remove recipes collection Cristian Iorga
2015-04-03 14:13 ` [PATCH 3/5] maintainers.inc: remove info related to bluez4 Cristian Iorga
2015-04-03 14:13 ` [PATCH 4/5] upstream_tracking.inc: bluez4 removed from oe-core Cristian Iorga
2015-04-03 14:13 ` [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack Cristian Iorga
2015-04-05 21:40   ` Burton, Ross
2015-04-06  7:31     ` Iorga, Cristian
2015-04-06 12:57       ` Peter A. Bigot
2015-04-06 13:18         ` Otavio Salvador
2015-04-06 14:32           ` Iorga, Cristian
2015-04-06 21:21             ` Peter A. Bigot
2015-04-06 21:39               ` Christopher Larson
2015-04-06 23:41                 ` Peter A. Bigot [this message]
2015-04-14 13:28                   ` Burton, Ross
2015-04-14 15:38                     ` Christopher Larson
2015-04-15 15:05                       ` Burton, Ross
2015-04-07 10:55             ` Martin Jansa
2015-04-07 11:21               ` Iorga, Cristian
2015-04-07 12:35                 ` Martin Jansa
2015-04-07 10:27   ` Tanu Kaskinen
2015-04-07 11:23     ` Iorga, Cristian
2015-04-07 11:41       ` Tanu Kaskinen
2015-04-07 11:51         ` Iorga, Cristian
2015-04-07 12:36           ` Tanu Kaskinen
2015-04-07 12:44             ` Martin Jansa
2015-04-07 12:46               ` Tanu Kaskinen
2015-04-07 13:02                 ` Martin Jansa
2015-04-07 20:16                   ` Tanu Kaskinen

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=552319BE.3020308@pabigot.com \
    --to=pab@pabigot.com \
    --cc=clarson@kergoth.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio@ossystems.com.br \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox