mbox series

[yocto-autobuilder-helper,v2,0/7] scripts/yocto-supported-distros improvements

Message ID 20250806-check-worker-statuses-v2-0-59dd990d22e7@bootlin.com
Headers show
Series scripts/yocto-supported-distros improvements | expand

Message

Antonin Godard Aug. 6, 2025, 3:43 p.m. UTC
Several improvement to this script including:

- Checking the workers statuses from the Autobuilder API, to check if
  workers are disconnected.
- Some refactoring and simplifications (non-breaking).
- Option to print previously supported distros (--old-distros).
- Option to just print distros listed in SANITY_TESTED_DISTROS
  (--poky-distros).
- Options to modify the output format (lsb_release string or docs bullet
  list).

This will make my life much easier maintaining the supported distros
section in the docs. In the long run, this could be called when building
the docs to automatically generate the list.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Changes in v2:
- Add patches 2 to 7.
- Link to v1: https://lore.kernel.org/r/20250805-check-worker-statuses-v1-1-103948a7ccc5@bootlin.com

---
Antonin Godard (7):
      scripts/yocto-supported-distros: check worker status on AB API
      config.json: yocto-supported-distros: use --check-worker-statuses
      scripts/yocto-supported-distros: configure mutually exclusive argparse groups
      scripts/yocto-supported-distros: pass one release only
      scripts/yocto-supported-distros: add option to print old distros
      scripts/yocto-supported-distros: add --output-format option
      scripts/yocto-supported-distros: add --poky-distros option

 config.json                     |   2 +-
 scripts/yocto-supported-distros | 308 ++++++++++++++++++++++++++++------------
 2 files changed, 216 insertions(+), 94 deletions(-)
---
base-commit: baa4a9a06acf544e91f4816fd0cca484a6f7dab7
change-id: 20250805-check-worker-statuses-b618c2078f9d

Best regards,
--  
Antonin Godard <antonin.godard@bootlin.com>