Re: [bitbake-devel] [PATCH v3 02/10] bitbake-setup.schema.json: Add examples property
"Yoann Congal" <[email protected]> Thu, 18 Jun 2026 12:20:19 +0200
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon Jun 15, 2026 at 7:37 PM CEST, Rob Woolley via lists.openembedded.org wrote: > This resolves the jsonschema linting error: > Set a non-empty examples array at the top level of the schema > to illustrate the expected data (top_level_examples) > > This example intentionally only references bitbake as a minimal > example that focuses on the tool itself. Nitpick: The commit message does not match the content anymore. > > Signed-off-by: Rob Woolley <[email protected]> Reviewed-by: Yoann Congal <[email protected]> > --- > setup-schema/bitbake-setup.schema.json | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/setup-schema/bitbake-setup.schema.json b/setup-schema/bitbake-setup.schema.json > index 309088348..1830d16df 100644 > --- a/setup-schema/bitbake-setup.schema.json > +++ b/setup-schema/bitbake-setup.schema.json > @@ -1,6 +1,39 @@ > { > "$schema": "https://json-schema.org/draft/2020-12/schema", > "description": "Schema for bitbake-setup configuration files", > + "examples" : [ > + { > + "description": "Example bitbake-setup configuration file", > + "sources": { > + "bitbake": { > + "git-remote": { > + "uri": "https://git.openembedded.org/bitbake", > + "rev": "master" > + }, > + "path": "bitbake" > + }, > + "openembedded-core": { > + "git-remote": { > + "uri": "https://git.openembedded.org/openembedded-core", > + "rev": "master" > + }, > + "path": "openembedded-core" > + } > + }, > + "bitbake-setup": { > + "configurations": [ > + { > + "name" : "qemux86-64-nodistro", > + "description": "OpenEmbedded 'nodistro' build for qemux86-64", > + "setup-dir-name": "oe-nodistro-master", > + "bb-layers": ["openembedded-core/meta"], > + "oe-fragments": ["machine/qemux86-64"] > + } > + ] > + }, > + "version": "1.0" > + } > + ], > "title": "bitbake-setup configuration file", > "type": "object", > "required": [ -- Yoann Congal Smile ECS