-
Committer:
Zygmunt Krynicki
-
Date:
2014-03-28 21:48:09 UTC
-
Revision ID:
zygmunt.krynicki@canonical.com-20140328214809-608e1xyrty7p69pm
plainbox:job: add strictness control to job validator
This patch adds two optional arguments to the validator, strict, which
effectively runs the validator at maximum strictness and deprecated
which makes it find deprecated fields or values.
The default settings will ignore harmless errors (thus making the
validator do no evil) while still reporting (and preventing) serious
problems that would definitely fail at job runtime.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>