From patchwork Fri Nov 20 08:14:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 105043 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2021.1795162536700587761 for ; Fri, 20 Nov 2026 00:15:38 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=dtJ+yQyG; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 5D0EDC2BB2F for ; Fri, 20 Nov 2026 08:15:36 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id BED4F6017D; Fri, 20 Nov 2026 08:15:30 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AE7F111BC1127; Fri, 20 Nov 2026 09:15:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795162530; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=rGWlKOA7JQSSk75P+uhr9gZFeKaClWyvZ5t09quNRR4=; b=dtJ+yQyG6MxuzY1GI7tyz+Z0SNSiZebWnaF3MDzyHBOdjXPwCA8W/x056oX9k1+fuVmBSp N9rwaC1TibQolD90I2yUxGgEXLkVIt7nMWIxX+t7VdjqGf1+ATai2osxdEtrIqpG7byAsk hOFv3cS8lQf3rCwxFlxQABFbDZT9YNe8TXmwavslsL8J8BoliSUr16X5lcNHwQ8yixVLvu m/jU7mQ4EWJqybby2ljm7BXGlWZNh0BUbNGvg+sSiNRRdyepTMan/0uR2s+9uf6F5/xC1q LtKj5khlO8deLZwXBWp2nzkS0gmMxFexDpeyTlZ+8igl/CLkMMcSEKeKic1w5w== From: Antonin Godard Date: Fri, 20 Nov 2026 09:14:54 +0100 Subject: [PATCH v2 2/4] tools/gen-releases-svg: start showing releases from oldest active one MIME-Version: 1.0 Message-Id: <20261120-gen-releases-svg-fixes-v2-2-abc66b9dd7da@bootlin.com> References: <20261120-gen-releases-svg-fixes-v2-0-abc66b9dd7da@bootlin.com> In-Reply-To: <20261120-gen-releases-svg-fixes-v2-0-abc66b9dd7da@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard , Quentin Schulz X-Mailer: b4 0.17-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=27407; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=cfXAT53/KRhmp4qgnu7u1ILDWqFmukCCJ2pI2mxItig=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBrAAGEK7GnEnM5BnsvaWkTLrwyJMQSmUSnjqM2P DJ0zZ26QmqJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCawABhAAKCRDRgEFAKaOo NouSD/9sYRExA6YSwSzSlv75Svp0CJEfdqmq+cubV2bc48ayNJUWk5mMWgy+2V6m1kWdyYiPozM UyyqPvW/1fq2a53MovhmmfaKvw+aHUd7qveUDlDEChlOrXE00tcsPdfoztTriCkTj6CW2J1WVTU vZfkoo7erRMxOC4jd+KsAUx2gMdPhvk/VFz/tfrf+NjBIimIFIrwtoYcXTsowX+TMhQJeuBPHo8 efUDX7emgY5l2ADa4qa+TfZ4vq+uc7ozA57HEJGntrKBSzXkdMVTeqaTO4NlzbluyKIH1Vp/col doFbKInXdFRYHLhQI0DEYcInYXTgS4Z/plNLbhG5/P3YcPJht5+GWWitZY3INYK/DyFDKsqDIL7 ndPIuLci5E3RjvUWK3hulJ70tF9gAWpJeNmxOcgR4Jp1IPE6zsZgWcBh8CpdGNdGhVbFWSXQf3Y 7adD4Yb6orpHzfYcCNPADG3ksHlraHloZA+SN+aOAhV11d87Sa05GZxtZxLN7nCe4aow4bTJFmD 3KFgpVL809vp4vBqoy3ix7cHSAlNv0sjf9rgUhK1VuUYwhn98+MjShLrJ16Wz4sQUStARl/k56y iAHLhUOqwNdF3IgAlVoW6flL8Das7qL7T0YDZ0Emg/d+LGctlIsMKVh/WehFOrP1WHfYggzRg5x YxXVXNrSugfwMZw== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 20 Nov 2026 08:15:47 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10812 Instead of a fixed date (2022-04-01, which represented the Kirkstone release date), show the releases from the oldest active one. Suggested-by: Quentin Schulz Signed-off-by: Antonin Godard Reviewed-by: Quentin Schulz --- documentation/ref-manual/svg/releases.svg | 2 +- documentation/tools/gen-releases-svg | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/documentation/ref-manual/svg/releases.svg b/documentation/ref-manual/svg/releases.svg index 386491997..c4a7b611f 100644 --- a/documentation/ref-manual/svg/releases.svg +++ b/documentation/ref-manual/svg/releases.svg @@ -1 +1 @@ -Jul 2022Jan 2023Jul 2023Jan 2024Jul 2024Jan 2025Jul 2025Jan 2026Jul 2026Jan 2027Jul 2027Jan 2028Jul 2028Jan 2029Jul 2029Jan 2030Kirkstone 4.0 Langdale 4.1 Mickledore 4.2 Nanbield 4.3 Scarthgap 5.0 (LTS) Styhead 5.1 Walnascar 5.2 Whi nlatter 5.3 Wrynose 6.0 (LTS) Blacksail 6.1 Garburn 6.2 \ No newline at end of file +Jul 2024Jan 2025Jul 2025Jan 2026Jul 2026Jan 2027Jul 2027Jan 2028Jul 2028Jan 2029Jul 2029Jan 2030Scarthgap 5.0 (LTS) Styhead 5.1 Walnascar 5.2 Whinlatter 5.3 Wrynose 6.0 (LTS) Blacksail 6.1 Garburn 6.2 \ No newline at end of file diff --git a/documentation/tools/gen-releases-svg b/documentation/tools/gen-releases-svg index 6a601b010..32458bd9e 100755 --- a/documentation/tools/gen-releases-svg +++ b/documentation/tools/gen-releases-svg @@ -54,6 +54,16 @@ gantt with open(args.releases_json_path, "r") as f: releases_from_json = json.load(f) +# Find the oldest active release release date to make it the start of our timeline. +oldest_supported_release_date = datetime.datetime.now(datetime.timezone.utc) +for release in releases_from_json: + if release["series"] == "previous": + continue + if not release["original_release_date"]: + continue + oldest_supported_release_date = min(oldest_supported_release_date, datetime.datetime.strptime( + release["original_release_date"], "%Y-%m-%dT%H:%M:%S%z")) + with tempfile.TemporaryDirectory() as tmpdir: mmdpath = Path(tmpdir) / "diagram.mmd" with open(mmdpath, "w", encoding="utf-8") as mmd: @@ -69,7 +79,7 @@ with tempfile.TemporaryDirectory() as tmpdir: if not release["original_release_date"]: continue original_release_date = datetime.datetime.strptime(release["original_release_date"], "%Y-%m-%dT%H:%M:%S%z") - if original_release_date < datetime.datetime(2022, 4, 1, tzinfo=datetime.timezone.utc): + if original_release_date < oldest_supported_release_date: continue original_release_date = original_release_date.date().isoformat() end_date = datetime.datetime.strptime(release["latest_release_date"], "%Y-%m-%dT%H:%M:%S%z")