Commit graph

537 commits

Author SHA1 Message Date
Emmanuel Garette
06f501ad05 test for property in persistent storage 2019-04-05 21:17:36 +02:00
Emmanuel Garette
2b45955886 add/remove config in mixconfig or metaconfig (fixes #6) 2019-04-05 21:00:25 +02:00
Emmanuel Garette
cab8dae15a requirement can have callback 2019-03-13 08:49:18 +01:00
Emmanuel Garette
05abe76932 add generic calc_value function 2019-03-09 13:28:15 +01:00
Emmanuel Garette
33c1666cc9 add cidr notation to domainnameoption if allow_ip is True (fixes #5) 2019-03-08 07:11:56 +01:00
Emmanuel Garette
35ee424810 add test_leadership_requires_transitive 2019-03-03 08:02:57 +01:00
Emmanuel Garette
5c0ac75c52 multiple option call (fixes #1) 2019-03-02 21:31:21 +01:00
Emmanuel Garette
7873910322 doesn't check follower requirement with an other follower or a leader if idx is None (fixes #3) 2019-03-02 19:43:58 +01:00
Emmanuel Garette
d25edd7dd7 update test_auto (fixes #2) 2019-03-02 19:32:55 +01:00
Emmanuel Garette
da015d3af0 coverage 2019-02-25 20:30:20 +01:00
Emmanuel Garette
46e5179d5e coverage 2019-02-25 08:46:58 +01:00
Emmanuel Garette
af55e20afe coverage 2019-02-24 20:23:16 +01:00
Emmanuel Garette
af5da925e2 add CIDR support 2019-02-24 18:37:19 +01:00
Emmanuel Garette
7c710d50b9 IPy => ipaddress 2019-02-24 12:05:26 +01:00
Emmanuel Garette
f03394563c can change expiration_time in api 2019-02-24 10:36:42 +01:00
Emmanuel Garette
9812975aa7 force_metaconfig_on_freeze in option (not in config) 2019-02-24 08:34:50 +01:00
Emmanuel Garette
b5497ab517 coverage 2019-02-23 22:52:06 +01:00
Emmanuel Garette
1bbcea60ab add force_metaconfig_on_freeze special properties 2019-02-23 22:10:43 +01:00
Emmanuel Garette
c3f968dbde master/slaves => leader/followers 2019-02-23 19:06:23 +01:00
Emmanuel Garette
b9ae1ec656 corrections in sqlite3 support 2019-02-23 12:25:20 +01:00
Emmanuel Garette
db074a78a5 update properties in auto test 2019-02-23 08:01:29 +01:00
Emmanuel Garette
fd95c6dd4a ca change default properties for a config 2019-02-22 06:55:34 +01:00
Emmanuel Garette
04b7d2bbc9 add context property force_store_value 2019-02-21 19:33:39 +01:00
Emmanuel Garette
526fe892d0 merge ValueWarning | ValueOptionError | ValueErrorWarning 2019-02-12 21:08:53 +01:00
Emmanuel Garette
c4bb4f90a1 validate name in symlinkoption 2019-02-11 20:28:03 +01:00
Emmanuel Garette
688525f98e add cfg.cache.reset 2019-02-10 21:14:32 +01:00
Emmanuel Garette
9ffd2e6505 add tests 2019-02-10 20:59:03 +01:00
Emmanuel Garette
0a5e7c5886 add path to config 2019-02-06 21:47:11 +01:00
Emmanuel Garette
ca4d5e3e97 add demoting_error_warning properties 2018-12-24 09:30:58 +01:00
Emmanuel Garette
f9b9ccacf1 update tests 2018-12-08 00:02:23 +01:00
Emmanuel Garette
da99c8eb69 better support of notraisepropertyerror 2018-12-07 23:33:54 +01:00
Emmanuel Garette
c86cad227e support _path for symlinkoption and root OD 2018-11-17 21:31:35 +01:00
Emmanuel Garette
7ae91b0f4e optimize option.list() with recursive attribute 2018-11-17 12:08:15 +01:00
Emmanuel Garette
92b469bd43 simplify tiramisu/option/baseoption.py 2018-11-15 16:17:39 +01:00
Emmanuel Garette
8b3da4d37b simplify tiramisu/option/masterslaves.py 2018-11-15 08:15:55 +01:00
Emmanuel Garette
184a086bc1 simplify tiramisu/option/syndynoption.py 2018-11-14 21:51:40 +01:00
Emmanuel Garette
974a178d4b simplify tiramisu/option/optiondescription.py 2018-11-13 22:10:01 +01:00
Emmanuel Garette
f04169d5a6 mandatory_warnings => mandatory 2018-11-13 12:39:51 +01:00
Emmanuel Garette
c1eed3ad0a valid child type for Mix|MetaConfig 2018-10-31 18:38:44 +01:00
Emmanuel Garette
f83937a143 PathConfig => MixConfig 2018-10-31 18:26:20 +01:00
Emmanuel Garette
4f4ecfd3a8 reset for pathconfig 2018-10-31 16:08:22 +01:00
Emmanuel Garette
b27d283341 add meta in option_bag 2018-10-31 09:55:05 +01:00
Emmanuel Garette
f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
Emmanuel Garette
69919535f6 do not raise un __new__ 2018-10-30 11:57:19 +01:00
Emmanuel Garette
1cda79154e can remove prefix in ValueOptionError 2018-10-30 11:57:19 +01:00
Emmanuel Garette
e4362e9b09 find in group or meta should return GroupConfig (and not KerneleGroupConfig) and remote 'first' attributs 2018-10-07 16:29:56 +02:00
Emmanuel Garette
5b5f06a612 do same api for property and permissive 2018-10-07 15:54:08 +02:00
Emmanuel Garette
290f687f6c help in API became usable 2018-10-07 10:55:52 +02:00
Emmanuel Garette
6e30f59803 do not remove context user when reset config 2018-09-29 22:21:25 +02:00
Emmanuel Garette
77e4fff763 copy requires from master to MasterSlaves 2018-09-29 21:37:39 +02:00