summaryrefslogtreecommitdiff
path: root/mdbp/build_schema.json
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-06-24 13:53:31 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-06-24 13:53:31 +0200
commit312342b3e5eeee88dc47f555f11defc80d3d02e9 (patch)
treec8f4b3c8497446caef73ce54394b72663965a582 /mdbp/build_schema.json
parentc03690f53941e03a6f1f400da4d7313f36902426 (diff)
downloadmdbp-312342b3e5eeee88dc47f555f11defc80d3d02e9.tar.gz
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
Diffstat (limited to 'mdbp/build_schema.json')
-rw-r--r--mdbp/build_schema.json18
1 files changed, 9 insertions, 9 deletions
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"
},