pungi/bin
Lubomír Sedlář f9a6c8418f Add JSON Schema for configuration
The schema is written in Python to reduce duplication. When
configuration is loaded, the validation checks if it's correct and fills
in default values.

There is a custom extension to the schema to report deprecated options.

The config dependencies are implemented as a separate pass. While it's
technically possible to express the dependencies in the schema itself,
the error messages are not very helpful and it makes the schema much
harder to read.

Phases no longer define `config_options`. New options should be added to
the schema. Since the default values are populated automatically during
validation, there is no need to duplicate them into the code.

The `pungi-config-validate` script is updated to use the schema and
report errors even for deeply nested fields.

The dependencies are updated: pungi now depends on `python-jsonschema`
(which is already available in Fedora).

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-09-01 10:56:15 +02:00
..
comps_filter Allow running scripts with any python in PATH 2015-11-27 08:38:47 +01:00
pungi 4.1.8 release 2016-08-10 07:21:40 -05:00
pungi-config-validate Add JSON Schema for configuration 2016-09-01 10:56:15 +02:00
pungi-fedmsg-notification Update fedmsg notification hook to use appropriate config. 2015-12-08 12:30:16 -05:00
pungi-koji Add JSON Schema for configuration 2016-09-01 10:56:15 +02:00
pungi-make-ostree [ostree] Rename atomic to ostree 2016-04-05 09:14:00 +02:00