Skip to contentSkip to conversation

scripts/release-parser.py: merge full list with previous list

PATCH In review Antonin Godard 2 participants 2 messages Jan 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/release-parser.py: merge full list with previous list

On https://www.yoctoproject.org/development/releases, the "Full Release List" can mislead users into thinking the list represents all of the Yocto release, whereas these are only EOL releases. Remove this list and merge everything in "Previous Release List".

[YOCTO #15339]

---
Note: I'm not sure if this will remove the "Full Release List" section title and how I can verify this.

---
 scripts/release-parser.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
scripts/release-parser.py +1 -6
index 96b9d5ef416c16d348459bc4ce74e16abdc6a33a..321bd582be4f927d5f23c396cf41a6d81d7f7d78 100755
@@ -120,14 +120,9 @@ tags.append(
 
 tags.reverse()
 
-previous_release_series = 3
 for tag in tags:
     if tag["status"] == "EOL":
-        if previous_release_series > 0:
-            tag["series"] = "previous"
-            previous_release_series -= 1
-        else:
-            tag["series"] = "full"
+        tag["series"] = "previous"
     else:
         tag["series"] = "current"
 

---
base-commit: 384d37a957a7f90abe04fe320cf0919c5a8f22ef
change-id: 20250123-update-release-parser-4dfbbec54485

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>
#1 lore raw

Merged and deployed. Now working on hiding the Full Releases section now.

Quoted 47 lines · Antonin Godard

On https://www.yoctoproject.org/development/releases, the "Full Release List" can mislead users into thinking the list represents all of the Yocto release, whereas these are only EOL releases. Remove this list and merge everything in "Previous Release List".

[YOCTO #15339]

---
Note: I'm not sure if this will remove the "Full Release List" section title and how I can verify this.

---
 scripts/release-parser.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
scripts/release-parser.py +0 -0

index 96b9d5ef416c16d348459bc4ce74e16abdc6a33a..321bd582be4f927d5f23c396cf41a6d81d7f7d78 100755

scripts/release-parser.py +1 -7
@@ -120,14 +120,9 @@ tags.append(
 
 tags.reverse()
 
-previous_release_series = 3
 for tag in tags:
     if tag["status"] == "EOL":
-        if previous_release_series > 0:
-            tag["series"] = "previous"
-            previous_release_series -= 1
-        else:
-            tag["series"] = "full"
+        tag["series"] = "previous"
     else:
         tag["series"] = "current"
 
 
---

base-commit: 384d37a957a7f90abe04fe320cf0919c5a8f22ef
change-id: 20250123-update-release-parser-4dfbbec54485

Best regards,
--
Antonin Godard <[email protected]>

Signature · 3 lines
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer