All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Yocto Project and OE - Where now?
Date: Tue, 18 Jan 2011 23:05:15 +0100	[thread overview]
Message-ID: <ih52qr$l1v$1@dough.gmane.org> (raw)
In-Reply-To: <4D35FC8B.1090404@mentor.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18-01-11 21:48, Tom Rini wrote:
> On 01/18/2011 01:12 PM, Koen Kooi wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 18-01-11 17:54, Tom Rini wrote:
>>> On 01/18/2011 01:05 AM, Otavio Salvador wrote:
>>>> On Tue, Jan 18, 2011 at 05:21, Graeme Gregory<dp@xora.org.uk>   wrote:
>>>>> On 17/01/2011 19:01, Frans Meulenbroeks wrote:
>>>>>> - where possible stick to one recipe per package. This reduces the
>>>>>> maintenance work and reduces the QA nightmare of lots of different
>>>>>> permutations.
>>>>>> I feel one recipe per package should be the common case for
>>>>>> applications, and preferably also for libs (although I am well aware
>>>>>> that especially in the latter case multiple versions cannot always be
>>>>>> avoided).
>>>>>
>>>>> OE is not a distro so this is a non starter already, please don't bog
>>>>> down this discussion by re-opening this again. Angstrom 2008, Angstrom
>>>>> 2010, kaelios and slugos are all released distributions with different
>>>>> versions of apps just as a starter and they arent even near the total
>>>>> number of distros in OE.
>>>>
>>>> I disagree. I think having too many versions of a package just makes
>>>> difficult to get things done:
>>>>
>>>>    - it increases the amount of maintainence work;
>>>>    - has a bigger time to get bugs spoted;
>>>>
>>>> Users of old distros ought to use a specific repository and branch.
>>>> Master ought to be kept clean for 'next distro release'.
>>>
>>> I agree, at least going forward.  We must make it easier for
>>> distributions to say "here is my 'stable' release" and "here is my
>>> development release".
>>>
>>> First, I'm not picking on Angstrom here, really, I swear.  It's just a
>>> good example.
>>>
>>> But we also don't want to be unreasonable or unbending here.  We'll have
>>> to have multiple udevs (due to having different kernel versions as some
>>> HW isn't on the latest and greatest).  And if DistroA says they really
>>> want to stick to busybox 1.17.4 for a while, we should let that happen
>>> too.  But I don't think we want to have to carry on the recipes that
>>> angstrom-2008.1 wants and angstrom-2010.x wants and angstrom-2011.x
>>> wants and angstrom-2012.x want into 2013, in master.
>>
>> And noone says you should. At some point 2010.x works well enough to
>> force 2008.1 into hiding and start 201Y.x. The current situation where
>> the "unstable" 2010.x ended up in a product is largely due to the gcc
>> people breaking the NEON intrinsics interface API in between 4.3 and 4.5.
> 
> ick, I didn't know about that...

If anyone asks why uhd doesn't build for angstrom 2008, but it does
build for 2010, you now know why...

>>> For example, at some point we want to switch to libtool 2.4 only.  And
>>> that would certainly be a headache for angstrom-2008.1 (but we're glad,
>>> really! for angstrom-2010.x using 2.4 and testing and fixing things). So
>>> wouldn't it be a good thing to be able to say that if you want
>>> angstrom-2008.1 you do ... this ... and get the layers that give a good
>>> stable 2008.1, based on whatever policy Angstrom wants for doing
>>> updates?
>>
>> In the past the angstrom people created a stable branch and supported
>> that for a given release. The same can be done in the layering script,
>> where it would just lock down to certain revisions of various layers.
> 
> So, I think we agree.  Distros should be saying "if you want our stable
> release you should be over here..." and if you want our development WIP,
> you should be over here.

Exactly. Although it would make sense to have them coexist in the same
tree for a while while sorting out infrastructure. There are only so
many work hours in a day :)

>> But in the end if boils down to "Does OE wants to make life hard for
>> DISTROs or easy". Frans is firmly in the "make it hard" camp, I hope
>> others have a saner point of view.
>>
>> If you're forcing 90% of your users to put e.g. udev_162.bb in their
>> layer you're doing it wrong. But you're also doing it wrong if you have
>> 20 udev recipes :)
> 
> I think we also agree here.  But what's the rule of thumb(s) we want to
> have, to provide enough choice without too much headache?  As I said
> elsewhere, .inc files should probably be used a whole lot more, to help
> with the problem of recipe bugfixing and N recipes for an app with the
> problem.  We should probably also say that in addition to the "keep the
> last GPLv2+ version around" rule of thumb we should also have a "keep
> the latest stable release" around too.  But what else?  To use busybox
> as an example, do we really need to keep 1.18.0 and 1.18.1 around when
> we have 1.18.2?  How about if we make the delta between the 3 be just
> the SRC_URI + checksums?

Something like:

* keep gplv2 around if upstream switched to gplv3 at some point
* allow old stable, stable and dev (e.g. glib 2.24, 2.26 and 2.27+git)
* allow active contributers some leeway to test multiple subreleases
(e.g. busybox 1.18.[0-99]
* The maintainer can have as many versions as he wants to.
* toolchain is exempt from all that since having 20 binutils versions is
sometimes needed when building for 20 different archs[1].

But I seriously think we are overengineering this. We should have people
actually working on oe-core and meta-oe reach a consensus when
encountering problems.

regards,

Koen

[1] Although you can cheat by having different SRCREVs for each arch in
binutils_git.bb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNNg6aMkyGM64RGpERAjdvAJoDSyv62VkZhr1Gs5pdWIYd0BZOdwCfYAjG
ManP61a+tHnNNuaC3a1kMWU=
=Wlmx
-----END PGP SIGNATURE-----




  reply	other threads:[~2011-01-18 22:06 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 17:49 Yocto Project and OE - Where now? Richard Purdie
2011-01-17 15:15 ` Koen Kooi
2011-01-17 19:01 ` Frans Meulenbroeks
2011-01-18  7:21   ` Graeme Gregory
2011-01-18  8:05     ` Otavio Salvador
2011-01-18  8:47       ` Koen Kooi
2011-01-18  9:17         ` Richard Purdie
2011-01-18  9:12       ` Graeme Gregory
2011-01-18 10:15         ` Richard Purdie
2011-01-18 11:05           ` Frans Meulenbroeks
2011-01-18 11:31       ` Mark Brown
2011-01-18 18:45         ` Frans Meulenbroeks
2011-01-18 16:54       ` Tom Rini
2011-01-18 20:12         ` Koen Kooi
2011-01-18 20:48           ` Tom Rini
2011-01-18 22:05             ` Koen Kooi [this message]
2011-01-19  8:45               ` Frans Meulenbroeks
2011-01-19  8:58                 ` Graeme Gregory
2011-01-19  9:16                   ` Frans Meulenbroeks
2011-01-19  9:25                 ` Frans Meulenbroeks
2011-01-22 18:16                   ` Tom Rini
2011-01-23 10:11                     ` Frans Meulenbroeks
2011-01-24 17:45                       ` Tom Rini
2011-01-18 22:48             ` Khem Raj
2011-01-19  8:46               ` Frans Meulenbroeks
2011-01-19  8:52                 ` Graeme Gregory
2011-01-19  9:12                   ` Frans Meulenbroeks
2011-01-19  9:19                     ` Graeme Gregory
2011-01-19 11:31                     ` Joshua Lock
2011-01-19 12:44                       ` Frans Meulenbroeks
2011-01-19 15:09                         ` Mike Westerhof
2011-01-19 15:44                           ` Frans Meulenbroeks
2011-01-19 18:03                           ` Khem Raj
2011-01-19 21:55                             ` C Michael Sundius
2011-01-19 22:01                               ` C Michael Sundius
2011-01-19 22:22                                 ` Philip Balister
2011-01-19 22:23                               ` Khem Raj
2011-01-19 22:46                                 ` C Michael Sundius
2011-01-20 10:20                                 ` Frans Meulenbroeks
2011-01-20 11:04                                   ` Graeme Gregory
2011-01-20 13:16                                     ` Frans Meulenbroeks
2011-01-19 16:56                 ` Khem Raj
2011-01-22 18:20                 ` Tom Rini
2011-01-23  2:05                   ` Otavio Salvador
2011-01-19  7:47           ` Frans Meulenbroeks
2011-01-19  8:16             ` Martin Jansa

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='ih52qr$l1v$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@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.