From 71b5277e81f252da11b9f8f2f80dd9ad5a924d62 Mon Sep 17 00:00:00 2001 From: Frederick Vollbrecht Date: Sat, 25 May 2024 00:35:25 +0200 Subject: [PATCH 1/2] fix missing macos-arm propertie in json schema --- tools/tools_schema.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tools_schema.json b/tools/tools_schema.json index cd14ef2693..faea9e0273 100644 --- a/tools/tools_schema.json +++ b/tools/tools_schema.json @@ -156,6 +156,9 @@ "macos": { "$ref": "#/definitions/platformDownloadInfo" }, + "macos-arm64": { + "$ref": "#/definitions/platformDownloadInfo" + }, "win32": { "$ref": "#/definitions/platformDownloadInfo" }, From 55112978fdffd9b53be19e0ad76d1dc6656633ce Mon Sep 17 00:00:00 2001 From: Marek Fiala Date: Mon, 27 May 2024 16:10:46 +0200 Subject: [PATCH 2/2] feat(tools): json schema verifies that no additional properties are used Closes https://github.com/espressif/esp-idf/issues/13853 Closes https://github.com/espressif/esp-idf/pull/13854 --- tools/tools_schema.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/tools_schema.json b/tools/tools_schema.json index faea9e0273..e4c756f711 100644 --- a/tools/tools_schema.json +++ b/tools/tools_schema.json @@ -23,6 +23,7 @@ "toolInfo": { "type": "object", "description": "Information about one tool", + "additionalProperties": false, "properties": { "name" : { "description": "Tool name (used as a directory name)", @@ -131,6 +132,7 @@ }, "versionInfo": { "type": "object", + "additionalProperties": false, "properties": { "name" : { "description": "Version name (used as a directory name)", @@ -153,6 +155,9 @@ "linux-arm64": { "$ref": "#/definitions/platformDownloadInfo" }, + "linux-armhf": { + "$ref": "#/definitions/platformDownloadInfo" + }, "macos": { "$ref": "#/definitions/platformDownloadInfo" }, @@ -173,6 +178,7 @@ "platformDownloadInfo": { "description": "Information about download artifact for one platform", "type": "object", + "additionalProperties": false, "properties": { "sha256": { "type": "string", @@ -205,6 +211,7 @@ "platformOverrideInfo": { "description": "Platform-specific values which override the defaults", "type": "object", + "additionalProperties": false, "properties": { "platforms": { "description": "List of platforms to which this override applies",