Emmanuel Garette
2b45955886
add/remove config in mixconfig or metaconfig ( fixes #6 )
2019-04-05 21:00:25 +02:00
Emmanuel Garette
da015d3af0
coverage
2019-02-25 20:30:20 +01:00
Emmanuel Garette
9812975aa7
force_metaconfig_on_freeze in option (not in config)
2019-02-24 08:34:50 +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
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
974a178d4b
simplify tiramisu/option/optiondescription.py
2018-11-13 22:10:01 +01:00
Emmanuel Garette
c1eed3ad0a
valid child type for Mix|MetaConfig
2018-10-31 18:38:44 +01:00
Emmanuel Garette
4f4ecfd3a8
reset for pathconfig
2018-10-31 16:08:22 +01:00
Emmanuel Garette
f4bf3dc390
add PathConfig
2018-10-31 08:00: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
290f687f6c
help in API became usable
2018-10-07 10:55:52 +02:00
Emmanuel Garette
33e68dbebf
reset for groupconfig works
2018-09-29 18:52:13 +02:00
Emmanuel Garette
242615f68b
values/settings is not useful to KernelGroupConfig
2018-09-26 22:29:08 +02:00
Emmanuel Garette
df77bc8738
test coverage
2018-09-22 17:45:52 +02:00
Emmanuel Garette
84d1f85b90
test if new_config copy owner
...
owners.meta is no more a special owners
2018-09-15 10:45:36 +02:00
Emmanuel Garette
87594307c9
copy context owner when user copied a config/metaconfig
...
Context owner is now in values (no more in settings).
The context owner is set in storage.
So when copy/deepcopy a config, owner is copied to.
For user, when export values, context owner is not returned by default.
2018-09-15 10:34:15 +02:00
Emmanuel Garette
f6a9b88795
support multiple metaconfig and prefix
2018-09-13 17:00:52 +02:00
Emmanuel Garette
620eaa6461
can remove config from a metaconfig
2018-09-13 07:00:12 +02:00
Emmanuel Garette
657b401124
can remove all data in options (value, properties and permissives) with new function in API: c.config.reset()
2018-09-09 13:50:38 +02:00
Emmanuel Garette
6110a37cc7
option.dict => value.dict
2018-09-09 12:21:47 +02:00
Emmanuel Garette
aa9aef6e78
remove _cache_paths (path is now directly in option)
...
better TiramisuAPI support
2018-09-08 20:17:20 +02:00
Emmanuel Garette
d61d1c2931
Return Config not TiramisuAPI
2018-09-06 19:28:04 +02:00
Emmanuel Garette
1ef82af5d1
simplify meta support
2018-09-05 22:46:45 +02:00
Emmanuel Garette
1816813f92
duplicate => copy + add deepcopy
2018-09-05 20:22:16 +02:00
Emmanuel Garette
726d6c8bfd
make_dict => dict, option.dict => config.dict
2018-08-23 23:14:22 +02:00
Emmanuel Garette
bf519499d4
metaconfig support
2018-08-17 22:12:50 +02:00
Emmanuel Garette
f6e963ae38
remove all getapi in tests
2018-08-15 08:35:22 +02:00
Emmanuel Garette
a37a37cc44
return tiramisuAPI
2018-08-14 22:25:31 +02:00
Emmanuel Garette
3210a54ab8
config => KernelConfig + Config in api
2018-08-14 22:15:40 +02:00
Emmanuel Garette
54b57968bc
not Params object for callback, validator and calculated values for choiceoption
2018-04-15 21:13:16 +02:00
Emmanuel Garette
605163ab4a
some improvment
2018-04-11 16:36:15 +02:00
Emmanuel Garette
9e378faef0
simplify find() in api and PropertiesOptionError
2018-04-10 22:42:20 +02:00
Emmanuel Garette
5eb2f04202
find in api return an api object
2018-04-10 12:33:51 +02:00
Emmanuel Garette
c3be5e82ba
update help() in api
2018-04-07 20:15:19 +02:00
Emmanuel Garette
de77cd1027
reset cache only if calculated value return a new value
2018-03-31 23:09:40 +02:00
Emmanuel Garette
d5d826f967
adapt tests
2018-03-19 08:33:53 +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
5a1987f2e6
Add MasterSlaves object
2017-10-14 13:33:25 +02:00
Emmanuel Garette
32252e619b
reorganise Base and Option
2017-07-24 18:27:24 +02:00
Emmanuel Garette
ddaadb0701
coverage
2017-07-21 18:03:34 +02:00
Emmanuel Garette
be43c95ec0
In Config, name and session_id was quite equal, remove name
...
session_id is now validate
set_value return Configs with error
add new_config to MetaConfig
2017-07-19 20:44:38 +02:00
Emmanuel Garette
90a2072fc5
less commit + better meta support
2017-07-16 23:11:12 +02:00
Emmanuel Garette
7fb0ee2575
permissive only if needed + global properties are in metaconfig
2017-07-16 12:30:13 +02:00
Emmanuel Garette
c8bc3093c7
python 3.5 support
2017-07-09 09:49:03 +02:00
Emmanuel Garette
695de030ef
coverage for tiramisu/value.py
2017-02-11 17:22:50 +01:00
Emmanuel Garette
6d71749014
force_store_value is rebuild if needed
2016-09-22 08:27:18 +02:00
Emmanuel Garette
e8764f6173
remove some try/except + consistency not works with submulti
2016-01-03 13:23:15 +01:00