Commit Graph

376 Commits

Author SHA1 Message Date
gwen acca6d5a27 documentation update and docstrings 2013-08-21 17:21:09 +02:00
gwen 7d2449380c documentation and docstring updates 2013-08-21 14:52:48 +02:00
gwen a431b46fb9 Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu 2013-08-21 11:10:15 +02:00
gwen defae40a2f documentation update and docstrings 2013-08-21 11:09:11 +02:00
Emmanuel Garette cc569efcc7 pep8 2013-08-20 23:00:20 +02:00
Emmanuel Garette c13063686a Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu 2013-08-20 22:45:27 +02:00
Emmanuel Garette 0d5a447eb3 add persistent option for db 2013-08-20 22:45:11 +02:00
gwen 1b608202ce documentation update 2013-08-20 17:30:24 +02:00
Emmanuel Garette d971448d02 pep8 2013-08-20 16:48:19 +02:00
Emmanuel Garette 2e8c75a602 merge from val_prop_plugin branch 2013-08-20 16:45:54 +02:00
Emmanuel Garette 82b0e26568 merge from val_prop_plugin branch 2013-08-20 16:44:52 +02:00
gwen 5c8bb1f8f9 documentation update 2013-08-20 16:38:06 +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 f6f709f83d split cache/value/setting in plugin 2013-08-14 23:06:31 +02:00
Emmanuel Garette 513722ed57 corrections in tiramisu's setting 2013-07-23 14:24:42 +02:00
Emmanuel Garette e9ffd96a28 update translation 2013-07-18 21:25:07 +02:00
Daniel Dehennin 7c44f4ade6 Ignore gettext compiled files
* .gitignore: Add “.mo” extension.
2013-07-18 12:25:57 +02:00
Daniel Dehennin 28d053430b 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.
2013-07-18 12:23:50 +02:00
Emmanuel Garette e6c3104681 translation 2013-07-17 23:05:43 +02:00
Emmanuel Garette bc054d75af translation 2013-07-17 23:02:50 +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
gwen a95f19d5f4 default settings 2013-07-12 16:20:34 +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 c06659012b Config: __str__ raise if no str/unicode value 2013-07-03 21:56:31 +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 4b5d9b4229 __str__ method could return unicode object, force to decode in str 2013-07-01 16:49:10 +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 e501c6d12d support multi requires with inverse set to True 2013-06-28 11:59:51 +02:00
Emmanuel Garette 75f7e7ce5d callback with option in params which is in an hidden optiondescription 2013-06-26 16:26:42 +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 23f6d2228f add symlink test 2013-06-13 22:07:58 +02:00
Emmanuel Garette 4d15c91383 symlink support for getowner and raise if option in master/slave 2013-06-13 22:06:49 +02:00
Emmanuel Garette c2471320c3 apply_requires: add property if any property raise PropertyError if same_action is False 2013-06-13 14:43:51 +02:00
Emmanuel Garette 755b2312c2 allow None in requirement 2013-06-13 12:15:46 +02:00
Emmanuel Garette fd02a954ca add sort, reverse, insert and extend in Multi 2013-06-12 22:48:22 +02:00
Emmanuel Garette 9c47eb32d5 ConfigError, not PropertiesOptionError if cannot access to option in carry_out_calculation 2013-06-12 17:07:29 +02:00
Emmanuel Garette 0d114001f4 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
2013-06-12 10:22:50 +02:00
Emmanuel Garette ada5bfbf6c add test for callback not in multi 2013-06-11 15:36:08 +02:00
Emmanuel Garette b2538f6f0b support of non multi variable 2013-06-11 15:31:20 +02:00
Emmanuel Garette 6d1cf308b2 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
2013-06-11 15:12:31 +02:00
gwen 22f0aab0a8 fix i18n 2013-06-10 17:45:03 +02:00