Commit Graph

35 Commits

Author SHA1 Message Date
da99c8eb69 better support of notraisepropertyerror 2018-12-07 23:33:54 +01:00
f04169d5a6 mandatory_warnings => mandatory 2018-11-13 12:39:51 +01:00
f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
7bfa6679e3 mandatory_warnings: PropertiesOptionError in optiondescription stop validate mandatory warnings for followers options 2018-09-08 22:51:27 +02:00
6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
3210a54ab8 config => KernelConfig + Config in api 2018-08-14 22:15:40 +02:00
54b57968bc not Params object for callback, validator and calculated values for choiceoption 2018-04-15 21:13:16 +02:00
4f2bc05e74 require with slaves 2018-04-06 16:09:10 +02:00
d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
5a1987f2e6 Add MasterSlaves object 2017-10-14 13:33:25 +02:00
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
ac5bf93953 add check_frozen in slave 2017-05-06 19:54:20 +02:00
fb16dd2a79 slave's requires with multi is different than slave's requires with non multi option 2016-11-14 21:14:45 +01:00
24ec5a9112 don't display warning in mandatory_warnings 2016-10-14 21:31:39 +02:00
69de44bbb4 better sqlalchemy integration 2016-09-30 22:45:33 +02:00
44d585a5e2 better mandatory/empty support for mandatory_warnings 2016-06-29 21:42:54 +02:00
7460f38a88 update sqlalchemy storage for values et settings 2016-03-29 09:31:00 +02:00
cb89c74201 don't check 'mandatory' setting for symlink 2016-03-16 22:33:28 +01:00
4d4d789c8a simplification 2015-12-17 22:41:57 +01:00
a0de1109f7 optimise mandatory_warnings 2015-10-29 09:03:13 +01:00
8e7a32de08 add global 'empty' property, this property raise mandatory PropertiesOptionError if multi or master have empty value 2015-07-26 19:13:25 +02:00
44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
487b99b32c for a multi mandatory, allow [] with allow_empty_list attribut 2015-04-20 14:49:43 +02:00
c75867720f add force_permissive in mandatory_warnings 2014-10-26 16:39:24 +01:00
3ab0688c46 Arity change, remove force_properties:
* tiramisu/config.py (in cfgimpl_get_home_by_path and getattr)
 * tiramisu/value.py (in getitem):
2014-04-12 21:37:20 +02:00
ff5376a382 properties are check now in getowner
get_modified_values works good with force_store_value
2014-03-29 20:31:56 +01:00
6e8b570a37 mandatory_warnings is now in values and add force_cache to values 2014-03-09 20:06:44 +01:00
gwen
fbf05ba5e4 python 3 compatibility
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
e4c129efc5 getowner need now an option 2013-08-24 22:32:54 +02:00
e883e5b89e remove _setoption in SymLinkOption
objimpl_ => optimpl_
ConflictConfigError => ConflictError
add read_write/read_only/getowner in Config
2013-04-22 09:19:05 +02:00
d4ef47759e Manipulate properties is now more convenient:
c.cfgimpl_get_settings().has_property('hidden') => 'hidden' in c.cfgimpl_get_settings()
c.cfgimpl_get_settings().has_property('hidden', option1) => 'frozen' in c.cfgimpl_get_settings()[opt]

c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]
c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]

c.cfgimpl_get_settings().add_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].append('hidden')
c.cfgimpl_get_settings().del_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].remove('hidden')

c.cfgimpl_get_settings().enable_property('hidden') => c.cfgimpl_get_settings().append('hidden')
c.cfgimpl_get_settings().disable_property('hidden') => c.cfgimpl_get_settings().remove('hidden')
2013-04-20 17:30:05 +02:00
54fe8d0f4b cache for properties is now in get_properties and not for validate_properties 2013-04-20 11:25:14 +02:00
5e67522f91 _empty is u'' for UnicodeOption 2013-04-17 22:06:10 +02:00
3170237c8e properties validation not in setting and now launch when modify multi 2013-04-17 21:33:34 +02:00
656b751995 mandatory is a true property (no more MandatoryError) + tests 2013-04-16 22:44:16 +02:00