diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-08-30 21:28:26 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-08-31 12:38:25 -0400 |
commit | 62a0e325604440b5f5bc341524d9affdf7cd5b1f (patch) | |
tree | 789b938b268378863f653cbdc04767036dedc32c /buildstream/data/projectconfig.yaml | |
parent | 927e043632c50565ac8df0abec723855ba674090 (diff) | |
download | buildstream-62a0e325604440b5f5bc341524d9affdf7cd5b1f.tar.gz |
project.py: Load new definitions of project version requirements
o Define the base buildstream format as BST_FORMAT_VERSION
in the project module
o Load and cache any required versions of plugins
o Assert overall project version is supported at load time
Part of a fix for issue #69
Diffstat (limited to 'buildstream/data/projectconfig.yaml')
-rw-r--r-- | buildstream/data/projectconfig.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/buildstream/data/projectconfig.yaml b/buildstream/data/projectconfig.yaml index 5ebed682d..aa9605358 100644 --- a/buildstream/data/projectconfig.yaml +++ b/buildstream/data/projectconfig.yaml @@ -4,6 +4,29 @@ # # name: myproject +# Format version requirements +# +# Indicates the minimum required format version the +# project requires. +# +required-versions: + + # The minimum base BuildStream format + project: 0 + + # A minimum plugin format version for each individual + # plugin (as advertized by the plugin BST_FORMAT_VERSION + # class attributes), may be asserted here. + # + # E.g., to require version 3 of the the autotools + # element format: + # + # elements: + # autotools: 3 + # + elements: {} + sources: {} + # Base project relative element path, elements will be loaded # from this base. |