validate: Allow overidding issue severity from configs
authorThibault Saunier <tsaunier@igalia.com>
Wed, 29 Apr 2020 03:06:24 +0000 (23:06 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 29 Apr 2020 14:13:51 +0000 (10:13 -0400)
commitec2a139246b3f09542e12fda885aa84be1f8706b
tree618ab4c947fbbdd8911dd62852c1f10528221586
parent0e85d15da05f2a37f8376778384ecef388240c70
validate: Allow overidding issue severity from configs

Refactoring sensibly to allow getting configs outside the `core` namespace
and outside plugin names.

The `GST_VALIDATE_OVERRIDE` env variable should probably be removed
all together at some point.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/185>
docs/gst-validate-config.md
validate/gst/validate/gst-validate-internal.h
validate/gst/validate/gst-validate-override-registry.c
validate/gst/validate/validate.c