From: Uwe Kleine-König Date: Mon, 6 Oct 2025 11:33:52 +0000 (+0200) Subject: recipeutils/get_recipe_upstream_version: pass ud.name instead of 'default' X-Git-Tag: uninative-5.0~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb36e8a62d7d31b75b3ddc6b84c1bdee09ebbc60;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git recipeutils/get_recipe_upstream_version: pass ud.name instead of 'default' While all but the osc fetcher ignore the third parameter of their latest_revision implementation, 'default' isn't a valid name in general. Since commit 2515fbd10824 ("fetch: Drop multiple branch/revision support for single git urls") in bitbake a fetcher only handles a single branch/revision and the only sensible thing to pass is `ud.name`. Signed-off-by: Uwe Kleine-König Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 102789ce73..54bc3d7666 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py @@ -1073,7 +1073,7 @@ def get_recipe_upstream_version(rd): upversion = None revision = None try: - revision = ud.method.latest_revision(ud, rd, 'default') + revision = ud.method.latest_revision(ud, rd, ud.name) upversion = pv if revision != ud.revision: upversion = upversion + "-new-commits-available"