config: Allow a default repo to be specified for patches

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[Jan: style fix]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Paul Barker
2020-07-04 09:53:39 +02:00
committed by Jan Kiszka
parent 2260189fda
commit b107a60118
4 changed files with 37 additions and 8 deletions

View File

@@ -83,6 +83,15 @@ CONFIGSCHEMA = {
'refspec': {
'type': 'string',
},
'patches': {
'type': 'object',
'additionalProperties': False,
'properties': {
'repo': {
'type': 'string',
},
},
},
},
},
},
@@ -164,7 +173,7 @@ CONFIGSCHEMA = {
{
'type': 'object',
'additionalProperties': False,
'required': ['repo', 'path'],
'required': ['path'],
'properties': {
'repo': {
'type': 'string'