Relaxed constraints on config.yaml structure (#5115)

This PR allows additional unused properties at the top-level of the config.yaml file. Having these properties permits to use two different versions of Spack, one of which adds a new property, without receiving error messages due to the presence of this new property in a configuration cache stored in the user's home.
This commit is contained in:
Massimiliano Culpo 2017-08-17 06:37:09 +02:00 committed by GitHub
parent 1c8bdd7e24
commit c16a68f517

View file

@ -38,7 +38,6 @@
'config': {
'type': 'object',
'default': {},
'additionalProperties': False,
'properties': {
'install_tree': {'type': 'string'},
'install_hash_length': {'type': 'integer', 'minimum': 1},