Re: [docs] [PATCH 1/2] set_versions.py: build with versions from releases.json

Quentin Schulz
2026-02-25T14:16:24Z

Hi Antonin,

On 2/25/26 1:05 PM, Antonin Godard via lists.yoctoproject.org wrote:
> Build using the releases.json file which can be obtained at
> https://dashboard.yoctoproject.org/releases.json. This file needs to be
> updated regularly for the documentation to be up to date.
>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> documentation/releases.json | 622 ++++++++++++++++++++++++++++++++++++++++++
> documentation/set_versions.py | 63 ++---
> 2 files changed, 646 insertions(+), 39 deletions(-)
>
> diff --git a/documentation/releases.json b/documentation/releases.json
> new file mode 100644
> index 000000000..0d2d51fa0
> --- /dev/null
> +++ b/documentation/releases.json
> @@ -0,0 +1,622 @@
> +[
> + {
> + "series_version": "6.0",
> + "original_release_date": "",
> + "latest_release_date": "",
> + "release_codename": "Wrynose",
> + "latest_tag": "",
> + "releases": [
> + "6.0_M1"
> + ],
> + "status": "Active Development",
> + "download": "",
> + "series": "current"
> + },
> + {
> + "series_version": "5.3",
> + "original_release_date": "2025-11-26T17:14:07+00:00",
> + "latest_release_date": "2026-01-09T15:00:43+00:00",
> + "release_codename": "Whinlatter",
> + "latest_tag": "5.3.1",
> + "releases": [
> + "5.3",
> + "5.3.1"
> + ],
> + "status": "Stable Release until May 2026",
> + "download": "https://downloads.yoctoproject.org/releases/yocto/yocto-5.3.1",
> + "release_notes": "https://downloads.yoctoproject.org/releases/yocto/yocto-5.3.1/RELEASENOTES",
> + "series": "current"
> + },
> + {
> + "series_version": "5.2",
> + "original_release_date": "2025-04-23T15:37:39+02:00",
> + "latest_release_date": "2025-09-12T16:48:58+02:00",
> + "release_codename": "Walnascar",
> + "latest_tag": "5.2.4",
> + "releases": [
> + "5.2",
> + "5.2.1",
> + "5.2.2",
> + "5.2.3",
> + "5.2.4"
> + ],
> + "status": "EOL",
> + "download": "https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.4",
> + "release_notes": "https://downloads.yoctoproject.org/releases/yocto/yocto-5.2.4/RELEASENOTES",
> + "series": "previous"
> + },
> + {
> + "series_version": "5.1",
> + "original_release_date": "2024-09-03T10:35:52+02:00",
> + "latest_release_date": "2025-03-07T11:58:05+01:00",
> + "release_codename": "Styhead",
> + "latest_tag": "5.1.4",
> + "releases": [
> + "5.1",
> + "5.1.1",
> + "5.1.2",
> + "5.1.3",
> + "5.1.4"
> + ],
> + "status": "EOL",
> + "download": "https://downloads.yoctoproject.org/releases/yocto/yocto-5.1.4",
> + "release_notes": "https://downloads.yoctoproject.org/releases/yocto/yocto-5.1.4/RELEASENOTES",
> + "series": "previous"
> + },
> + {
> + "series_version": "5.0",
> + "original_release_date": "2024-04-15T17:39:29+02:00",
> + "latest_release_date": "2025-11-14T18:10:02+01:00",
> + "release_codename": "Scarthgap",
> + "latest_tag": "5.0.15",
> + "releases": [
> + "5.0",
> + "5.0.1",
> + "5.0.10",
> + "5.0.11",
> + "5.0.12",
> + "5.0.13",
> + "5.0.14",
> + "5.0.15",

Something's wrong here I guess. This is not a properly ordered list of
tags and I would assume someone at some point will make this assumption
(e.g. how to get the latest version in a series? I intuitively would do
releases[-1] but this won't work here).

How is this generated?

I'm assuming you are lacking

--sort=version:refname

if you're using git tag --list to generate this list.

Cheers,
Quentin