Emmanuel Garette [Sat, 24 Aug 2013 14:34:08 +0000 (16:34 +0200)]
_calc_requirement is a set, not a tuple
Emmanuel Garette [Sat, 24 Aug 2013 14:30:46 +0000 (16:30 +0200)]
add _path in reset for performance + more tests
Emmanuel Garette [Fri, 23 Aug 2013 14:49:27 +0000 (16:49 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Fri, 23 Aug 2013 09:42:22 +0000 (11:42 +0200)]
automatic API documentation
gwen [Fri, 23 Aug 2013 09:16:26 +0000 (11:16 +0200)]
automatic API documentation
Emmanuel Garette [Fri, 23 Aug 2013 07:29:42 +0000 (09:29 +0200)]
test invalid owner in setowner
Emmanuel Garette [Thu, 22 Aug 2013 20:57:32 +0000 (22:57 +0200)]
add test for recursive path in requirement
Emmanuel Garette [Thu, 22 Aug 2013 20:52:29 +0000 (22:52 +0200)]
reqpath is get from option, so reqpath ever exists, cannot raise AttributeError
Emmanuel Garette [Thu, 22 Aug 2013 20:46:02 +0000 (22:46 +0200)]
never same calculated properties has properties (only in cache)
gwen [Thu, 22 Aug 2013 15:51:25 +0000 (17:51 +0200)]
documentation on the tests
gwen [Thu, 22 Aug 2013 10:17:10 +0000 (12:17 +0200)]
documentation on the tests
gwen [Thu, 22 Aug 2013 09:08:26 +0000 (11:08 +0200)]
documentation on the requirements and docstring updates
Emmanuel Garette [Wed, 21 Aug 2013 21:21:28 +0000 (23:21 +0200)]
some corrections in sqlite3 storage
Emmanuel Garette [Wed, 21 Aug 2013 20:21:50 +0000 (22:21 +0200)]
key is now always path and change opt by path dictionary storage
Emmanuel Garette [Wed, 21 Aug 2013 16:34:32 +0000 (18:34 +0200)]
pep8
gwen [Wed, 21 Aug 2013 15:21:09 +0000 (17:21 +0200)]
documentation update and docstrings
gwen [Wed, 21 Aug 2013 12:52:48 +0000 (14:52 +0200)]
documentation and docstring updates
gwen [Wed, 21 Aug 2013 09:10:15 +0000 (11:10 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Wed, 21 Aug 2013 09:09:11 +0000 (11:09 +0200)]
documentation update and docstrings
Emmanuel Garette [Tue, 20 Aug 2013 21:00:20 +0000 (23:00 +0200)]
pep8
Emmanuel Garette [Tue, 20 Aug 2013 20:45:27 +0000 (22:45 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
Emmanuel Garette [Tue, 20 Aug 2013 20:45:11 +0000 (22:45 +0200)]
add persistent option for db
gwen [Tue, 20 Aug 2013 15:30:24 +0000 (17:30 +0200)]
documentation update
Emmanuel Garette [Tue, 20 Aug 2013 14:48:19 +0000 (16:48 +0200)]
pep8
Emmanuel Garette [Tue, 20 Aug 2013 14:45:54 +0000 (16:45 +0200)]
merge from val_prop_plugin branch
Emmanuel Garette [Tue, 20 Aug 2013 14:44:52 +0000 (16:44 +0200)]
merge from val_prop_plugin branch
gwen [Tue, 20 Aug 2013 14:38:06 +0000 (16:38 +0200)]
documentation update
Emmanuel Garette [Tue, 20 Aug 2013 14:33:32 +0000 (16:33 +0200)]
merge from master
gwen [Tue, 20 Aug 2013 10:08:02 +0000 (12:08 +0200)]
pep 8 lines too long
Emmanuel Garette [Tue, 20 Aug 2013 07:47:12 +0000 (09:47 +0200)]
we can personalise storage easily
Emmanuel Garette [Mon, 19 Aug 2013 09:01:21 +0000 (11:01 +0200)]
add sqlite plugin
Emmanuel Garette [Wed, 14 Aug 2013 21:06:31 +0000 (23:06 +0200)]
split cache/value/setting in plugin
Emmanuel Garette [Tue, 23 Jul 2013 12:24:42 +0000 (14:24 +0200)]
corrections in tiramisu's setting
Emmanuel Garette [Thu, 18 Jul 2013 19:25:07 +0000 (21:25 +0200)]
update translation
Daniel Dehennin [Thu, 18 Jul 2013 10:25:57 +0000 (12:25 +0200)]
Ignore gettext compiled files
* .gitignore: Add “.mo” extension.
Daniel Dehennin [Thu, 18 Jul 2013 10:23:50 +0000 (12:23 +0200)]
Fix installation for non EOLE developpers
The version is extracted from “relase/” tags and they exists only on EOLE
git repository.
* Makefile (install): Depends on version file.
(version.in): Fake dev version for developpers without devel release
tags
* setup.py: Add missing subprocess import.
(fetch_version): Use same fallback version as Makefile.
Emmanuel Garette [Wed, 17 Jul 2013 21:05:43 +0000 (23:05 +0200)]
translation
Emmanuel Garette [Wed, 17 Jul 2013 21:02:50 +0000 (23:02 +0200)]
translation
Emmanuel Garette [Wed, 17 Jul 2013 20:30:35 +0000 (22:30 +0200)]
update french translation
Emmanuel Garette [Wed, 17 Jul 2013 18:48:46 +0000 (20:48 +0200)]
return true error message when validation
Emmanuel Garette [Sat, 13 Jul 2013 08:42:10 +0000 (10:42 +0200)]
- can reset directly custom settings for an option: setting[option].reset()
- option properties are now tuple in internal, and change it to set when needed (that coping data)
gwen [Fri, 12 Jul 2013 14:20:34 +0000 (16:20 +0200)]
default settings
Emmanuel Garette [Thu, 11 Jul 2013 21:06:26 +0000 (23:06 +0200)]
can't use RESERVED address in IPOption and NetworkOption
Emmanuel Garette [Thu, 11 Jul 2013 21:05:33 +0000 (23:05 +0200)]
add new option's type: PortOption
Emmanuel Garette [Wed, 3 Jul 2013 19:56:19 +0000 (21:56 +0200)]
Config: __str__ raise if no str/unicode value
Emmanuel Garette [Wed, 3 Jul 2013 13:04:15 +0000 (15:04 +0200)]
support multi requirement with inverse for same option
gwen [Tue, 2 Jul 2013 13:05:50 +0000 (15:05 +0200)]
string.format with numeric parameters
Emmanuel Garette [Mon, 1 Jul 2013 14:49:10 +0000 (16:49 +0200)]
__str__ method could return unicode object, force to decode in str
Emmanuel Garette [Mon, 1 Jul 2013 09:55:32 +0000 (11:55 +0200)]
Remove 'build_actions' in 'apply_requires', now 'validate_requires_arg' build requires with tuple of tuple
New _requires format:
- requirement (like old format)
- tuple of requirements, each items are a tuple of requirement with same action
Emmanuel Garette [Sat, 29 Jun 2013 16:41:14 +0000 (18:41 +0200)]
requirement are now a dictionary (not anymore a tuple)
Emmanuel Garette [Fri, 28 Jun 2013 09:59:51 +0000 (11:59 +0200)]
support multi requires with inverse set to True
Emmanuel Garette [Wed, 26 Jun 2013 14:26:42 +0000 (16:26 +0200)]
callback with option in params which is in an hidden optiondescription
Emmanuel Garette [Wed, 26 Jun 2013 14:25:02 +0000 (16:25 +0200)]
validate_requires_arg return requires list
Emmanuel Garette [Fri, 14 Jun 2013 15:52:57 +0000 (17:52 +0200)]
better raise message if try to launch impl_get_information/impl_set_information in uncompatible class
Emmanuel Garette [Thu, 13 Jun 2013 20:07:58 +0000 (22:07 +0200)]
add symlink test
Emmanuel Garette [Thu, 13 Jun 2013 20:06:49 +0000 (22:06 +0200)]
symlink support for getowner and raise if option in master/slave
Emmanuel Garette [Thu, 13 Jun 2013 12:43:51 +0000 (14:43 +0200)]
apply_requires: add property if any property raise PropertyError if same_action is False
Emmanuel Garette [Thu, 13 Jun 2013 10:15:46 +0000 (12:15 +0200)]
allow None in requirement
Emmanuel Garette [Wed, 12 Jun 2013 20:48:22 +0000 (22:48 +0200)]
add sort, reverse, insert and extend in Multi
Emmanuel Garette [Wed, 12 Jun 2013 15:07:29 +0000 (17:07 +0200)]
ConfigError, not PropertiesOptionError if cannot access to option in carry_out_calculation
Emmanuel Garette [Wed, 12 Jun 2013 08:22:50 +0000 (10:22 +0200)]
Works callback/multi/master-slave
- in multi, never modify _default value
- _reset slave when _reset master
- if append None in master with callback return not a list, replace None by the value
- list support in slave
Emmanuel Garette [Tue, 11 Jun 2013 13:36:08 +0000 (15:36 +0200)]
add test for callback not in multi
Emmanuel Garette [Tue, 11 Jun 2013 13:31:20 +0000 (15:31 +0200)]
support of non multi variable
Emmanuel Garette [Tue, 11 Jun 2013 13:10:38 +0000 (15:10 +0200)]
Better support for slave with callback:
- callback must return single value, not a list
- if default value, append slave values with master len
- if not default and append, set default value
gwen [Mon, 10 Jun 2013 15:45:03 +0000 (17:45 +0200)]
fix i18n
gwen [Mon, 10 Jun 2013 15:12:57 +0000 (17:12 +0200)]
raise ConfigError
gwen [Mon, 10 Jun 2013 13:19:00 +0000 (15:19 +0200)]
transitivity in the requirements
gwen [Wed, 5 Jun 2013 12:56:46 +0000 (14:56 +0200)]
report: everything work again
gwen [Wed, 5 Jun 2013 09:19:47 +0000 (11:19 +0200)]
report: options work again
gwen [Tue, 4 Jun 2013 15:42:30 +0000 (17:42 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Tue, 4 Jun 2013 15:42:21 +0000 (17:42 +0200)]
report: root menu works again
Emmanuel Garette [Fri, 31 May 2013 21:29:20 +0000 (23:29 +0200)]
RequirementRecursiveError => RequirementError
Properties in "apply_requires" are now transitive (but only if tested property is in properties list)
New requirement option (a boolean), don't touch properties if PropertyError in "apply_requires"
gwen [Thu, 23 May 2013 15:51:50 +0000 (17:51 +0200)]
docstrings and api
gwen [Thu, 23 May 2013 12:55:52 +0000 (14:55 +0200)]
add docstrings
gwen [Tue, 21 May 2013 16:42:56 +0000 (18:42 +0200)]
new api documentation
gwen [Tue, 21 May 2013 09:38:02 +0000 (11:38 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Tue, 21 May 2013 09:37:39 +0000 (11:37 +0200)]
doc is ready for the new api refactoring
Emmanuel Garette [Tue, 21 May 2013 09:09:00 +0000 (11:09 +0200)]
add cfgimpl_get_children for MetaConfig and informations
Emmanuel Garette [Fri, 17 May 2013 16:11:14 +0000 (18:11 +0200)]
Multi: don't touch slave's value if it's default one's + don't check slave properties (if, for example, disabled for example)
gwen [Fri, 17 May 2013 10:11:14 +0000 (12:11 +0200)]
refactoring doc for the new API
gwen [Wed, 15 May 2013 15:35:49 +0000 (17:35 +0200)]
refactoring the doc for the 0.55 new API
gwen [Tue, 14 May 2013 15:40:42 +0000 (17:40 +0200)]
suppress get_consistencies() method
Emmanuel Garette [Fri, 10 May 2013 20:32:42 +0000 (22:32 +0200)]
multi, None and validation
gwen [Fri, 10 May 2013 14:02:27 +0000 (16:02 +0200)]
docstrings
Emmanuel Garette [Fri, 10 May 2013 14:00:46 +0000 (16:00 +0200)]
if not need, don't validate
gwen [Fri, 10 May 2013 13:45:40 +0000 (15:45 +0200)]
add philippe as a contributor
Emmanuel Garette [Fri, 10 May 2013 13:10:06 +0000 (15:10 +0200)]
tiramisu/autolib.py: optimpl_ => impl_
tiramisu/option.py: consistency simplication and allow multi
tiramisu/option.py: don't touch cache if force_permissive or force_properties
tiramisu/values.py: set validate paramaters in Multi()
Emmanuel Garette [Fri, 10 May 2013 07:27:54 +0000 (09:27 +0200)]
DomainnameOption now works with default value
Emmanuel Garette [Wed, 8 May 2013 16:14:42 +0000 (18:14 +0200)]
* 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)
Emmanuel Garette [Sun, 5 May 2013 19:43:19 +0000 (21:43 +0200)]
compare option
Emmanuel Garette [Thu, 2 May 2013 09:34:57 +0000 (11:34 +0200)]
work on MetaConfig
Emmanuel Garette [Thu, 2 May 2013 09:23:47 +0000 (11:23 +0200)]
tiramisu/i18n.py: pep8 compliants
Emmanuel Garette [Thu, 2 May 2013 09:23:04 +0000 (11:23 +0200)]
tiramisu/setting.py: _get_properties and validate_properties are now more easier to read and has best performance
Emmanuel Garette [Fri, 26 Apr 2013 12:40:44 +0000 (14:40 +0200)]
Requires need option, not path
Valid requires
Emmanuel Garette [Wed, 24 Apr 2013 15:40:16 +0000 (17:40 +0200)]
missing properties in PropertiesOptionError
Emmanuel Garette [Wed, 24 Apr 2013 09:47:01 +0000 (11:47 +0200)]
In make_dict check PropertyConfigError for OptionDescription
Begin work's on MetaConfig
Emmanuel Garette [Tue, 23 Apr 2013 17:01:03 +0000 (19:01 +0200)]
add a test for force_store_value in read_only mode
Emmanuel Garette [Tue, 23 Apr 2013 14:43:31 +0000 (16:43 +0200)]
force_store_value store value but not in write mode
Philippe Caseiro [Tue, 23 Apr 2013 14:30:45 +0000 (16:30 +0200)]
Merge branch 'master' of git://git.labs.libre-entreprise.org/tiramisu
Philippe Caseiro [Tue, 23 Apr 2013 14:20:02 +0000 (16:20 +0200)]
* Makefile : Installation des fichiers de langue
Compilation et Installation des fichiers de traductions pour
Tiramisu