Skip to contentSkip to conversation

busybox recipe isappearances

DISCUSSION Koen Kooi 7 participants 10 messages Oct 19, 2008 – Oct 27, 2008

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

Hi,

Why are people removing busybox recipes that angstrom has in PREFERRED_VERSIONS? QA gets really hard to do if things in PREFERRED_VERSIONS dissappear and unwanted versions get built....

#1 lore raw

Am Sunday 19 October 2008 18:11:57 schrieb Koen Kooi:

Quoted 5 lines

Hi,

Why are people removing busybox recipes that angstrom has in PREFERRED_VERSIONS? QA gets really hard to do if things in PREFERRED_VERSIONS dissappear and unwanted versions get built....

Ack. Been bitten my that more than once. We should either leave the versions and just add newer ones or change the preferred-providers to match (if sure it's a minor update of a stable version).

(This time it was an error on my side though.)

Signature · 1 line
:M:
#2 lore raw
Quoted 5 lines · Michael 'Mickey' Lauer

Ack. Been bitten my that more than once. We should either leave the versions and just add newer ones or change the preferred-providers to match (if sure it's a minor update of a stable version).

(This time it was an error on my side though.)

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

Making an explicit distinction between minor and major updates as far as PREFERRED_VERSION goes is quite an interesting idea though. I can certainly imagine that I might, for example, want to pin libglib to 2.14.x but be prepared to accept minor version updates within that series. I don't think there's currently any syntax to allow that but it would be a neat enhancement.

p.

#3 lore raw
Quoted 13 lines · Phil Blundell
Quoted 5 lines · Michael 'Mickey' Lauer

Ack. Been bitten my that more than once. We should either leave the versions and just add newer ones or change the preferred-providers to match (if sure it's a minor update of a stable version).

(This time it was an error on my side though.)

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

Quoted 6 lines

Making an explicit distinction between minor and major updates as far as PREFERRED_VERSION goes is quite an interesting idea though. I can certainly imagine that I might, for example, want to pin libglib to 2.14.x but be prepared to accept minor version updates within that series. I don't think there's currently any syntax to allow that but it would be a neat enhancement.

I've also hit a problem where we want PREFERRED_VERSION = "3.4.5+svnrX" where X can vary with SRCREV. Allowing a * character in the PREFERRED_VERSION fields could be useful for both problems?

Cheers,

Richard

#4 lore raw
In reply to Phil Blundell

Am Sunday 19 October 2008 19:46:55 schrieb Phil Blundell:

Quoted 5 lines · Michael 'Mickey' Lauer
Quoted 4 lines

Ack. Been bitten my that more than once. We should either leave the versions and just add newer ones or change the preferred-providers to match (if sure it's a minor update of a stable version).

Quoted 7 lines
Quoted 1 line

(This time it was an error on my side though.)

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

That's true, however I always feel the urge of cleaning up when I see dozens or recipes for the same software [besides the amount of increased parsing efforts if we really were to keep everything). I'd rather have the rough guideline of keeping major (trusted) releases. At the end of the day, everything is in the archives.

Quoted 6 lines

Making an explicit distinction between minor and major updates as far as PREFERRED_VERSION goes is quite an interesting idea though. I can certainly imagine that I might, for example, want to pin libglib to 2.14.x but be prepared to accept minor version updates within that series. I don't think there's currently any syntax to allow that but it would be a neat enhancement.

Agreed, that would be helpful.

Signature · 1 line
:M:
#5 lore raw
Quoted 7 lines · Michael 'Mickey' Lauer

Am Sunday 19 October 2008 19:46:55 schrieb Phil Blundell:

Quoted 5 lines

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

Quoted 5 lines

That's true, however I always feel the urge of cleaning up when I see dozens or recipes for the same software [besides the amount of increased parsing efforts if we really were to keep everything). I'd rather have the rough guideline of keeping major (trusted) releases. At the end of the day, everything is in the archives.

If parsing time were to become a big issue then one could imagine ways to solve that in bitbake. For example, one could arrange for a command like "bitbake --disregard-old-versions" to parse all the files once, identify those versions which are older than the PREFERRED ones (whether set explicitly or automatically), and blacklist these old versions so that they are never parsed again. The effect would be a bit like having an automatically-maintained BBMASK though of course the implementation would probably be slightly different.

As for old versions being in the archives, that's true, but it seems like one could easily get into a kind of ping-pong thing where you delete an old version, I pull it out of the archives again, someone else now notices this "old cruft" and deletes it again, and so on. I can imagine that being frustrating for all parties.

p.

#6 lore raw
Quoted 22 lines · Phil Blundell
Quoted 10 lines · Michael 'Mickey' Lauer

Am Sunday 19 October 2008 19:46:55 schrieb Phil Blundell:

Quoted 6 lines

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

That's true, however I always feel the urge of cleaning up when I see dozens or recipes for the same software [besides the amount of increased parsing efforts if we really were to keep everything). I'd rather have the rough guideline of keeping major (trusted) releases. At the end of the day, everything is in the archives.

If parsing time were to become a big issue then one could imagine ways to solve that in bitbake. For example, one could arrange for a command like "bitbake --disregard-old-versions" to parse all the files once, identify those versions which are older than the PREFERRED ones (whether set explicitly or automatically), and blacklist these old versions so that they are never parsed again. The effect would be a bit like having an automatically-maintained BBMASK though of course the implementation would probably be slightly different.

Quoted 6 lines

As for old versions being in the archives, that's true, but it seems like one could easily get into a kind of ping-pong thing where you delete an old version, I pull it out of the archives again, someone else now notices this "old cruft" and deletes it again, and so on. I can imagine that being frustrating for all parties.

This could be avoided if both parties would read the commit messages ;)

Quoted 9 lines

p.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw
In reply to Phil Blundell

Hi,

Quoted 5 lines · Phil Blundell

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

I share this opinion. Since we do not know what people are doing with OE there is no way to find out if a recipe is used or not. In fact I can imagine a lot of situations in which you might want to use an older recipe.

Why do we delete old recipes? We do not do this with old software releases.

Greetings

Florian

Signature · 5 lines
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-15
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        [email protected]
                                        http://www.kernelconcepts.de/en
#8 lore raw
Quoted 9 lines · Florian Boor

Hi,

Quoted 5 lines · Phil Blundell

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

Quoted 8 lines

I share this opinion. Since we do not know what people are doing with OE there
is no way to find out if a recipe is used or not. In fact I can imagine a lot of
situations in which you might want to use an older recipe.

Why do we delete old recipes? We do not do this with old software releases.

I think that a simple policy of retaining, say, the latest 3 or 4 recipes for the current version of a package, and the last 2 for the 2 earlier software versions, might make people's lives easier and also not "clutter up" the directories with dozens of out-of-date / non-working versions. It shouldn't be hard to automate a policy like that, either.

- Eliyahu
--
Eliyahu Skoczylas +972 (54) 214-1505
If <[email protected]> bounces, please use <[email protected]>, instead.

#9 lore raw
In reply to Florian Boor

Am Thursday 23 October 2008 11:39:22 schrieb Florian Boor:

Quoted 7 lines
Quoted 5 lines · Phil Blundell

It's long been my view that we should just add newer ones and leave the old ones alone. There's really no reason to delete old recipes and, even if you check for PREFERRED_VERSIONs in the git tree, there is no real way to know who else might be relying on the version you are about to delete.

Quoted 5 lines

I share this opinion. Since we do not know what people are doing with OE there is no way to find out if a recipe is used or not. In fact I can imagine a lot of situations in which you might want to use an older recipe.

Why do we delete old recipes? We do not do this with old software releases.

I think it's really messy and confusing to keep all version of recipes we ever had. I'd rather keep only major releases. I know, most of that is taste.

Signature · 1 line
:M: