tiramisu.git
3 years agoremove some try/except
Emmanuel Garette [Wed, 30 Dec 2015 21:32:07 +0000 (22:32 +0100)]
remove some try/except

3 years agoremove some try/except
Emmanuel Garette [Mon, 28 Dec 2015 21:00:46 +0000 (22:00 +0100)]
remove some try/except

3 years agoremove some try/except
Emmanuel Garette [Mon, 28 Dec 2015 20:40:40 +0000 (21:40 +0100)]
remove some try/except

3 years agoremove some try/except
Emmanuel Garette [Sat, 26 Dec 2015 09:57:20 +0000 (10:57 +0100)]
remove some try/except

3 years agobetter support for dynoptiondescription
Emmanuel Garette [Wed, 23 Dec 2015 22:30:57 +0000 (23:30 +0100)]
better support for dynoptiondescription

3 years agoadd some optimisations
Emmanuel Garette [Tue, 22 Dec 2015 21:06:14 +0000 (22:06 +0100)]
add some optimisations

3 years agosome optimisations
Emmanuel Garette [Fri, 18 Dec 2015 22:35:45 +0000 (23:35 +0100)]
some optimisations

3 years agosome optimisation
Emmanuel Garette [Fri, 18 Dec 2015 21:44:46 +0000 (22:44 +0100)]
some optimisation

3 years agosimplification
Emmanuel Garette [Thu, 17 Dec 2015 21:41:57 +0000 (22:41 +0100)]
simplification

3 years ago_getmaster must use cached value
Emmanuel Garette [Wed, 16 Dec 2015 22:04:00 +0000 (23:04 +0100)]
_getmaster must use cached value

3 years agoadd some optimisation
Emmanuel Garette [Mon, 14 Dec 2015 22:37:15 +0000 (23:37 +0100)]
add some optimisation

4 years agoimprovemnt information
Emmanuel Garette [Mon, 30 Nov 2015 14:55:34 +0000 (15:55 +0100)]
improvemnt information

4 years agorequires could be apply to a slave and properties could be different
Emmanuel Garette [Sun, 29 Nov 2015 22:03:08 +0000 (23:03 +0100)]
requires could be apply to a slave and properties could be different

4 years agoimpl_get_values with calculated values and no context should return []
Emmanuel Garette [Thu, 26 Nov 2015 18:42:33 +0000 (19:42 +0100)]
impl_get_values with calculated values and no context should return []

4 years agouse python-coverage to delete dead part of code
Emmanuel Garette [Tue, 24 Nov 2015 09:58:19 +0000 (10:58 +0100)]
use python-coverage to delete dead part of code

4 years agoseparate value in slave
Emmanuel Garette [Thu, 19 Nov 2015 21:25:00 +0000 (22:25 +0100)]
separate value in slave

4 years agoextend properties must save setting only if all properties are correct
Emmanuel Garette [Sun, 1 Nov 2015 10:12:27 +0000 (11:12 +0100)]
extend properties must save setting only if all properties are correct

4 years agosetting must have public method to get getproperties with path
Emmanuel Garette [Sun, 1 Nov 2015 09:57:36 +0000 (10:57 +0100)]
setting must have public method to get getproperties with path

4 years agounserialise information and requires attribute
Emmanuel Garette [Sun, 1 Nov 2015 09:35:17 +0000 (10:35 +0100)]
unserialise information and requires attribute

4 years agosupport multi when picklise object
Emmanuel Garette [Fri, 30 Oct 2015 21:51:36 +0000 (22:51 +0100)]
support multi when picklise object

4 years agosupport context param in picklisation
Emmanuel Garette [Fri, 30 Oct 2015 21:49:57 +0000 (22:49 +0100)]
support context param in picklisation

4 years agooptimise mandatory_warnings
Emmanuel Garette [Thu, 29 Oct 2015 08:03:13 +0000 (09:03 +0100)]
optimise mandatory_warnings

4 years agovalid properties for slaves when set or append a master's value
Emmanuel Garette [Mon, 26 Oct 2015 14:39:07 +0000 (15:39 +0100)]
valid properties for slaves when set or append a master's value

4 years agodomainname with only one character is now allowed
Emmanuel Garette [Mon, 12 Oct 2015 15:06:15 +0000 (17:06 +0200)]
domainname with only one character is now allowed

4 years agocheck with option as parameter
Emmanuel Garette [Thu, 17 Sep 2015 19:25:32 +0000 (21:25 +0200)]
check with option as parameter

4 years agoneed new settings when create fake_config
Emmanuel Garette [Thu, 17 Sep 2015 17:14:56 +0000 (19:14 +0200)]
need new settings when create fake_config

4 years agoempty property only available for multi
Emmanuel Garette [Mon, 27 Jul 2015 07:32:42 +0000 (09:32 +0200)]
empty property only available for multi

4 years agoadd global 'empty' property, this property raise mandatory PropertiesOptionError...
Emmanuel Garette [Sun, 26 Jul 2015 16:55:21 +0000 (18:55 +0200)]
add global 'empty' property, this property raise mandatory PropertiesOptionError if multi or master have empty value

4 years agoadd duplicate option to Config
Emmanuel Garette [Fri, 24 Jul 2015 16:05:51 +0000 (18:05 +0200)]
add duplicate option to Config

4 years agoremove pep8 validation errors
Emmanuel Garette [Fri, 24 Jul 2015 15:54:10 +0000 (17:54 +0200)]
remove pep8 validation errors

4 years agoSome optimisations
Emmanuel Garette [Sun, 3 May 2015 07:56:03 +0000 (09:56 +0200)]
Some optimisations

4 years agofor a multi mandatory, allow [] with allow_empty_list attribut
Emmanuel Garette [Mon, 20 Apr 2015 12:49:43 +0000 (14:49 +0200)]
for a multi mandatory, allow [] with allow_empty_list attribut

4 years agoURLOption: allow uppercase in resource name
Emmanuel Garette [Sun, 19 Apr 2015 07:46:39 +0000 (09:46 +0200)]
URLOption: allow uppercase in resource name

4 years agoremove slave values when delete a master without value
Emmanuel Garette [Sun, 19 Apr 2015 07:37:46 +0000 (09:37 +0200)]
remove slave values when delete a master without value

4 years agodifference between option/optiondescription in PropertiesOptionError message
Emmanuel Garette [Sun, 19 Apr 2015 07:25:49 +0000 (09:25 +0200)]
difference between option/optiondescription in PropertiesOptionError message

4 years agovalid Option is an unicode or a string if needed
Emmanuel Garette [Sun, 19 Apr 2015 07:15:18 +0000 (09:15 +0200)]
valid Option is an unicode or a string if needed

4 years agoValueError if not PropertieError
Emmanuel Garette [Sat, 18 Apr 2015 21:46:37 +0000 (23:46 +0200)]
ValueError if not PropertieError

4 years agoability to disable warnings validation
Emmanuel Garette [Sat, 18 Apr 2015 21:11:57 +0000 (23:11 +0200)]
ability to disable warnings validation

4 years agorefactor validation
Emmanuel Garette [Sat, 18 Apr 2015 20:53:45 +0000 (22:53 +0200)]
refactor validation

4 years agovalid default/callback value in consistencies
Emmanuel Garette [Sun, 8 Mar 2015 11:03:49 +0000 (12:03 +0100)]
valid default/callback value in consistencies

5 years agotest uppercase character before valid domain name for better error message
Emmanuel Garette [Sun, 7 Dec 2014 13:51:51 +0000 (14:51 +0100)]
test uppercase character before valid domain name for better error message

5 years agomandatory master/slave's consistency with default value as slave
Emmanuel Garette [Sun, 7 Dec 2014 13:39:23 +0000 (14:39 +0100)]
mandatory master/slave's consistency with default value as slave

5 years agoin_network's consistency now verify that IP is not network or broadcast's IP + ip_net...
Emmanuel Garette [Mon, 1 Dec 2014 22:16:00 +0000 (23:16 +0100)]
in_network's consistency now verify that IP is not network or broadcast's IP + ip_netmask's consistency now verify that IP is not broadcast's IP

5 years agocan reset slave value in all case when deleting master value
Emmanuel Garette [Mon, 1 Dec 2014 22:08:56 +0000 (23:08 +0100)]
can reset slave value in all case when deleting master value

5 years agoif consistency with multiple option return if transitive
Emmanuel Garette [Mon, 1 Dec 2014 22:02:55 +0000 (23:02 +0100)]
if consistency with multiple option return if transitive

5 years agopropertyerror are transitive in consistency, now it's possible to set non-transitive...
Emmanuel Garette [Mon, 1 Dec 2014 21:58:53 +0000 (22:58 +0100)]
propertyerror are transitive in consistency, now it's possible to set non-transitive consistency

5 years agoimprove GroupConfig/MetaConfig
Emmanuel Garette [Mon, 1 Dec 2014 20:49:50 +0000 (21:49 +0100)]
improve GroupConfig/MetaConfig
add set_value in GroupConfig

5 years agoin find_firsts get option only one time
Emmanuel Garette [Tue, 11 Nov 2014 10:31:23 +0000 (11:31 +0100)]
in find_firsts get option only one time

5 years agoimprove performance
Emmanuel Garette [Mon, 10 Nov 2014 22:15:08 +0000 (23:15 +0100)]
improve performance

5 years agobetter performance in find_firsts
Emmanuel Garette [Mon, 10 Nov 2014 20:00:30 +0000 (21:00 +0100)]
better performance in find_firsts
_is_build_cache not set in dictionary storage

5 years agoworks on sqlalchemy storage
Emmanuel Garette [Mon, 10 Nov 2014 08:13:44 +0000 (09:13 +0100)]
works on sqlalchemy storage

5 years agoadd force_permissive in mandatory_warnings
Emmanuel Garette [Sun, 26 Oct 2014 15:39:24 +0000 (16:39 +0100)]
add force_permissive in mandatory_warnings

5 years agopass force_permissive to slave for a master or to master for a slave
Emmanuel Garette [Sun, 26 Oct 2014 15:19:06 +0000 (16:19 +0100)]
pass force_permissive to slave for a master or to master for a slave

5 years agoadd force_permissive to config __iter__
Emmanuel Garette [Sun, 26 Oct 2014 09:26:23 +0000 (10:26 +0100)]
add force_permissive to config __iter__

5 years agofrozen with force_default_on_freeze can change owner
Emmanuel Garette [Sun, 26 Oct 2014 08:44:06 +0000 (09:44 +0100)]
frozen with force_default_on_freeze can change owner

5 years agobad characters in DomainnameOption could be in warning level
Emmanuel Garette [Sun, 26 Oct 2014 08:38:17 +0000 (09:38 +0100)]
bad characters in DomainnameOption could be in warning level

5 years agof option is frozen with force_default_on_freeze property, owner must be 'default...
Emmanuel Garette [Sun, 26 Oct 2014 07:51:45 +0000 (08:51 +0100)]
f option is frozen with force_default_on_freeze property, owner must be 'default' check property when tried to change owner

5 years agoadd consistency name in error if consistency not exists
Emmanuel Garette [Sat, 25 Oct 2014 21:00:04 +0000 (23:00 +0200)]
add consistency name in error if consistency not exists

5 years agoallow number as first letter of a domainname with netbios type
Emmanuel Garette [Sat, 25 Oct 2014 20:58:46 +0000 (22:58 +0200)]
allow number as first letter of a domainname with netbios type

5 years agocannot add unvalaible consistency for an option
Emmanuel Garette [Sat, 25 Oct 2014 20:50:43 +0000 (22:50 +0200)]
cannot add unvalaible consistency for an option

5 years agocannot add unvalaible consistency for an option
Emmanuel Garette [Sat, 25 Oct 2014 20:47:40 +0000 (22:47 +0200)]
cannot add unvalaible consistency for an option

5 years agotiramisu/i18n.py : Removing call of gettext.install
Philippe Caseiro [Thu, 24 Apr 2014 15:30:52 +0000 (17:30 +0200)]
tiramisu/i18n.py : Removing call of gettext.install

This call make translation fail in gen_config, the new way to use
gettext don't need to use this call.

Conflicts:
tiramisu/i18n.py

5 years agoreplace ugettext by a simple gettext
gwen [Thu, 24 Apr 2014 14:39:16 +0000 (16:39 +0200)]
replace ugettext by a simple gettext

5 years agoi18n with ugettext instead of gettext
gwen [Tue, 22 Apr 2014 15:36:07 +0000 (17:36 +0200)]
i18n with ugettext instead of gettext

5 years agoreduce memory usage
Emmanuel Garette [Sat, 25 Oct 2014 20:11:31 +0000 (22:11 +0200)]
reduce memory usage

5 years agobetter support for sqlalchemy storage
Emmanuel Garette [Sun, 6 Jul 2014 13:35:13 +0000 (15:35 +0200)]
better support for sqlalchemy storage

5 years agobetter support for sqlalchemy storage
Emmanuel Garette [Sun, 6 Jul 2014 13:31:57 +0000 (15:31 +0200)]
better support for sqlalchemy storage

5 years agoadd TIRAMISU_STORAGE environment variable
Emmanuel Garette [Fri, 20 Jun 2014 14:29:38 +0000 (16:29 +0200)]
add TIRAMISU_STORAGE environment variable

5 years agoadd DynOptionDescription
Emmanuel Garette [Thu, 19 Jun 2014 21:22:39 +0000 (23:22 +0200)]
add DynOptionDescription

5 years agoremove unjustified open_values parameters in ChoiceOption
Emmanuel Garette [Sun, 27 Apr 2014 08:44:19 +0000 (10:44 +0200)]
remove unjustified open_values parameters in ChoiceOption

5 years agoValues in ChoiceOption can be a function now
Emmanuel Garette [Sun, 27 Apr 2014 08:32:40 +0000 (10:32 +0200)]
Values in ChoiceOption can be a function now

5 years agoadd SubMulti
Emmanuel Garette [Fri, 25 Apr 2014 20:57:08 +0000 (22:57 +0200)]
add SubMulti

5 years agoforce_store_value now support Multi
Emmanuel Garette [Fri, 18 Apr 2014 19:33:15 +0000 (21:33 +0200)]
force_store_value now support Multi

5 years agoreport/generate.py: corrections
Emmanuel Garette [Thu, 17 Apr 2014 16:47:48 +0000 (18:47 +0200)]
report/generate.py: corrections

5 years ago'getattr' in optiondescription can return a bound method
Emmanuel Garette [Tue, 15 Apr 2014 19:48:31 +0000 (21:48 +0200)]
'getattr' in optiondescription can return a bound method

5 years agouncomment more test
Emmanuel Garette [Mon, 14 Apr 2014 21:00:37 +0000 (23:00 +0200)]
uncomment more test

5 years agowe can pickle object
Emmanuel Garette [Mon, 14 Apr 2014 20:53:40 +0000 (22:53 +0200)]
we can pickle object

5 years agoadd consistencies's storage
Emmanuel Garette [Sun, 13 Apr 2014 08:35:43 +0000 (10:35 +0200)]
add consistencies's storage

5 years agoMerge branch 'orm' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu into orm
Emmanuel Garette [Sun, 13 Apr 2014 08:31:51 +0000 (10:31 +0200)]
Merge branch 'orm' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu into orm

5 years agoMerge branch 'master' into orm
Emmanuel Garette [Sun, 13 Apr 2014 08:30:42 +0000 (10:30 +0200)]
Merge branch 'master' into orm

Conflicts:
test/test_config_api.py
tiramisu/autolib.py
tiramisu/config.py
tiramisu/option.py
tiramisu/value.py

5 years agoadd missing file
Emmanuel Garette [Sat, 12 Apr 2014 21:13:28 +0000 (23:13 +0200)]
add missing file

5 years agostart works on storage
Emmanuel Garette [Sat, 12 Apr 2014 20:47:52 +0000 (22:47 +0200)]
start works on storage

5 years agochange None to undefined when it's needed
Emmanuel Garette [Sat, 12 Apr 2014 19:55:22 +0000 (21:55 +0200)]
change None to undefined when it's needed

5 years agoArity change, remove force_properties:
Emmanuel Garette [Sat, 12 Apr 2014 19:37:20 +0000 (21:37 +0200)]
Arity change, remove force_properties:

 * tiramisu/config.py (in cfgimpl_get_home_by_path and getattr)
 * tiramisu/value.py (in getitem):

5 years agosplit tiramisu/option.py and add MasterSlaves object
Emmanuel Garette [Sat, 12 Apr 2014 09:53:58 +0000 (11:53 +0200)]
split tiramisu/option.py and add MasterSlaves object

5 years agoMerge branch 'log'
Emmanuel Garette [Thu, 3 Apr 2014 20:16:08 +0000 (22:16 +0200)]
Merge branch 'log'

5 years agoadd logger in validation
Emmanuel Garette [Thu, 3 Apr 2014 20:15:41 +0000 (22:15 +0200)]
add logger in validation

5 years agoMerge modification made for 1.0's branch
Emmanuel Garette [Wed, 2 Apr 2014 10:06:11 +0000 (12:06 +0200)]
Merge modification made for 1.0's branch

5 years agoif slave has a callback with a slave that has a callback with a default_multi's slave...
Emmanuel Garette [Wed, 2 Apr 2014 10:04:50 +0000 (12:04 +0200)]
if slave has a callback with a slave that has a callback with a default_multi's slave, now it's works

5 years agoif opt is freeze with force_default_on_freeze, didn't remove store value
Emmanuel Garette [Tue, 1 Apr 2014 19:01:01 +0000 (21:01 +0200)]
if opt is freeze with force_default_on_freeze, didn't remove store value

5 years agoMerge branch '_getattr'
Emmanuel Garette [Tue, 1 Apr 2014 07:51:43 +0000 (09:51 +0200)]
Merge branch '_getattr'

5 years agosame arity for _getattr and getattr
Emmanuel Garette [Tue, 1 Apr 2014 07:51:25 +0000 (09:51 +0200)]
same arity for _getattr and getattr

5 years agoMerge branch 'mandatory'
Emmanuel Garette [Tue, 1 Apr 2014 07:29:34 +0000 (09:29 +0200)]
Merge branch 'mandatory'

5 years agoconfig.mandatory_warnings return always None
Emmanuel Garette [Tue, 1 Apr 2014 07:29:07 +0000 (09:29 +0200)]
config.mandatory_warnings return always None

5 years agoMerge branch 'force_permissive'
Emmanuel Garette [Mon, 31 Mar 2014 20:38:56 +0000 (22:38 +0200)]
Merge branch 'force_permissive'

Conflicts:
test/test_freeze.py

5 years agoadd force_permissive in config's method (iter_all, iter_group, find, find_first and...
Emmanuel Garette [Mon, 31 Mar 2014 20:34:57 +0000 (22:34 +0200)]
add force_permissive in config's method (iter_all, iter_group, find, find_first and make_dict)
rename _getattr to getattr

5 years agoMerge branch 'better_auto_save'
Emmanuel Garette [Sat, 29 Mar 2014 19:44:10 +0000 (20:44 +0100)]
Merge branch 'better_auto_save'

Conflicts:
test/test_freeze.py
tiramisu/option.py
translations/fr/tiramisu.po
translations/tiramisu.pot

5 years agoproperties are check now in getowner
Emmanuel Garette [Sat, 29 Mar 2014 19:31:56 +0000 (20:31 +0100)]
properties are check now in getowner
get_modified_values works good with force_store_value

5 years agoforce_store_value works now with permissive
Emmanuel Garette [Fri, 28 Mar 2014 16:35:27 +0000 (17:35 +0100)]
force_store_value works now with permissive

5 years agoforce_store_value works now with permissive
Emmanuel Garette [Fri, 28 Mar 2014 16:35:27 +0000 (17:35 +0100)]
force_store_value works now with permissive