Learn more about these different git repos.
Other Git URLs
For config options with complex type (e.g. image_build, createiso_skip) we can only express that the value should be a list, but not the type of elements. Due to this, incorrect configuration causes a crash after a lot of work may have been done instead of exiting with reasonable error message immediately after starting.
image_build
createiso_skip
It would be nice if the config validation was able to express and check complex types.
General plan of attack:
PyConfigParser
There will always be need for each phase to have a separate validate method to check more complex properties, though.
validate
My current status is in PR #375: it is using JSON Schema to describe the configuration. It does not require too many changes in the existing codebase, and has the benefit of not having to reimplement the type checking.
@lsedlar changed the status to Fixed
Fixed
Log in to comment on this ticket.