diff mbox series

[v2,2/3] bitbake-setup: add an optional 'expires' property to the schema

Message ID 20251127102928.3647918-2-alex.kanavin@gmail.com
State Accepted, archived
Commit 43aafec59a2b3c13b7d34843fcebb31c6f18c785
Headers show
Series [v2,1/3] bitbake-setup: rename oe-nodistro to oe-nodistro-master | expand

Commit Message

Alexander Kanavin Nov. 27, 2025, 10:29 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

This can be used to document, in a progammatic way, the end of life
date for a configuration, and make users aware of it.

Bitbake documentation already has its description and does not need
an update.

Bitbake-setup is using the property to tell the users until when
a given configuration is supported, and omits it from available
interactive choices if the date has passed (unless asked expicitly
on command line).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 setup-schema/bitbake-setup.schema.json | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/setup-schema/bitbake-setup.schema.json b/setup-schema/bitbake-setup.schema.json
index 027ba2568..e51fef3b9 100644
--- a/setup-schema/bitbake-setup.schema.json
+++ b/setup-schema/bitbake-setup.schema.json
@@ -15,6 +15,10 @@ 
         "sources": {
             "$ref": "layers.schema.json#/properties/sources"
         },
+        "expires": {
+            "type": "string",
+            "description": "End of life date for this configuration, in ISO 8601 format (YYYY-MM-DD)"
+        },
         "bitbake-setup": {
             "type": "object",
             "description": "BitBake-setup configurations",