config: Allow a default refspec to be specified

Also update config file version to 9 due to this format change.

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:38 +02:00
committed by Jan Kiszka
parent f678b24611
commit 2260189fda
6 changed files with 47 additions and 3 deletions

View File

@@ -72,6 +72,21 @@ CONFIGSCHEMA = {
},
},
},
'defaults': {
'type': 'object',
'additionalProperties': False,
'properties': {
'repos': {
'type': 'object',
'additionalProperties': False,
'properties': {
'refspec': {
'type': 'string',
},
},
},
},
},
'machine': {
'type': 'string',
},