diff mbox series

[yocto-autobuilder-helper] release-parser: Add release maintainer info

Message ID 20260313002249.756178-2-yoann.congal@smile.fr
State New
Headers show
Series [yocto-autobuilder-helper] release-parser: Add release maintainer info | expand

Commit Message

Yoann Congal March 13, 2026, 12:22 a.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

The contributor guide[0] states:
> The list of stable branches along with the status and maintainer for
> each branch can be obtained from the Releases[1] page.
But this info is not currently present.

To add it to the Release page we need to add it to releases.json first.

(Partial) output looks like:
$ jq 'map({release_codename, maintainer})' releases.json
[
  {
    "release_codename": "Wrynose",
    "maintainer": "Richard Purdie <richard.purdie@linuxfoundation.org>"
  },
  {
    "release_codename": "Whinlatter",
    "maintainer": "Yoann Congal <yoann.congal@smile.fr>"
  },
  {
    "release_codename": "Walnascar",
    "maintainer": "N/A"
  },
...
  {
    "release_codename": "Scarthgap",
    "maintainer": "Yoann Congal <yoann.congal@smile.fr>"
  },
...
  {
    "release_codename": "Kirkstone",
    "maintainer": "Yoann Congal <yoann.congal@smile.fr>"
  },
  {
    "release_codename": "Honister",
    "maintainer": "N/A"
  },
...

[0]: https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#submitting-changes-to-stable-release-branches
[1]: https://www.yoctoproject.org/development/releases/

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/release-parser.py | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/scripts/release-parser.py b/scripts/release-parser.py
index e07fd71..a3b1cea 100755
--- a/scripts/release-parser.py
+++ b/scripts/release-parser.py
@@ -19,9 +19,12 @@  SUPPORTED_RELEASES = {
      "yocto-5.0": "LTS until Apr. 2028",
      "yocto-5.3": "Stable Release until May 2026",
 }
+
 CURRENT_ACTIVE_DEV_CODENAME = "Wrynose"
 CURRENT_ACTIVE_DEV_VERSION = "6.0"
+CURRENT_ACTIVE_DEV_MAINTAINER = "Richard Purdie <richard.purdie@linuxfoundation.org>"
 CURRENT_STABLE_BRANCH = "5.3"
+CURRENT_STABLE_MAINTAINER = "Yoann Congal <yoann.congal@smile.fr>"
 
 repo = Repo(GIT_REPO)
 
@@ -89,6 +92,7 @@  def get_git_tags():
             release_notes = ""
 
         status = SUPPORTED_RELEASES.get(branch, "EOL")
+        maintainer = CURRENT_STABLE_MAINTAINER if branch in SUPPORTED_RELEASES else "N/A"
 
         # Create a dictionary for the series entry
         tag_dict = {
@@ -101,6 +105,7 @@  def get_git_tags():
             "status": status,
             "download": download,
             "release_notes": release_notes,
+            "maintainer": maintainer
         }
         tag_list.append(tag_dict)
 
@@ -120,6 +125,7 @@  tags.append(
         "releases" : list(e.name for e in filter(lambda e: e.name.startswith(CURRENT_ACTIVE_DEV_VERSION), repo.tags)),
         "status": "Active Development",
         "download": "",
+        "maintainer": CURRENT_ACTIVE_DEV_MAINTAINER,
     }
 )