On Wed, 2026-09-16 at 16:05 +0200, Yoann Congal wrote: > On Wed Sep 2, 2026 at 11:59 AM CEST, Daniel Turull via lists.openembedded.org > wrote: > > From: Chen Qi <[email protected]> > > > > We want the ability to do stable version upgrades for recipes. > > To this end, add an optional stable_upgrade parameter to the > > get_recipe_upgrade_status function, which defaults to False and > > when enabled will try to get the latest stable version of the recipe. > > > > The UPSTREAM_STABLE_RELEASE_REGEX is respected. If a recipe sets > > it, it will be used as the filter_regex. If it's not set explicitly, > > it means that there's no stable updates or the recipe hasn't been > > checked yet. > > > > Signed-off-by: Chen Qi <[email protected]> > > Signed-off-by: Antonin Godard <[email protected]> > > Signed-off-by: Richard Purdie <[email protected]> > > (cherry picked from commit 1ed8fdda035dcc21f3df71c0c996973224f4f683) > > Signed-off-by: Daniel Turull <[email protected]> > > --- > > meta/lib/oe/recipeutils.py | 23 +++++++++++++++++------ > > 1 file changed, 17 insertions(+), 6 deletions(-) > > > > diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py > > index c6604f536d..7c1df518a8 100644 > > --- a/meta/lib/oe/recipeutils.py > > +++ b/meta/lib/oe/recipeutils.py > > @@ -1009,7 +1009,7 @@ def get_recipe_pv_with_pfx_sfx(pv, uri_type): > > > > return (pv, pfx, sfx) > > > > -def get_recipe_upstream_version(rd): > > +def get_recipe_upstream_version(rd, stable_upgrade): > > I plan to backport the follow-up as well: > 6f8ae1ecf38 (lib/oe/recipeutils: make stable_upgrade argument optional in > get_recipe_upstream_version(), 2026-06-08) > > What do you think? Yes, I think we should backported so it is the same as in master.
Daniel > > Thanks!
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#245977): https://lists.openembedded.org/g/openembedded-core/message/245977 Mute This Topic: https://lists.openembedded.org/mt/121048520/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
