Christian Kellner
|
5ba7028340
|
plugin/hub: raise ParameterError for invalid input
Convert the jsonschema.exceptions.ValidationError into the more
appropriate koji.ParameterError.
|
2020-09-13 13:20:19 +02:00 |
|
Christian Kellner
|
0bf3c47113
|
plugin/hub: clean up imports
Remove an unused import and sort the imports properly.
Also silence the for the kojihub import.
|
2020-09-11 23:18:04 +01:00 |
|
Christian Kellner
|
af4e66d2b2
|
plugin/hub: use jsonschema to validate input
Use jsonschema to validate the input to the XMLRPC call to catch
mistakes early, i.e. before creating the task.
|
2020-09-10 18:41:13 +01:00 |
|
Christian Kellner
|
8fb1342631
|
Make image_type and distro required arguments
Distro, in composer terms "distribution", and "image_type" are
required for composer, so make that explicit everywhere in the
code.
|
2020-09-08 16:13:48 +02:00 |
|
Christian Kellner
|
a9e187d38a
|
plugin/hub: rename method to osbuildImage
Remove the 'Test' suffix.
|
2020-09-07 19:03:15 +02:00 |
|
Christian Kellner
|
aefe1218b5
|
initial import
|
2020-09-02 19:15:25 +02:00 |
|