mbox series

[wrynose,00/20] backport inherit upstream-stable-release-point

Message ID 20260902095920.2840293-1-daniel.turull@ericsson.com
Headers show
Series backport inherit upstream-stable-release-point | expand

Message

Daniel Turull Sept. 2, 2026, 9:59 a.m. UTC
From: Daniel Turull <daniel.turull@ericsson.com>

This series backports 'upstream-stable-release-point' support from
OE-Core master to wrynose. The first three commits are the
infrastructure, cherry-picked from the OE-Core originals:

  - recipeutils: add optional stable_upgrade parameter to
    get_recipe_upgrade_status, which passes UPSTREAM_STABLE_RELEASE_REGEX
    to the fetch method as filter_regex
  - upstream-stable-release-point.bbclass, which derives
    UPSTREAM_STABLE_RELEASE_REGEX from the recipe version so that stable
    point-release upgrades can be recognised
  - devtool/upgrade.py: add --stable option, the user-facing entry point
    that enables stable-only upgrade checking

The remaining 17 commits make the corresponding recipes inherit this
bbclass.

A companion bitbake series (filter_regex support for
latest_versionstring, also by Chen Qi) is sent separately against
bitbake 2.18. Without it the --stable option requests a
filter_regex parameter that older fetch2 implementations do not accept.

Each commit is cherry-picked with -x from the OE-Core original. Wrynose
carries older versions of several recipes, so those commits were applied
to the corresponding wrynose recipe file (e.g. git_2.53.0.bb rather than
git_2.55.0.bb); the adapted commits carry an 'Adapted for wrynose' note
in the commit message.

Pending TSC approval. Request sent.

Chen Qi (3):
  recipeutils: add optional stable_upgrade parameter to
    get_recipe_upgrade_status
  upstream-stable-release-point.bbclass: add bbclass for stable point
    upgrade
  devtool/upgrade.py: add --stable option

Daniel Turull (17):
  systemd: inherit upstream-stable-release-point
  glib-2.0: inherit upstream-stable-release-point
  dbus: inherit upstream-stable-release-point
  xz: inherit upstream-stable-release-point
  git: inherit upstream-stable-release-point
  perl: inherit upstream-stable-release-point
  libxml2: inherit upstream-stable-release-point
  python3: inherit upstream-stable-release-point
  openssl: inherit upstream-stable-release-point
  binutils: inherit upstream-stable-release-point
  libgcrypt: inherit upstream-stable-release-point
  sqlite3: inherit upstream-stable-release-point
  lttng-tools: inherit upstream-stable-release-point
  util-linux: inherit upstream-stable-release-point
  lttng-ust: inherit upstream-stable-release-point
  babeltrace2: inherit upstream-stable-release-point
  lttng-modules: inherit upstream-stable-release-point

 .../upstream-stable-release-point.bbclass     | 21 +++++++++++++++++
 meta/lib/oe/recipeutils.py                    | 23 ++++++++++++++-----
 .../openssl/openssl_3.5.7.bb                  |  5 ++++
 meta/recipes-core/dbus/dbus_1.16.2.bb         |  6 +++++
 meta/recipes-core/glib-2.0/glib.inc           |  4 +++-
 meta/recipes-core/libxml/libxml2_2.15.2.bb    |  4 ++++
 meta/recipes-core/systemd/systemd.inc         |  5 ++++
 meta/recipes-core/util-linux/util-linux.inc   |  4 ++++
 meta/recipes-devtools/binutils/binutils.inc   |  5 ++++
 meta/recipes-devtools/git/git_2.53.0.bb       |  4 ++++
 meta/recipes-devtools/perl/perl_5.42.0.bb     |  2 +-
 .../recipes-devtools/python/python3_3.14.6.bb |  4 ++++
 meta/recipes-extended/xz/xz_5.8.2.bb          |  4 ++++
 .../recipes-kernel/lttng/babeltrace2_2.1.2.bb |  4 +++-
 .../lttng/lttng-modules_2.14.4.bb             |  6 +++++
 .../lttng/lttng-tools_2.14.1.bb               |  2 +-
 meta/recipes-kernel/lttng/lttng-ust_2.14.0.bb |  4 +++-
 .../libgcrypt/libgcrypt_1.12.1.bb             |  2 +-
 meta/recipes-support/sqlite/sqlite3.inc       |  2 +-
 scripts/lib/devtool/upgrade.py                |  9 +++++---
 20 files changed, 104 insertions(+), 16 deletions(-)
 create mode 100644 meta/classes-recipe/upstream-stable-release-point.bbclass