diff options
author | Josh Smith <joshsmith@codethink.co.uk> | 2018-08-03 11:32:29 +0100 |
---|---|---|
committer | Josh Smith <qinusty@gmail.com> | 2018-08-15 12:15:58 +0100 |
commit | f3d58233793cf0249cbac51f72d5c459eb256d44 (patch) | |
tree | 1ac54367e79ac7ac3e53f5e66484d05e916b7237 /buildstream/_versions.py | |
parent | 9f675c640d47e844712cb8917018fda163d5e070 (diff) | |
download | buildstream-f3d58233793cf0249cbac51f72d5c459eb256d44.tar.gz |
_project.py: Add fatal-warnings configuration item
This allows for users to configure fatal-warnings to be either a list of
warnings.
This commit deprecates the use of fail-on-overlap within project.conf,
this will now use the fatal-warnings configuration item.
element.py: Cache key calculation now takes into account all of the
fatal-warnings
tests: This modifys the tests/frontend/overlaps.py tests to support the
new fatal-warnings configuration. Backwards compatibility is also
tested for `fail-on-overlap`
_versions.py: BST_FORMAT_VERSION bumped to 15 for fatal-warnings
BST_CORE_ARTIFACT_VERSION bumpted to 5 for fatal-warnings
Fixes: #526
Diffstat (limited to 'buildstream/_versions.py')
-rw-r--r-- | buildstream/_versions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_versions.py b/buildstream/_versions.py index 3f32847ae..a722e11a5 100644 --- a/buildstream/_versions.py +++ b/buildstream/_versions.py @@ -23,7 +23,7 @@ # This version is bumped whenever enhancements are made # to the `project.conf` format or the core element format. # -BST_FORMAT_VERSION = 14 +BST_FORMAT_VERSION = 15 # The base BuildStream artifact version @@ -33,4 +33,4 @@ BST_FORMAT_VERSION = 14 # or if buildstream was changed in a way which can cause # the same cache key to produce something that is no longer # the same. -BST_CORE_ARTIFACT_VERSION = 4 +BST_CORE_ARTIFACT_VERSION = 5 |