From 1fc8b5604778c46a8f867827077034f4660b74f2 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 23 Apr 2021 12:35:43 +0200 Subject: remove redundant values from schema The bd-uninstallable-explainer value null is equivalent to skipping the option and thus dropped. The network value "undefined" is equivalent to skipping the option and thus dropped. Reported-by: David Kalnischkies --- mdbp/build_schema.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'mdbp/build_schema.json') diff --git a/mdbp/build_schema.json b/mdbp/build_schema.json index baa38ef..7997f2e 100644 --- a/mdbp/build_schema.json +++ b/mdbp/build_schema.json @@ -106,14 +106,12 @@ } }, "bd-uninstallable-explainer": { - "enum": [ null, "apt", "dose3" ], - "default": null, - "description": "when installing Build-Depends fails, an explainer can be used to give details" + "enum": [ "apt", "dose3" ], + "description": "When installing Build-Depends fails, an explainer can be used to give details. Without this property, no explainer is run." }, "network": { - "enum": [ "enable", "disable", "try-disable", "try-enable", "undefined" ], - "default": "undefined", - "description": "whether the build should be able to access the internet" + "enum": [ "enable", "disable", "try-disable", "try-enable" ], + "description": "Decide whether the build should be able to access the internet. Without this property, the backend picks its own default. A try-prefixed value does not cause a failure when the request cannot be fulfilled." }, "output": { "type": "object", -- cgit v1.2.3