mbox series

[RFC,0/5] Bitbake-setup configuration schema

Message ID 20251017231444.374436-1-yoann.congal@smile.fr
Headers show
Series Bitbake-setup configuration schema | expand

Message

Yoann Congal Oct. 17, 2025, 11:14 p.m. UTC
This series focuses on adding a JSON-schema for the bitbake-setup
configuration format. I still have some doubt about how strict I should
make the schema (hence this RFC).

Also I tested by adding a validation step to the bitbake-setup
selftest but it has non-stdlib dependcies (also a RFC about how to
handle that).

Regards,

Yoann Congal (5):
  schemas: import layers.schema.json from OE-Core
  schemas: add $schema specification to the layers schema
  schemas: Add bitbake-setup JSON schema
  bitbake-setup: Add an option to validate the schema
  lib/bb/tests/setup.py: validate JSON schema during tests

 bin/bitbake-setup                 |  41 ++++++++++++
 lib/bb/tests/setup.py             |   2 +-
 schemas/bitbake-setup.schema.json | 108 ++++++++++++++++++++++++++++++
 schemas/layers.schema.json        |  77 +++++++++++++++++++++
 4 files changed, 227 insertions(+), 1 deletion(-)
 create mode 100644 schemas/bitbake-setup.schema.json
 create mode 100644 schemas/layers.schema.json