Emmanuel Garette
620e8bbf2e
optimize
2019-06-12 08:45:56 +02:00
Emmanuel Garette
07e6ea5eb2
can add new config with mixconfig type
2019-06-05 12:33:00 +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
da015d3af0
coverage
2019-02-25 20:30:20 +01:00
Emmanuel Garette
715289a25a
resetcache in config/api not in storage
2019-02-24 10:44:15 +01:00
Emmanuel Garette
c3f968dbde
master/slaves => leader/followers
2019-02-23 19:06:23 +01:00
Emmanuel Garette
04b7d2bbc9
add context property force_store_value
2019-02-21 19:33:39 +01:00
Emmanuel Garette
a59d25fc14
2018 => 2019
2019-02-12 06:55:47 +01:00
Emmanuel Garette
7c214bb8ee
support metaconfig for check
2019-02-07 10:39:28 +01:00
Emmanuel Garette
0a5e7c5886
add path to config
2019-02-06 21:47:11 +01:00
Emmanuel Garette
08bae1d131
change context when reset cache in metaconfig
2019-02-06 16:25:32 +01:00
Emmanuel Garette
81490b75d9
make_dict with mandatory option
2018-12-07 23:30:45 +01:00
Emmanuel Garette
ef66d487b7
remove warnings when execute option.list
2018-11-17 23:02:03 +01:00
Emmanuel Garette
17bd7c3c05
supply make_dict with slave
2018-11-17 22:37:08 +01:00
Emmanuel Garette
f86cbb1bcd
if impl_is_readonly is not False => duplicated option !
2018-11-17 22:12:21 +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
dde7ad3373
simplify tiramisu/option/dynoptiondescription.py
2018-11-14 17:38:21 +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
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
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
fbff3d9ced
simplify optiondescription
2018-09-30 20:32:00 +02:00
Emmanuel Garette
69da6ed5e6
coverage
2018-09-29 21:39:58 +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
4426cc5111
coverage
2018-09-26 21:30:10 +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
77a77dd01c
new can create a metaconfig too
2018-09-13 09:17:38 +02:00
Emmanuel Garette
620eaa6461
can remove config from a metaconfig
2018-09-13 07:00:12 +02:00
Emmanuel Garette
ccf3f0ae06
when use config.new(), copy properties and permissives
2018-09-13 06:50:26 +02:00
Emmanuel Garette
e41af1fdce
recalculate forced value when config.new()
2018-09-12 22:16:00 +02:00
Emmanuel Garette
10aaf2219f
copy/deepcopy could be persistent
2018-09-12 17:26:12 +02:00
Emmanuel Garette
8093a29a12
storage set when duplicate a metaconfig
2018-09-12 16:44:52 +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
aa9aef6e78
remove _cache_paths (path is now directly in option)
...
better TiramisuAPI support
2018-09-08 20:17:20 +02:00
Emmanuel Garette
05404e89bc
remove _getcontext in Settings
2018-09-07 06:14:52 +02:00
Emmanuel Garette
09c9fa4906
context is not needed for impl_getpath
2018-09-06 23:16:17 +02:00
Emmanuel Garette
4b0c142e3e
synchronise config_bag and context
2018-09-06 23:06:56 +02:00
Emmanuel Garette
1816813f92
duplicate => copy + add deepcopy
2018-09-05 20:22:16 +02:00
Emmanuel Garette
ec169a8dc6
optimisations
2018-09-04 08:36:02 +02:00
Emmanuel Garette
122796bd19
requires for a master is a required for the masterslaves + remove cache from masterslaves too
2018-09-02 11:55:19 +02:00
Emmanuel Garette
6ceeb43962
makedict with masterslaves
2018-08-19 15:19:42 +02:00
Emmanuel Garette
201f7d2592
add some tests for dynoptiondescription + correction
2018-08-19 09:20:20 +02:00