Emmanuel Garette
f4bf3dc390
add PathConfig
2018-10-31 08:00:19 +01:00
Emmanuel Garette
6b6fa5e499
remove getapi in tests
2018-08-14 23:07:07 +02:00
Emmanuel Garette
87e2f422b7
remove unecessary unwrap_from_path function
2018-08-01 19:13:42 +02:00
Emmanuel Garette
d5d826f967
adapt tests
2018-03-19 08:33:53 +01:00
Emmanuel Garette
c8bc3093c7
python 3.5 support
2017-07-09 09:49:03 +02:00
Emmanuel Garette
44cd618704
remove pep8 validation errors
2015-07-24 17:54:10 +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
e883e5b89e
remove _setoption in SymLinkOption
...
objimpl_ => optimpl_
ConflictConfigError => ConflictError
add read_write/read_only/getowner in Config
2013-04-22 09:19:05 +02:00
Emmanuel Garette
682d9fe207
add option name's validation and rename Option method with objimpl_
2013-04-20 21:58:52 +02:00
Emmanuel Garette
d4ef47759e
Manipulate properties is now more convenient:
...
c.cfgimpl_get_settings().has_property('hidden') => 'hidden' in c.cfgimpl_get_settings()
c.cfgimpl_get_settings().has_property('hidden', option1) => 'frozen' in c.cfgimpl_get_settings()[opt]
c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]
c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]
c.cfgimpl_get_settings().add_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].append('hidden')
c.cfgimpl_get_settings().del_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].remove('hidden')
c.cfgimpl_get_settings().enable_property('hidden') => c.cfgimpl_get_settings().append('hidden')
c.cfgimpl_get_settings().disable_property('hidden') => c.cfgimpl_get_settings().remove('hidden')
2013-04-20 17:30:05 +02:00
Emmanuel Garette
9357b342c1
review exception
2013-04-14 12:01:32 +02:00
gwen
e75d6abad1
test_option_has_an_api_name temporarily disabled
2013-04-03 16:01:53 +02:00
gwen
eb632c002d
option names shall be valid names
2013-02-25 16:06:10 +01:00
gwen
7b4f3b5d36
option's name shall not have an api's method name
2013-02-25 11:33:20 +01:00
gwen
9259a6e3f7
values are in value objects now
2013-02-07 16:20:21 +01:00
gwen
86f9096937
settings are in a separate object
2012-11-19 10:45:03 +01:00
gwen
09dba4b959
suppression of the override
2012-11-12 12:06:58 +01:00
gwen
c70fc04f3a
has_callback options cannot be overrided
2012-09-18 15:25:35 +02:00
gwen
45ff59aea2
tests are passing again after package renaming
2012-07-23 14:52:08 +02:00
gwen
9aa9d9780a
everything in src for packaging purposes
2012-07-13 09:42:14 +02:00
gwen
d1f97ca50f
everything in src for packaging purposes
2012-07-13 09:37:25 +02:00
gwen
8b16814ab4
first revision
2012-05-13 20:48:51 +02:00