From 3f7d24fd1f1ffa665d62b591f03e9518a8e1fe65 Mon Sep 17 00:00:00 2001 From: ergebnis-bot Date: Tue, 10 Dec 2024 09:08:17 +0000 Subject: [PATCH 1/2] Enhancement: Update schema.json --- resource/schema.json | 46 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/resource/schema.json b/resource/schema.json index baa81caf..2c96ab98 100644 --- a/resource/schema.json +++ b/resource/schema.json @@ -380,6 +380,40 @@ "example": "my-extension-source", "default": null }, + "os-families": { + "type": "array", + "minItems": 1, + "description": "An array of OS families to mark as compatible with the extension. Specifying this property will mean this package is not installable with PIE on any OS family not listed here. Must not be specified alongside os-families-exclude.", + "items": { + "type": "string", + "enum": [ + "windows", + "bsd", + "darwin", + "solaris", + "linux", + "unknown" + ], + "description": "The name of the OS family to mark as compatible." + } + }, + "os-families-exclude": { + "type": "array", + "minItems": 1, + "description": "An array of OS families to mark as incompatible with the extension. Specifying this property will mean this package is installable on any OS family except those listed here. Must not be specified alongside os-families.", + "items": { + "type": "string", + "enum": [ + "windows", + "bsd", + "darwin", + "solaris", + "linux", + "unknown" + ], + "description": "The name of the OS family to exclude." + } + }, "configure-options": { "type": "array", "description": "These configure options make up the flags that can be passed to ./configure when installing the extension.", @@ -409,7 +443,17 @@ } } } - } + }, + "allOf": [ + { + "not": { + "required": [ + "os-families", + "os-families-exclude" + ] + } + } + ] }, "config": { "type": "object", From a350ad9421ff57a5aa1c82b95bab05f4580dba98 Mon Sep 17 00:00:00 2001 From: ergebnis-bot Date: Thu, 6 Feb 2025 09:07:06 +0000 Subject: [PATCH 2/2] Enhancement: Update schema.json --- resource/schema.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resource/schema.json b/resource/schema.json index 2c96ab98..56473b25 100644 --- a/resource/schema.json +++ b/resource/schema.json @@ -380,6 +380,15 @@ "example": "my-extension-source", "default": null }, + "download-url-method": { + "type": "string", + "description": "If specified, this technique will be used to override the URL that PIE uses to download the asset. The default, if not specified, is composer-default.", + "enum": [ + "composer-default", + "pre-packaged-source" + ], + "example": "composer-default" + }, "os-families": { "type": "array", "minItems": 1,