diff mbox series

[yocto-autobuilder-helper] scripts/release-parser.py: merge full list with previous list

Message ID 20250123-update-release-parser-v1-1-95a165ab36ed@bootlin.com
State New
Headers show
Series [yocto-autobuilder-helper] scripts/release-parser.py: merge full list with previous list | expand

Commit Message

Antonin Godard Jan. 23, 2025, 4:33 p.m. UTC
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]

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
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(-)


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

Best regards,

Comments

Michael Halstead Jan. 23, 2025, 9:41 p.m. UTC | #1
Merged and deployed. Now working on hiding the Full Releases section now.

On Thu, Jan 23, 2025 at 6:33 AM Antonin Godard <antonin.godard@bootlin.com>
wrote:

> 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]
>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> 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(-)
>
> diff --git a/scripts/release-parser.py b/scripts/release-parser.py
> index
> 96b9d5ef416c16d348459bc4ce74e16abdc6a33a..321bd582be4f927d5f23c396cf41a6d81d7f7d78
> 100755
> --- a/scripts/release-parser.py
> +++ b/scripts/release-parser.py
> @@ -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 <antonin.godard@bootlin.com>
>
>
diff mbox series

Patch

diff --git a/scripts/release-parser.py b/scripts/release-parser.py
index 96b9d5ef416c16d348459bc4ce74e16abdc6a33a..321bd582be4f927d5f23c396cf41a6d81d7f7d78 100755
--- a/scripts/release-parser.py
+++ b/scripts/release-parser.py
@@ -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"