Emmanuel Garette
972dff0a1c
serialize new callback
2013-09-20 23:47:40 +02:00
Emmanuel Garette
28c416dd84
add allow_reserved in IPOption
2013-09-19 21:51:55 +02:00
Emmanuel Garette
90ae9aa70d
refactore carry_out_calculation + test + documentation
2013-09-19 21:39:41 +02:00
gwen
ffc9d086f9
double negation in error msg
2013-09-16 15:21:08 +02:00
Emmanuel Garette
abbb7a274e
update doc
2013-09-14 14:44:50 +02:00
Emmanuel Garette
22bfbb9fa4
storage no more in setting.py, code is now in storage/__init__.py
2013-09-06 23:15:36 +02:00
gwen
02873f2836
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
2013-09-04 09:05:25 +02:00
gwen
9983739b2b
pep8 line too long
2013-09-04 09:05:12 +02:00
Emmanuel Garette
3b733d1b4f
support cache consistencies + no consistencies for a symlink + test
2013-09-03 22:41:18 +02:00
gwen
fc9f6ce816
Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu
2013-09-03 11:01:37 +02:00
gwen
f9fde44b3b
docstrings
2013-09-03 11:01:07 +02:00
Emmanuel Garette
aeeaf6ec14
impl_get_information and impl_set_information are, now, persistent in storage
2013-09-03 10:38:38 +02:00
Emmanuel Garette
0212a15387
add __setstate__ to loads from a serialised object
2013-09-02 23:04:37 +02:00
Emmanuel Garette
cc3a33ef4f
true serialize for _children
2013-09-02 21:29:41 +02:00
Emmanuel Garette
84b7ec7b37
update __slots__ for Option/BaseOption
2013-09-02 20:46:51 +02:00
Emmanuel Garette
8ccfba1671
factorise Option and OptionDescription init
2013-09-02 20:37:23 +02:00
Emmanuel Garette
f106f3ced7
cannot set properties if those properties are in requirement
2013-09-02 19:47:00 +02:00
Emmanuel Garette
4636a977cc
requirements: calculate all requirements for an option
2013-09-02 17:13:43 +02:00
gwen
5624a69e41
merge
2013-09-02 15:11:38 +02:00
gwen
7dd9394b84
makefile and docstrings
2013-09-02 15:06:55 +02:00
Emmanuel Garette
2c1da6d72e
an OptionDescription can be serialized
2013-09-02 15:01:49 +02:00
Emmanuel Garette
d3ee2acaab
can export options
2013-09-01 22:20:11 +02:00
Emmanuel Garette
82b375ade5
- 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
2013-08-31 09:54:23 +02:00
Emmanuel Garette
5893f8ad72
attributes in Option are now read-only if option set in Config (_name is everytime read-only)
2013-08-30 21:15:55 +02:00
gwen
fbf05ba5e4
python 3 compatibility
...
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
Emmanuel Garette
776524a22d
pep8
2013-08-28 09:18:48 +02:00
Emmanuel Garette
397a600be7
pep8
2013-08-28 09:16:12 +02:00
Emmanuel Garette
3be005e82e
add test test/test_dereference.py + memoryleaks in optiondescription's cache
2013-08-27 21:36:52 +02:00
Emmanuel Garette
0bc47b1cf9
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
2013-08-26 21:48:42 +02:00
Emmanuel Garette
196d270cc9
_calc_requirement is a set, not a tuple
2013-08-24 16:34:08 +02:00
gwen
0db7ef72a6
automatic API documentation
2013-08-23 11:16:26 +02:00
Emmanuel Garette
04aa4e6bf1
never same calculated properties has properties (only in cache)
2013-08-22 22:48:09 +02:00
gwen
747d994762
documentation on the requirements and docstring updates
2013-08-22 11:08:26 +02:00
Emmanuel Garette
ace7f6f828
merge from master
2013-08-20 16:33:32 +02:00
gwen
564fecc261
pep 8 lines too long
2013-08-20 12:08:02 +02:00
Emmanuel Garette
e826f3d1c6
we can personalise storage easily
2013-08-20 09:47:12 +02:00
Emmanuel Garette
df7d6759cd
add sqlite plugin
2013-08-19 11:01:21 +02:00
Emmanuel Garette
e9ffd96a28
update translation
2013-07-18 21:25:07 +02:00
Emmanuel Garette
15ac8c2872
update french translation
2013-07-17 22:30:35 +02:00
Emmanuel Garette
8056387f02
return true error message when validation
2013-07-17 20:48:46 +02:00
Emmanuel Garette
de44daafeb
- 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)
2013-07-13 10:42:10 +02:00
Emmanuel Garette
c53d574ac2
can't use RESERVED address in IPOption and NetworkOption
2013-07-11 23:06:26 +02:00
Emmanuel Garette
1c951558da
add new option's type: PortOption
2013-07-11 23:05:33 +02:00
Emmanuel Garette
0afb521766
support multi requirement with inverse for same option
2013-07-03 15:04:15 +02:00
gwen
b80bef0f7e
string.format with numeric parameters
2013-07-02 15:05:50 +02:00
Emmanuel Garette
b8bfa02e02
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
2013-07-01 11:55:32 +02:00
Emmanuel Garette
9b134c3aa7
requirement are now a dictionary (not anymore a tuple)
2013-06-29 18:41:14 +02:00
Emmanuel Garette
32de14b731
validate_requires_arg return requires list
2013-06-26 16:25:02 +02:00
Emmanuel Garette
3c0629e6a9
better raise message if try to launch impl_get_information/impl_set_information in uncompatible class
2013-06-14 17:52:57 +02:00
Emmanuel Garette
4d15c91383
symlink support for getowner and raise if option in master/slave
2013-06-13 22:06:49 +02:00