On Tue, 12 May 2026 at 05:26, <[email protected]> wrote:
> +STABLE_VERSION_REGEX = "${@get_majmin_version_regex(d)}"
> +UPSTREAM_STABLE_RELEASE_REGEX = "${STABLE_VERSION_REGEX}\..+"
I think we can make this even more universal:
UPSTREAM_STABLE_RELEASE_REGEX ?= "${STABLE_VERSION_REGEX}.*"
E.g.
- use ?= so the variable can be overridden with a custom
recipe-specific expression (that still has STABLE_VERSION_REGEX in it)
- do not require that . separates the stable series and stable release
part (this will allow openssh to inherit the class)
- do not require that the stable release suffix is non-empty (this
will cover e.g. systemd when there are no stable maintenance releases
yet, e.g. if PV is at 261 but 261.1 is not yet out, then 261 will be
reported as latest stable release, which is more accurate than 'no
stable release was found')
Other than that, looks good.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#236859):
https://lists.openembedded.org/g/openembedded-core/message/236859
Mute This Topic: https://lists.openembedded.org/mt/119269484/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-