Commit Graph

66 Commits

Author SHA1 Message Date
Emmanuel Garette 974a178d4b simplify tiramisu/option/optiondescription.py 2018-11-13 22:10:01 +01:00
Emmanuel Garette f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01: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 5b518bffea config.reset() remove informations too 2018-09-09 23:04:36 +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 726d6c8bfd make_dict => dict, option.dict => config.dict 2018-08-23 23:14:22 +02:00
Emmanuel Garette f6e963ae38 remove all getapi in tests 2018-08-15 08:35:22 +02:00
Emmanuel Garette 41c17004d2 ConfigBag optimisation 2018-08-01 08:37:58 +02:00
Emmanuel Garette 2b08ab35d6 some tests 2018-04-12 23:04:33 +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 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 c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette 722779ebf7 coverage 2017-02-03 23:39:24 +01:00
Emmanuel Garette 7fe47396ee correction in fullpath option 2017-01-09 20:16:38 +01:00
Emmanuel Garette 66f24bd1c0 add fullpath to make_dict 2017-01-06 21:01:24 +01:00
Emmanuel Garette c81a2bcdbf better sqlalchemy integration 2016-10-01 20:15:08 +02: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 5ea92d3460 need new settings when create fake_config 2015-09-17 19:14:56 +02:00
Emmanuel Garette 44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette 2b019027be valid Option is an unicode or a string if needed 2015-04-19 09:15:18 +02:00
Emmanuel Garette 888446e4c5 remove unjustified open_values parameters in ChoiceOption 2014-04-27 10:44:19 +02:00
Emmanuel Garette 5d8b5719a0 Merge branch 'master' into orm
Conflicts:
	test/test_config_api.py
	tiramisu/autolib.py
	tiramisu/config.py
	tiramisu/option.py
	tiramisu/value.py
2014-04-13 10:30:42 +02:00
Emmanuel Garette cd52729952 add force_permissive in config's method (iter_all, iter_group, find, find_first and make_dict)
rename _getattr to getattr
2014-03-31 22:34:57 +02:00
Emmanuel Garette 544cd93c73 can make_dict with disabled suboption 2014-03-12 14:57:36 +01:00
Emmanuel Garette 194c82faad tests pass now with dictionary and sqlalchemy storage 2014-02-16 23:37:27 +01:00
Emmanuel Garette 21c8ed5d76 Merge branch 'master' into orm
Conflicts:
	test/test_option_consistency.py
	test/test_state.py
	tiramisu/option.py
2014-02-06 22:24:50 +01:00
Emmanuel Garette e7531e1fda more tests 2014-02-06 22:17:20 +01:00
Emmanuel Garette 98bd35ad36 Merge branch 'master' into orm
Conflicts:
	tiramisu/config.py
	tiramisu/option.py
2014-02-04 21:54:30 +01:00
Emmanuel Garette a067d2cdd9 add some tests 2014-02-04 21:14:30 +01:00
Emmanuel Garette 5646fc35a2 Merge branch 'master' into orm
Conflicts:
	test/test_parsing_group.py
2014-02-03 22:11:58 +01:00
Emmanuel Garette 8d10ad4002 add tests 2014-02-02 22:47:46 +01:00
Emmanuel Garette 8709386570 __getattr__ OD 2014-02-01 18:35:18 +01:00
Emmanuel Garette 2f40216fad Merge branch 'master' into orm 2014-02-01 17:25:39 +01:00
Emmanuel Garette 71b235551e add tests for find() 2014-02-01 17:25:31 +01:00
Emmanuel Garette cddeef0990 Merge branch 'master' into orm 2014-02-01 16:49:29 +01:00
Emmanuel Garette f48f3e7544 add tests for find() 2014-02-01 16:49:16 +01:00
Emmanuel Garette 374c56a9c8 first version with sqlalchemy option's storage 2013-11-23 23:34:17 +01:00
Emmanuel Garette 2dcdbb137e rename FileOption to FilenameOption
python 3 support
2013-10-01 08:19:10 +02:00
Emmanuel Garette cce080cbd3 add FileOption 2013-09-30 21:21:47 +02:00
Emmanuel Garette ff7714d8d3 add find test value in a multi's option 2013-09-22 21:31:37 +02:00
gwen 52a6705fbf new logo for the tiramisu project 2013-09-02 16:27:22 +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 682d9fe207 add option name's validation and rename Option method with objimpl_ 2013-04-20 21:58:52 +02:00