PTU5KAS/kas
Claudius Heine abc80a8c59 Implement file version and a check when using it
If the configuration file structure changes over time, it might
introduce incompatibilities.

This patch introduces versioning of configuration file.

Configuration files needs to add a 'version' entry into their 'header'
like this:

header:
  version: '0.9'

After loading this file, the version is checked agains kas version.

Every version 'M.m.p' of kas is allowed to load configuration files with
version 'M.m' and all versions backwards up to and including
the '__compatible_version__' from kas/__version__.py

Signed-off-by: Claudius Heine <ch@denx.de>
2017-06-21 17:30:51 +02:00
..
__init__.py Implement file version and a check when using it 2017-06-21 17:30:51 +02:00
__main__.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00
__version__.py Implement file version and a check when using it 2017-06-21 17:30:51 +02:00
build.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00
config.py added initial implementation of a include handler 2017-06-21 17:30:51 +02:00
includehandler.py Implement file version and a check when using it 2017-06-21 17:30:51 +02:00
kas.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00
libcmds.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00
libkas.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00
repos.py Renamed sublayers back to layers 2017-06-21 17:30:51 +02:00
shell.py run pylint3 and fixed report 2017-06-21 17:30:51 +02:00