From 312342b3e5eeee88dc47f555f11defc80d3d02e9 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 24 Jun 2021 13:53:31 +0200 Subject: rename a number of fields to become similar to debusine debusine describes a PackageBuildTask in docs/devel/ontology.rst. Changes performed herein: * dscpath -> source_package_path * dscuri -> source_package_url * buildarch -> build_architecture * hostarch -> host_architecture * options -> build_options * profiles -> build_profiles * buildpath -> build_path --- mdbp/build_schema.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'mdbp/build_schema.json') diff --git a/mdbp/build_schema.json b/mdbp/build_schema.json index c908fb6..0f7e9bc 100644 --- a/mdbp/build_schema.json +++ b/mdbp/build_schema.json @@ -7,19 +7,19 @@ "input": { "type": "object", "oneOf": [ { - "required": [ "dscpath" ], + "required": [ "source_package_path" ], "additionalProperties": false, "properties": { - "dscpath": { + "source_package_path": { "type": "string", "description": "path to the .dsc file that is to be built, can be relative to the location of this json file" } } }, { - "required": [ "dscuri" ], + "required": [ "source_package_url" ], "additionalProperties": false, "properties": { - "dscuri": { + "source_package_url": { "type": "string", "format": "uri", "description": "uri for downloading the .dsc file" @@ -68,26 +68,26 @@ "default": "binary", "description": "select an arch-only, indep-only or full build" }, - "buildarch": { + "build_architecture": { "type": "string", "minLength": 2, "pattern": "^[a-z0-9-]+$", "description": "build architecture, defaults to the native architecure" }, - "hostarch": { + "host_architecture": { "type": "string", "minLength": 2, "pattern": "^[a-z0-9-]+$", "description": "host architecture, defaults to the build architecture" }, - "profiles": { + "build_profiles": { "type": "array", "items": { "type": "string", "pattern": "^[a-z0-9.-]+$" }, "uniqueItems": true, "default": [], "description": "select build profiles to enabled" }, - "options": { + "build_options": { "type": "array", "items": { "type": "string", "pattern": "^[a-z0-9.,+=_-]+$" }, "uniqueItems": true, @@ -110,7 +110,7 @@ "default": [], "description": "extra environment variables" }, - "buildpath": { + "build_path": { "type": "string", "description": "the path inside the chroot to peform the build" }, -- cgit v1.2.3