Commit graph

16 commits

Author SHA1 Message Date
Emmanuel Garette
ebeaee620b config.py: separate getattr and get_subconfig 2018-08-02 19:01:54 +02:00
Emmanuel Garette
41c17004d2 ConfigBag optimisation 2018-08-01 08:37:58 +02:00
Emmanuel Garette
d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
Emmanuel Garette
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette
69de44bbb4 better sqlalchemy integration 2016-09-30 22:45:33 +02:00
Emmanuel Garette
a521a6d322 requires could be apply to a slave and properties could be different 2015-11-29 23:03:08 +01:00
Emmanuel Garette
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette
7c8164090a uncomment more test 2014-04-14 23:00:37 +02:00
Emmanuel Garette
194c82faad tests pass now with dictionary and sqlalchemy storage 2014-02-16 23:37:27 +01:00
Emmanuel Garette
374c56a9c8 first version with sqlalchemy option's storage 2013-11-23 23:34:17 +01:00
Emmanuel Garette
2dcdbb137e rename FileOption to FilenameOption
python 3 support
2013-10-01 08:19:10 +02:00
Emmanuel Garette
cce080cbd3 add FileOption 2013-09-30 21:21:47 +02:00
Emmanuel Garette
f106f3ced7 cannot set properties if those properties are in requirement 2013-09-02 19:47:00 +02:00
Emmanuel Garette
5893f8ad72 attributes in Option are now read-only if option set in Config (_name is everytime read-only) 2013-08-30 21:15:55 +02:00
Emmanuel Garette
c01f14920d test more sloted options 2013-08-30 09:40:28 +02:00
Emmanuel Garette
6de65859b4 * config herite from BaseInformation class
* _cfgimpl_ => _impl_
* optimpl_ => impl_
* properties/permissives are now set/frozenset
* validation raise ValueError if not valid, didn't return anything otherwise
* consistencies are now validate in setting and when deleting value
* ip/network with netmask consistency now works
* DomainnameOption now works
* if no validation, don't set cache for value
* symlinkoption: remove path (not used)
2013-05-08 18:14:42 +02:00