Commit Graph

172 Commits

Author SHA1 Message Date
Emmanuel Garette 482dfec7f2 consistancies can have more than one option
add _cons_broadcast
2013-09-27 23:27:08 +02:00
gwen 2490d00935 refactor name only_private 2013-09-27 11:28:23 +02:00
gwen 162ae02df8 refactor (warnings_only) 2013-09-27 09:52:18 +02:00
Emmanuel Garette 1d2008fd84 error message for ip/broadcast/netmask/network validation 2013-09-26 22:27:39 +02:00
Emmanuel Garette a004f30e34 french translation correction 2013-09-26 22:11:25 +02:00
Emmanuel Garette f4677b9ef9 use warnings instead of a new dictionary 2013-09-26 21:56:06 +02:00
Emmanuel Garette 329b9ac349 add _second_level_validation (second's one return only warning almost _validator raise) 2013-09-25 21:10:45 +02:00
Emmanuel Garette 06baff2f3b add warning ability 2013-09-24 23:19:20 +02:00
Emmanuel Garette 26e3651848 update french translation 2013-09-23 21:00:45 +02:00
Emmanuel Garette c84d13a1c6 we can serialize Config now 2013-09-22 20:57:52 +02:00
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