Commit graph

1270 commits

Author SHA1 Message Date
Emmanuel Garette
9ddf100118 when we get an option's value, we need it's values to calculate properties (ie for mandatory's option)
if a disabled option has a callback to an other disabled value, it's raise ConfigError

now only raise if option has no other propertiesError
2013-09-16 15:07:34 +02:00
gwen
327cce6fed merge Makefile 2013-09-16 14:52:42 +02:00
Emmanuel Garette
3ffbb4ab8f Makefile for non-gnu version of basename 2013-09-16 14:43:58 +02:00
Daniel Dehennin
1249e1e2bc Incorrect filename for gettext catablog
* Makefile: Do not use basename option “-s” as it's not compatible with,
  at least, Ubuntu Precise Pangolin.
2013-09-16 14:41:12 +02:00
Emmanuel Garette
e929745ebf corrections in setup.py 2013-09-16 14:02:55 +02:00
Emmanuel Garette
abbb7a274e update doc 2013-09-14 14:44:50 +02:00
gwen
3afcf0322c adds storage in setup 2013-09-12 09:10:16 +02:00
gwen
b492874cbe version for setup.py 2013-09-11 20:53:49 +02:00
Emmanuel Garette
28ea4f0e90 update doc 2013-09-10 21:04:12 +02:00
Daniel Dehennin
b070fa8a83 Storages are not installed
* setup.py: Add storages to packages.
2013-09-09 09:52:40 +02:00
Emmanuel Garette
3dc72c505c support no expire in getcache 2013-09-07 22:37:13 +02:00
Emmanuel Garette
632de1cffb comment tiramisu/setting.py 2013-09-07 22:16:50 +02:00
Emmanuel Garette
371f094dcb comment tiramisu/setting.py 2013-09-07 21:47:17 +02:00
Emmanuel Garette
77c1ccf40b add 'cache' property 2013-09-07 17:25:22 +02:00
Emmanuel Garette
f8b0a53c3f cache is always a dictionary in memory 2013-09-07 10:31:39 +02:00
Emmanuel Garette
c8876ab184 comment storage 2013-09-06 23:53:19 +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
18fc5db4ac lists in sets 2013-09-06 09:05:19 +02:00
gwen
e73f3e0e6c doc 2013-09-05 16:56:02 +02:00
Emmanuel Garette
dc688ad644 ro/rw_append/remove are now 'set' type 2013-09-04 09:09:45 +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
gwen
dcd6efd063 resise logo 2013-09-03 09:34:53 +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
52a6705fbf new logo for the tiramisu project 2013-09-02 16:27:22 +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
f379a0fc0a update Makefile and setup.py 2013-09-01 23:09:50 +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
Emmanuel Garette
c01f14920d test more sloted options 2013-08-30 09:40:28 +02:00
gwen
4d6d8bf201 version for setup.py 2013-08-29 16:38:23 +02:00
gwen
4c4d664c2e tiramisu placed under the lgpl licence 2013-08-29 15:55:06 +02:00
gwen
af50605d73 version for setup.py 2013-08-29 12:15:12 +02:00
gwen
92a61a91cd finalise the doc for the 1.0 release 2013-08-29 11:48:34 +02:00
gwen
a6213f2189 Merge branch 'master' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu 2013-08-29 09:32:45 +02:00
gwen
5efc62af09 docstring setpermissive 2013-08-29 09:32:32 +02:00
Emmanuel Garette
eb62d0c4a4 add test for impl_get_path_by_opt and impl_get_opt_by_path 2013-08-29 09:29:28 +02:00
Emmanuel Garette
8aa4260404 test force_default_on_freeze with multi and correction in Multi() 2013-08-28 22:50:35 +02:00