Commit Graph

61 Commits

Author SHA1 Message Date
Emmanuel Garette 4dbb82ed3f Python Packaging Autority recommandations 2019-04-05 22:39:24 +02:00
Emmanuel Garette 97b75660c5 do not change Config contexts properties when reload in MetaConfig (fixes #7) 2019-04-05 22:11:54 +02:00
Emmanuel Garette 2b45955886 add/remove config in mixconfig or metaconfig (fixes #6) 2019-04-05 21:00:25 +02:00
Emmanuel Garette 0e02ae3182 changelog 2019-03-24 20:27:26 +01:00
Emmanuel Garette cc44cabf56 update translation 2019-03-05 20:46:04 +01:00
Emmanuel Garette 620eaa6461 can remove config from a metaconfig 2018-09-13 07:00:12 +02:00
Emmanuel Garette dadf859905 better cache 2017-07-08 15:59:56 +02:00
Emmanuel Garette 9b78f46e9d add 'operator' to requirement 2017-05-20 16:28:19 +02:00
Emmanuel Garette 026179d9b7 add 'remove' to Multi 2017-05-17 22:13:05 +02:00
Emmanuel Garette 5bf75b3824 error in external function should returns only ConfigError 2017-02-12 10:38:57 +01:00
Emmanuel Garette 89fd367b20 validator's function can have 1 arg, 2 args or 3 args 2017-01-12 21:58:53 +01:00
Emmanuel Garette 01b7fc873e can mix inversed and non inversed requires 2017-01-12 19:52:03 +01:00
Emmanuel Garette 18d6976183 copy the context in carry_out_calculation 2017-01-11 22:58:01 +01:00
Emmanuel Garette e71beac4dc converts the doc informations into unicode 2017-01-10 12:16:08 +01:00
Emmanuel Garette 7fe47396ee correction in fullpath option 2017-01-09 20:16:38 +01:00
Emmanuel Garette 42d830687d add unique parameter to option 2016-11-19 19:16:31 +01:00
Emmanuel Garette fc36f674eb consistency "not_equal" works now with multi 2016-11-16 22:31:42 +01:00
Emmanuel Garette 2e4fdbca03 transitive in apply_requires should only by apply if properties are same has testing action 2016-10-12 22:17:04 +02:00
Emmanuel Garette c31590c2ac consistency is now check not_equal if one option has PropertiesOptionError 2016-10-12 21:58:37 +02:00
Emmanuel Garette e6a949635f some improvements 2016-10-10 21:41:22 +02:00
Emmanuel Garette 6d71749014 force_store_value is rebuild if needed 2016-09-22 08:27:18 +02:00
Emmanuel Garette 35ffde841b add force_permissive to Values.is_default_owner 2016-03-07 16:34:36 +01:00
Emmanuel Garette da89c1aa58 force_store_value is now used directly when configuration is loaded 2016-03-07 16:13:41 +01: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 54ca54e505 separate value in slave 2015-11-19 22:25:00 +01:00
Emmanuel Garette 15d94d5fff domainname with only one character is now allowed 2015-10-12 17:06:15 +02:00
Emmanuel Garette 3aad913868 check with option as parameter 2015-09-17 21:25:32 +02:00
Emmanuel Garette 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
Emmanuel Garette 1da83edfba add duplicate option to Config 2015-07-24 18:05:51 +02:00
Emmanuel Garette 487b99b32c for a multi mandatory, allow [] with allow_empty_list attribut 2015-04-20 14:49:43 +02:00
Emmanuel Garette 072246a203 URLOption: allow uppercase in resource name 2015-04-19 09:46:39 +02:00
Emmanuel Garette 2c6275ffbd remove slave values when delete a master without value 2015-04-19 09:37:46 +02:00
Emmanuel Garette 6fc921fc19 difference between option/optiondescription in PropertiesOptionError message 2015-04-19 09:25:49 +02:00
Emmanuel Garette 2b019027be valid Option is an unicode or a string if needed 2015-04-19 09:15:18 +02:00
Emmanuel Garette 057bba83e4 ValueError if not PropertieError 2015-04-18 23:46:37 +02:00
Emmanuel Garette d959020eed ability to disable warnings validation 2015-04-18 23:11:57 +02:00
Emmanuel Garette 10768a6067 refactor validation 2015-04-18 22:53:45 +02:00
Emmanuel Garette c566ad1111 valid default/callback value in consistencies 2015-03-08 12:03:49 +01:00
Emmanuel Garette 85297d8c4d test uppercase character before valid domain name for better error message 2014-12-07 14:51:51 +01:00
Emmanuel Garette bc65caa4dc mandatory master/slave's consistency with default value as slave 2014-12-07 14:39:23 +01:00
Emmanuel Garette 4fde28a15e in_network's consistency now verify that IP is not network or broadcast's IP + ip_netmask's consistency now verify that IP is not broadcast's IP 2014-12-01 23:16:00 +01:00
Emmanuel Garette a801951a78 can reset slave value in all case when deleting master value 2014-12-01 23:08:56 +01:00
Emmanuel Garette 71e69cd0bf if consistency with multiple option return if transitive 2014-12-01 23:02:55 +01:00
Emmanuel Garette 7646071efd propertyerror are transitive in consistency, now it's possible to set non-transitive consistency 2014-12-01 22:58:53 +01:00
Emmanuel Garette c75867720f add force_permissive in mandatory_warnings 2014-10-26 16:39:24 +01:00
Emmanuel Garette f730050f7c pass force_permissive to slave for a master or to master for a slave 2014-10-26 16:19:06 +01:00
Emmanuel Garette 4310d59991 add force_permissive to config __iter__ 2014-10-26 10:26:23 +01:00
Emmanuel Garette a130cff4bf frozen with force_default_on_freeze can change owner 2014-10-26 09:44:06 +01:00
Emmanuel Garette ed3373cff0 bad characters in DomainnameOption could be in warning level 2014-10-26 09:38:17 +01:00
Emmanuel Garette 8a59e27396 f option is frozen with force_default_on_freeze property, owner must be 'default' check property when tried to change owner 2014-10-26 08:51:45 +01:00