Emmanuel Garette
afeedc1db6
config_bag and name not already exists
2020-08-15 00:23:48 +02:00
Emmanuel Garette
96c76286db
get dependencies in API
2020-08-04 16:35:40 +02:00
Emmanuel Garette
f7bd6e3a47
add support in calculation when option is in a dynoptiondescription
2020-04-11 13:13:35 +02:00
Emmanuel Garette
2d2e8a63fb
add new argument in config.new()
2020-03-16 15:38:41 +01:00
Emmanuel Garette
f1651848d2
can create a config with a mix_config
2020-03-04 15:39:47 +01:00
Emmanuel Garette
ad6ed0a648
storage in groupconfig
2020-02-18 22:10:33 +01:00
Emmanuel Garette
3bef45c9db
New Postgres storage
2020-01-30 16:10:54 +01:00
Emmanuel Garette
1861dc59d4
add leader_to_list to dict message
2019-12-28 12:30:32 +01:00
Emmanuel Garette
52ddd76b1a
corrections in dict and todict
2019-12-25 20:44:56 +01:00
Emmanuel Garette
503d4b2cca
async version of tiramisu
2019-12-24 15:25:12 +01:00
Emmanuel Garette
d9c0b18404
'new' config allow storage
2019-12-08 08:14:36 +01:00
Emmanuel Garette
358a49c0e2
can get uncalculated property + can add storage when init mixconfig
2019-12-02 10:37:21 +01:00
Emmanuel Garette
7325f6e12f
add index to properties/permissives
2019-11-19 18:39:44 +01:00
Emmanuel Garette
5c3a133928
consistency is now simple validation
2019-10-27 16:53:25 +01:00
Emmanuel Garette
c75425c03a
Merge branch 'master' into develop
2019-10-20 08:24:48 +02:00
Emmanuel Garette
a7e4399ae5
get information with default attribute when information is set to an option
2019-10-16 07:42:18 +02:00
Emmanuel Garette
ba5cc57166
get_type not exists for optiondescription, change it to impl_get_group_type
2019-10-16 07:34:03 +02:00
Emmanuel Garette
06ad839468
add parents method to MetaConfig
2019-09-02 14:11:36 +02:00
Emmanuel Garette
bb2ecc94d9
add Calculation to properties
2019-09-01 09:41:53 +02:00
Emmanuel Garette
7c641961d3
better validation with parent + deepconfig
2019-08-28 15:55:10 +02:00
Emmanuel Garette
c15dac8093
unrestraint in subconfig
2019-08-24 08:14:54 +02:00
Emmanuel Garette
b6ec77aa23
better way to manage follower in MetaConfig
2019-08-07 08:38:32 +02:00
Emmanuel Garette
2d7d237e19
Config could have multiple parents
2019-08-05 22:31:56 +02:00
Emmanuel Garette
113b7a3410
todict works with Metaconfig
2019-08-03 21:03:23 +02:00
Emmanuel Garette
c5ce9be699
doc + description + can updates with dict
2019-07-29 22:13:04 +02:00
Emmanuel Garette
34d71901d0
to_dict improvment and add display_name parameter to change impl_get_display_name function
2019-07-26 08:55:20 +02:00
Emmanuel Garette
e73f3d1e47
we have to access to option without restriction
2019-07-06 08:36:13 +02:00
Emmanuel Garette
fb1286e50e
better hidden/display support
2019-07-04 20:43:47 +02:00
Emmanuel Garette
83f05197fb
update todict support and tests
2019-06-21 23:04:04 +02:00
Emmanuel Garette
516a5a7219
copy default properties when copy config or create a config in a metaconfig
2019-06-20 15:24:21 +02:00
Emmanuel Garette
620e8bbf2e
optimize
2019-06-12 08:45:56 +02:00
Emmanuel Garette
aa11e3b79c
can retrieve metaconfig/mixconfig/config in a metaconfig/mixconfig
2019-06-05 14:37:58 +02:00
Emmanuel Garette
07e6ea5eb2
can add new config with mixconfig type
2019-06-05 12:33:00 +02:00
Emmanuel Garette
b9e9e98270
reindent
2019-05-27 16:21:43 +02:00
Emmanuel Garette
5498a12b2b
copy/deepcopy groupconfig
2019-05-27 16:11:41 +02:00
Emmanuel Garette
552cd3740d
todict: better support for callback
2019-05-09 20:32:43 +02:00
Emmanuel Garette
5ea35bf84e
simplify tiramisu dict format
2019-04-22 10:51:44 +02:00
Emmanuel Garette
1aec891408
import tiramisu-json in tiramisu repository
2019-04-08 20:34:05 +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
2a6df8c8d8
safer option.type() (ref #4 )
2019-03-06 21:50:28 +01:00
Emmanuel Garette
5c0ac75c52
multiple option call ( fixes #1 )
2019-03-02 21:31:21 +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
715289a25a
resetcache in config/api not in storage
2019-02-24 10:44:15 +01:00
Emmanuel Garette
f03394563c
can change expiration_time in api
2019-02-24 10:36:42 +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
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
a59d25fc14
2018 => 2019
2019-02-12 06:55:47 +01:00
Emmanuel Garette
688525f98e
add cfg.cache.reset
2019-02-10 21:14:32 +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
31adca7292
option not define in f def name()
2019-01-28 11:45:20 +01:00
Emmanuel Garette
f018217b1e
add follow_symlink when getting name of an option
2019-01-18 14:15:42 +01:00
Emmanuel Garette
ca4d5e3e97
add demoting_error_warning properties
2018-12-24 09:30:58 +01:00
Emmanuel Garette
a30eaacb1f
separate config properties and properties in option + better properties check
2018-11-29 22:08:50 +01:00
Emmanuel Garette
fee8997f13
use remove_warnings
2018-11-17 23:14:47 +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
7ae91b0f4e
optimize option.list() with recursive attribute
2018-11-17 12:08:15 +01:00
Emmanuel Garette
9bc3c7a056
name => path
2018-11-16 22:34:51 +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
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
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
gwen
9dbe371bcd
docstrings
2018-10-08 15:56:28 +02: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
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
996a6c7303
simplify set with undefined
2018-09-29 08:27:00 +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
df77bc8738
test coverage
2018-09-22 17:45:52 +02:00
Emmanuel Garette
2d063f8170
coverages
2018-09-15 22:44:49 +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
e6cbcde927
remove all properties
2018-09-13 08:28:59 +02:00
Emmanuel Garette
620eaa6461
can remove config from a metaconfig
2018-09-13 07:00:12 +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
4d3a470e58
pass storage when copy/deepcopy a config
2018-09-12 16:45:20 +02:00
Emmanuel Garette
4e5ffb201d
correction in list with recursion
2018-09-10 21:59:54 +02:00
Emmanuel Garette
5b518bffea
config.reset() remove informations too
2018-09-09 23:04:36 +02:00
Emmanuel Garette
3d07a9e88f
set/get/del to options
2018-09-09 22:38:03 +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
05404e89bc
remove _getcontext in Settings
2018-09-07 06:14:52 +02:00
Emmanuel Garette
d61d1c2931
Return Config not TiramisuAPI
2018-09-06 19:28:04 +02:00
Emmanuel Garette
1816813f92
duplicate => copy + add deepcopy
2018-09-05 20:22:16 +02:00