diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-05-18 18:25:18 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2021-05-18 18:25:18 +0200 |
commit | 43b4aafecbe355a72aed4ef2819423e7e8d8e600 (patch) | |
tree | c80a6cf92bf145de164f9b066a504e737b9d5f5b /mdbp/build_schema.json | |
parent | b6f54633e5b4cafa851fdec80e8e982d46109be3 (diff) | |
download | mdbp-43b4aafecbe355a72aed4ef2819423e7e8d8e600.tar.gz |
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.
Diffstat (limited to 'mdbp/build_schema.json')
-rw-r--r-- | mdbp/build_schema.json | 15 |
1 files changed, 15 insertions, 0 deletions
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": { |