@@ -12,6 +12,12 @@ import semver
GIT_REPO = "~/git/mirror/yocto-docs"
+SUPPORTED_RELEASES = {
+ "yocto-4.0": "LTS until Apr. 2026",
+ "yocto-5.0": "LTS until Apr. 2028",
+ "yocto-5.3": "Stable Release until Apr. 2026",
+}
+
repo = Repo(GIT_REPO)
def get_git_tags():
@@ -78,13 +84,8 @@ def get_git_tags():
else:
download = ""
release_notes = ""
- status = "EOL"
- if branch == "yocto-4.0":
- status = "LTS until Apr. 2026"
- if branch == "yocto-5.0":
- status = "LTS until Apr. 2028"
- if branch == "yocto-5.2":
- status = "Stable Release until Nov 2025"
+
+ status = SUPPORTED_RELEASES.get(branch, "EOL")
# Create a dictionary for the series entry
tag_dict = {
@@ -108,12 +109,12 @@ tags = sorted(get_git_tags(), key=lambda x: x["original_release_date"], reverse=
tags.append(
{
- "series_version": "5.3",
+ "series_version": "6.0",
"original_release_date": "",
"latest_release_date": "",
- "release_codename": "Whinlatter",
+ "release_codename": "Wrynose",
"latest_tag": "",
- "releases" : list(e.name for e in filter(lambda e: e.name.startswith("5.3"), repo.tags)),
+ "releases" : list(e.name for e in filter(lambda e: e.name.startswith("6.0"), repo.tags)),
"status": "Active Development",
"download": "",
}
Use a new global SUPPORTED_RELEASES dict so we maintain the supported branch in a fixed location. Update the script to show Wrynose as the current Active Development, and Whinlatter as the stable branch. Since will put Walnascar as EOL too. [YOCTO #16138] Suggested-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- scripts/release-parser.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)