diff mbox series

[v2,2/3] layers.schema.json: support 'uri'

Message ID 20251215103256.902711-2-corentin.guillevic@smile.fr
State New
Headers show
Series [v2,1/3] bitbake-setup: add inline URI | expand

Commit Message

Corentin Guillevic Dec. 15, 2025, 10:32 a.m. UTC
The property 'uri', which is a shortcut for 'remotes/origin/uri', is now
supported under 'git-remote'.

Signed-off-by: Corentin Guillevic <corentin.guillevic@smile.fr>
---
 setup-schema/layers.schema.json | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alexander Kanavin Dec. 15, 2025, 11:10 a.m. UTC | #1
On Mon, 15 Dec 2025 at 11:33, Corentin Guillevic via
lists.openembedded.org
<corentin.guillevic=smile.fr@lists.openembedded.org> wrote:
> +                                    "uri": {
> +                                        "description": "Shorcut for the URI",
> +                                        "type": "string"
> +                                    },

This should be a little bit more descriptive (and it has a typo):
"Specifies the git URI, can be used instead of the more elaborate
'remotes' property when there is only a single URI".

Also, updates to the schema need updates to the
doc/bitbake-user-manual/bitbake-user-manual-environment-setup.rst as
well.

Alex
diff mbox series

Patch

diff --git a/setup-schema/layers.schema.json b/setup-schema/layers.schema.json
index 144ea6d9f..8fef1efe6 100644
--- a/setup-schema/layers.schema.json
+++ b/setup-schema/layers.schema.json
@@ -46,6 +46,10 @@ 
                                         "description": "The output of 'git describe' (human readable description of the revision using tags in revision history).",
                                         "type": "string"
                                     },
+                                    "uri": {
+                                        "description": "Shorcut for the URI",
+                                        "type": "string"
+                                    },
                                     "remotes": {
                                         "description": "The dict of git remotes to add to this repository",
                                         "type": "object",