Commit Graph

32 Commits

Author SHA1 Message Date
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
Emmanuel Garette ab555966f7 use python-coverage to delete dead part of code 2015-11-24 10:58:19 +01:00
Emmanuel Garette 54ca54e505 separate value in slave 2015-11-19 22:25:00 +01:00
Emmanuel Garette 44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette 2ccf92f879 improve GroupConfig/MetaConfig
add set_value in GroupConfig
2014-12-01 21:49:50 +01:00
Emmanuel Garette f03cbeadb7 better performance in find_firsts
_is_build_cache not set in dictionary storage
2014-11-10 21:00:30 +01:00
Emmanuel Garette a067d2cdd9 add some tests 2014-02-04 21:14:30 +01:00
Emmanuel Garette 8d10ad4002 add tests 2014-02-02 22:47:46 +01:00
Emmanuel Garette feeb9842f5 serialize metaconfig/groupconfig 2013-09-30 16:22:08 +02:00
Emmanuel Garette 7165f73292 add metaconfig 2013-09-17 09:02:10 +02:00
gwen a894a5e27b rename API add_owner -> addowner 2013-08-27 16:12:53 +02:00
gwen 551b9fb1e3 getting stated documentation 2013-08-26 17:14:14 +02:00
Emmanuel Garette e4c129efc5 getowner need now an option 2013-08-24 22:32:54 +02:00
Emmanuel Garette 4c27cb586d in __setattr__, name should never be object's variable name
remove context in type_ find's option
find_first_context return AttributError if no results
2013-08-24 21:26:10 +02:00
Emmanuel Garette b6bb685ca5 key is now always path and change opt by path dictionary storage 2013-08-21 22:21:50 +02:00
Emmanuel Garette 6de65859b4 * config herite from BaseInformation class
* _cfgimpl_ => _impl_
* optimpl_ => impl_
* properties/permissives are now set/frozenset
* validation raise ValueError if not valid, didn't return anything otherwise
* consistencies are now validate in setting and when deleting value
* ip/network with netmask consistency now works
* DomainnameOption now works
* if no validation, don't set cache for value
* symlinkoption: remove path (not used)
2013-05-08 18:14:42 +02:00
Emmanuel Garette 2d57ed160e work on MetaConfig 2013-05-02 11:34:57 +02:00