Commit Graph

189 Commits

Author SHA1 Message Date
Emmanuel Garette 7ab479f628 reorganise consistencies 2017-12-23 10:40:57 +01:00
Emmanuel Garette 538e6a792a add config_bag and convert some tests 2017-12-19 23:11:45 +01:00
Emmanuel Garette b5f785d62c convert tests 2017-12-13 22:15:34 +01:00
Emmanuel Garette a07e916153 reorganisation 2017-12-07 21:42:04 +01:00
Emmanuel Garette 48e172a59a correction on test test_multi.py 2017-12-05 21:49:19 +01:00
Emmanuel Garette 924ac4e597 reorganise symlinkoption 2017-12-04 20:05:36 +01:00
Emmanuel Garette 9831f7cf0c add test for master/slave and callback 2017-11-28 22:42:30 +01:00
Emmanuel Garette 527ae40950 refactor 2017-11-23 16:56:14 +01:00
Emmanuel Garette 119ca85041 refactor 2017-11-20 17:01:36 +01:00
Emmanuel Garette 93fe29b651 - add api.owner.get() to get default owner for a context + tests
- slave: get length for a specified slave and test
- add test for deref objects and default_multi
- add issubmulti, getdefault, getdefaultmulti
- start metaconfig support in api
2017-11-16 21:30:07 +01:00
Emmanuel Garette 007a22ca94 refactor and better test in api 2017-11-13 22:45:53 +01:00
Emmanuel Garette a8d022b67f Merge branch 'feature/new_api' into feature/3.0 2017-11-12 20:17:29 +01:00
Emmanuel Garette 6c0253ae35 update api 2017-11-12 20:11:56 +01:00
Emmanuel Garette 7ab7b810dc refactor 2017-11-12 14:33:05 +01:00
Emmanuel Garette 2e412b64fd api: permissive => forcepermissive
api: add permissive object
test api: permissive
config: unwrap_from_path check properties for option, not only optiondescription
option: _RegexpOption => RegexpOption
2017-11-03 21:52:13 +01:00
Emmanuel Garette 22a4aa81dc first version of new api 2017-10-22 15:14:25 +02:00
Emmanuel Garette e32820c913 save indexed value in cache is not necessary 2017-09-22 19:51:26 +02:00
Emmanuel Garette 1d251374a1 reorganise code 2017-07-23 18:14:34 +02:00
Emmanuel Garette 57a47763d6 remove option's storage 2017-07-22 16:26:06 +02:00
Emmanuel Garette 5ca2e32ac5 coverage 2017-07-21 22:34:41 +02:00
Emmanuel Garette 32e88299e2 remove pickle dump/load support 2017-07-21 18:46:11 +02:00
Emmanuel Garette ddaadb0701 coverage 2017-07-21 18:03:34 +02:00
Emmanuel Garette 7fb0ee2575 permissive only if needed + global properties are in metaconfig 2017-07-16 12:30:13 +02:00
Emmanuel Garette d445963429 add permissive cache 2017-07-13 22:04:06 +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 b4cab93e85 better error message with requirementerror 2017-05-05 21:44:47 +02:00
Emmanuel Garette 6ca3e236f9 reset cache when permissive is added 2017-04-20 11:20:37 +02:00
Emmanuel Garette d8f36766ee coverage for tiramisu/option/masterslave.py 2017-02-04 14:34:56 +01:00
Emmanuel Garette 2db15e193e require with inverse 2017-01-30 19:23:52 +01:00
Emmanuel Garette f497e99002 remove unicode decode error 2017-01-19 21:38:16 +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 df90e74819 mandatories masterslaves with consistency and default value is acceptable 2016-12-07 17:28:31 +01:00
Emmanuel Garette fb16dd2a79 slave's requires with multi is different than slave's requires with non multi option 2016-11-14 21:14:45 +01:00
Emmanuel Garette fce5a8735e better error message 2016-10-24 21:59:40 +02:00
Emmanuel Garette 44dfd21ff6 better error msg 2016-10-23 23:18:06 +02:00
Emmanuel Garette 9a912376b9 simplify apply_requires 2016-10-23 09:38:35 +02: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 19b676967d better propertyerror message 2016-09-14 20:17:25 +02:00
Emmanuel Garette 44d585a5e2 better mandatory/empty support for mandatory_warnings 2016-06-29 21:42:54 +02:00
Emmanuel Garette 9adfffe339 set force_permissive to append 2016-03-17 23:16:21 +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 f4307b9122 cannot append properties for option with forbidden_set_properties 2016-01-25 15:49:40 +01:00
Emmanuel Garette b521c459ee remove all try/except 2016-01-03 21:18:52 +01:00
Emmanuel Garette d0e2b5d8c4 remove some try/except 2015-12-30 22:32:07 +01:00
Emmanuel Garette 4d4d789c8a simplification 2015-12-17 22:41:57 +01:00
Emmanuel Garette 59f59b0b1b add some optimisation 2015-12-14 23:37:15 +01:00
Emmanuel Garette 98200ecae5 improvemnt information 2015-11-30 15:55:34 +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