Emmanuel Garette [Sun, 1 Sep 2013 20:20:11 +0000 (22:20 +0200)]
can export options
Emmanuel Garette [Sat, 31 Aug 2013 07:54:23 +0000 (09:54 +0200)]
- add "make build-pot" to build or update translations/tiramisu.pot files
- corrections in error's message in tiramisu/option.py
- update tiramisu.pot
- update fr's translation
Emmanuel Garette [Fri, 30 Aug 2013 19:15:55 +0000 (21:15 +0200)]
attributes in Option are now read-only if option set in Config (_name is everytime read-only)
Emmanuel Garette [Fri, 30 Aug 2013 07:40:28 +0000 (09:40 +0200)]
test more sloted options
gwen [Thu, 29 Aug 2013 10:15:12 +0000 (12:15 +0200)]
version for setup.py
gwen [Thu, 29 Aug 2013 09:48:34 +0000 (11:48 +0200)]
finalise the doc for the 1.0 release
gwen [Thu, 29 Aug 2013 07:32:45 +0000 (09:32 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Thu, 29 Aug 2013 07:32:32 +0000 (09:32 +0200)]
docstring setpermissive
Emmanuel Garette [Thu, 29 Aug 2013 07:29:28 +0000 (09:29 +0200)]
add test for impl_get_path_by_opt and impl_get_opt_by_path
Emmanuel Garette [Wed, 28 Aug 2013 20:50:35 +0000 (22:50 +0200)]
test force_default_on_freeze with multi and correction in Multi()
Emmanuel Garette [Wed, 28 Aug 2013 20:05:44 +0000 (22:05 +0200)]
setpermissive should have opt has option
Emmanuel Garette [Wed, 28 Aug 2013 19:23:42 +0000 (21:23 +0200)]
order in properties can change
gwen [Wed, 28 Aug 2013 09:33:43 +0000 (11:33 +0200)]
python 3 compatibility
remove __eq__ and __ne__ in Option
gwen [Wed, 28 Aug 2013 07:22:50 +0000 (09:22 +0200)]
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
gwen [Wed, 28 Aug 2013 07:22:44 +0000 (09:22 +0200)]
update doc
Emmanuel Garette [Wed, 28 Aug 2013 07:18:48 +0000 (09:18 +0200)]
pep8
Emmanuel Garette [Wed, 28 Aug 2013 07:16:12 +0000 (09:16 +0200)]
pep8
Emmanuel Garette [Tue, 27 Aug 2013 20:21:40 +0000 (22:21 +0200)]
witch => which
Emmanuel Garette [Tue, 27 Aug 2013 20:08:35 +0000 (22:08 +0200)]
add tests for persistent mode
Emmanuel Garette [Tue, 27 Aug 2013 19:36:52 +0000 (21:36 +0200)]
add test test/test_dereference.py + memoryleaks in optiondescription's cache
Emmanuel Garette [Tue, 27 Aug 2013 15:13:20 +0000 (17:13 +0200)]
pep8
gwen [Tue, 27 Aug 2013 14:35:15 +0000 (16:35 +0200)]
master/slave, multi... in the glossary
gwen [Tue, 27 Aug 2013 14:12:53 +0000 (16:12 +0200)]
rename API add_owner -> addowner
gwen [Tue, 27 Aug 2013 13:54:10 +0000 (15:54 +0200)]
first steps with tiramisu doc
Emmanuel Garette [Tue, 27 Aug 2013 09:39:32 +0000 (11:39 +0200)]
huge use of weakrefs to remove memoryleaks due to circular references
Emmanuel Garette [Tue, 27 Aug 2013 07:46:52 +0000 (09:46 +0200)]
store session in dictionary storage
Emmanuel Garette [Mon, 26 Aug 2013 19:54:41 +0000 (21:54 +0200)]
save storage with get_storage
list_sessions and delete_session is now in setting directly
Emmanuel Garette [Mon, 26 Aug 2013 19:48:42 +0000 (21:48 +0200)]
ConstError in tiramisu/error.py
storage_type is now unique
rename _const => _NameSpace
can change storage's options in set_storage
storage :
add Setting object in storage
rename enumerate to list_sessions
rename delete to delete_session
auto-create owner when load sqlite3 storage and in getowner
gwen [Mon, 26 Aug 2013 15:14:14 +0000 (17:14 +0200)]
getting stated documentation
Emmanuel Garette [Sun, 25 Aug 2013 19:57:11 +0000 (21:57 +0200)]
add enumerate and delete method for manage storage
Emmanuel Garette [Sun, 25 Aug 2013 18:51:29 +0000 (20:51 +0200)]
revert change in append of Multi object for sqlite3 storage
Emmanuel Garette [Sun, 25 Aug 2013 18:49:24 +0000 (20:49 +0200)]
can change storage with set_storage, storage's name is store in storage object and storage is create with get_storage
Emmanuel Garette [Sun, 25 Aug 2013 16:06:07 +0000 (18:06 +0200)]
add some tests for values
cannot use __setitem__ to set value for an option
in append, len should not greater than master option
Emmanuel Garette [Sat, 24 Aug 2013 21:10:35 +0000 (23:10 +0200)]
add test to known if has a value + some corrections
Emmanuel Garette [Sat, 24 Aug 2013 20:54:02 +0000 (22:54 +0200)]
test get_modified_values
Emmanuel Garette [Sat, 24 Aug 2013 20:32:54 +0000 (22:32 +0200)]
getowner need now an option
Emmanuel Garette [Sat, 24 Aug 2013 19:26:10 +0000 (21:26 +0200)]
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
Emmanuel Garette [Sat, 24 Aug 2013 16:04:19 +0000 (18:04 +0200)]
is not config in other, __neq__ should return True
Emmanuel Garette [Sat, 24 Aug 2013 16:04:11 +0000 (18:04 +0200)]
is not config in other, __neq__ should return True
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