Configurable Warnings
Description
This MR adds configurable warnings to BuildStream, allowing for Plugin developers to produce warnings which can be configured on a project by project basis as 'fatal'.
Fatal warnings raise a PluginError instead of a warning message to the UI.
This will allow the implementation of #483 (closed) and allow for further development within the core plugins.
project.conf
fatal-warnings:
- overlaps
- ref-not-in-track
Changes proposed in this merge request:
- Allow individual warnings to be considered fatal and cause Stream to exit.
- Provide test cases
- Update documentation appropriately
- Bump Bst format version
- Bump Artifact version
- Cache key calculation now takes into consideration fatal-warnings
This merge request, when approved, will close issue/bug: #526 (closed)
Edited by Qinusty