]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipeutils/get_recipe_upstream_version: pass ud.name instead of 'default'
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 6 Oct 2025 11:33:52 +0000 (13:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Oct 2025 09:27:02 +0000 (10:27 +0100)
commitcb36e8a62d7d31b75b3ddc6b84c1bdee09ebbc60
tree9c57371d5da41730b02de1f4f5d5f725e0e840a9
parent2f2ca84a738f7e40ef139e57a2a03450640153dd
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 <u.kleine-koenig@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/recipeutils.py