From 43b4aafecbe355a72aed4ef2819423e7e8d8e600 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Tue, 18 May 2021 18:25:18 +0200 Subject: enable building a source package by name and version If a package is specified by name, it is downloaded inside the chroot using the embedded deb-src uris. sbuild implements this natively, pbuilder does not implement this yet, but there is #988419 and mmdebstrap can make it work. --- mdbp/build_schema.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mdbp/build_schema.json') diff --git a/mdbp/build_schema.json b/mdbp/build_schema.json index d971f0d..e7c203c 100644 --- a/mdbp/build_schema.json +++ b/mdbp/build_schema.json @@ -31,6 +31,21 @@ "description": "a mapping of checksum algorithms to the expected values" } } + }, { + "required": [ "sourcename" ], + "additionalProperties": false, + "properties": { + "sourcename": { + "type": "string", + "pattern": "^[a-z0-9][a-z0-9.+-]*$", + "description": "name of a source package to fetch from the configured distribution" + }, + "version": { + "type": "string", + "pattern": "^([0-9]+:)?[a-zA-Z0-9.+~-]+$", + "description": "request a particular version of the source package" + } + } } ] }, "distribution": { -- cgit v1.2.3