Emmanuel Garette
3b872cb8c9
better support for setowner
2016-03-09 15:48:14 +01:00
Emmanuel Garette
32592b9289
setitem for a slave only modify current value
2016-03-08 23:18:42 +01:00
Emmanuel Garette
da89c1aa58
force_store_value is now used directly when configuration is loaded
2016-03-07 16:13:41 +01:00
Emmanuel Garette
51d14f30a4
can set owner for a slave
2016-01-25 16:22:28 +01:00
Emmanuel Garette
b521c459ee
remove all try/except
2016-01-03 21:18:52 +01:00
Emmanuel Garette
e8764f6173
remove some try/except + consistency not works with submulti
2016-01-03 13:23:15 +01:00
Emmanuel Garette
d0e2b5d8c4
remove some try/except
2015-12-30 22:32:07 +01:00
Emmanuel Garette
729db2ceec
remove some try/except
2015-12-28 22:00:46 +01:00
Emmanuel Garette
7b2d0c0c4a
remove some try/except
2015-12-28 21:40:40 +01:00
Emmanuel Garette
14489c3ef5
remove some try/except
2015-12-26 10:57:20 +01:00
Emmanuel Garette
df233d3165
add some optimisations
2015-12-22 22:06:14 +01:00
Emmanuel Garette
93ce93e529
some optimisations
2015-12-18 23:35:45 +01:00
Emmanuel Garette
a97c3c682a
some optimisation
2015-12-18 22:44:46 +01:00
Emmanuel Garette
98200ecae5
improvemnt information
2015-11-30 15:55:34 +01:00
Emmanuel Garette
a521a6d322
requires could be apply to a slave and properties could be different
2015-11-29 23:03:08 +01:00
Emmanuel Garette
ab555966f7
use python-coverage to delete dead part of code
2015-11-24 10:58:19 +01:00
Emmanuel Garette
54ca54e505
separate value in slave
2015-11-19 22:25:00 +01:00
Emmanuel Garette
11d23bc8d8
unserialise information and requires attribute
2015-11-01 10:35:17 +01:00
Emmanuel Garette
5ea92d3460
need new settings when create fake_config
2015-09-17 19:14:56 +02:00
Emmanuel Garette
8e7a32de08
add global 'empty' property, this property raise mandatory PropertiesOptionError if multi or master have empty value
2015-07-26 19:13:25 +02:00
Emmanuel Garette
44cd618704
remove pep8 validation errors
2015-07-24 17:54:10 +02:00
Emmanuel Garette
6cc74506fb
Some optimisations
2015-05-03 09:56:03 +02:00
Emmanuel Garette
487b99b32c
for a multi mandatory, allow [] with allow_empty_list attribut
2015-04-20 14:49:43 +02:00
Emmanuel Garette
10768a6067
refactor validation
2015-04-18 22:53:45 +02:00
Emmanuel Garette
f03cbeadb7
better performance in find_firsts
...
_is_build_cache not set in dictionary storage
2014-11-10 21:00:30 +01:00
Emmanuel Garette
4217508f3f
works on sqlalchemy storage
2014-11-10 09:13:44 +01:00
Emmanuel Garette
9f3d676280
reduce memory usage
2014-10-25 22:11:31 +02:00
Emmanuel Garette
58c22aa70f
better support for sqlalchemy storage
2014-07-06 15:35:13 +02:00
Emmanuel Garette
71f8926fca
better support for sqlalchemy storage
2014-07-06 15:31:57 +02:00
Emmanuel Garette
3cc2d9ca3d
add TIRAMISU_STORAGE environment variable
2014-06-20 16:29:38 +02:00
Emmanuel Garette
b64189f763
add DynOptionDescription
2014-06-19 23:22:39 +02:00
Emmanuel Garette
9112a8c5b0
add SubMulti
2014-04-26 22:37:01 +02:00
Emmanuel Garette
9bec52273a
we can pickle object
2014-04-14 22:53:40 +02:00
Emmanuel Garette
a1753afb8c
add consistencies's storage
2014-04-13 10:35:43 +02:00
Emmanuel Garette
66c82ee582
Merge branch 'orm' of ssh://git.labs.libre-entreprise.org/gitroot/tiramisu into orm
2014-04-13 10:31:51 +02:00
Emmanuel Garette
5d8b5719a0
Merge branch 'master' into orm
...
Conflicts:
test/test_config_api.py
tiramisu/autolib.py
tiramisu/config.py
tiramisu/option.py
tiramisu/value.py
2014-04-13 10:30:42 +02:00
Emmanuel Garette
bf180bc115
add missing file
2014-04-12 23:13:28 +02:00
Emmanuel Garette
299e51e806
start works on storage
2014-04-12 22:47:52 +02:00
Emmanuel Garette
a04a61f1a4
Merge branch 'master' into lgpl
2014-03-15 10:11:17 +01:00
Emmanuel Garette
194c82faad
tests pass now with dictionary and sqlalchemy storage
2014-02-16 23:37:27 +01:00
Emmanuel Garette
8709386570
__getattr__ OD
2014-02-01 18:35:18 +01:00
Emmanuel Garette
313b03b246
cache in sql works
2014-02-01 16:26:23 +01:00
Emmanuel Garette
02a987b39d
sqlalchemy
2014-01-30 22:55:15 +01:00
Emmanuel Garette
217a1989c7
validator in sqlalchemy
2014-01-27 23:28:22 +01:00
Emmanuel Garette
a1dd2cfce7
require works well in sqlalchemy storage
2014-01-27 17:16:05 +01:00
Emmanuel Garette
d3f42efe85
typo
2014-01-25 18:38:51 +01:00
Emmanuel Garette
cbfb5a45b0
Merge branch 'master' into orm
2014-01-25 10:22:17 +01:00
Emmanuel Garette
3b3e5216fe
cache
2014-01-25 10:15:25 +01:00
gwen
21a67971c5
typo propertive -> property
2014-01-24 09:17:46 +01:00
Emmanuel Garette
3b0b3cdfd9
p8p
2014-01-20 14:58:48 +01:00
Emmanuel Garette
661f844ce6
sqlalchemy has a storage
2014-01-20 14:53:14 +01:00
Emmanuel Garette
8a7078d3b0
gpl to lgpl
2013-09-22 22:33:09 +02:00
Emmanuel Garette
c84d13a1c6
we can serialize Config now
2013-09-22 20:57:52 +02:00
Emmanuel Garette
abbb7a274e
update doc
2013-09-14 14:44:50 +02:00
Emmanuel Garette
28ea4f0e90
update doc
2013-09-10 21:04:12 +02:00
Emmanuel Garette
3dc72c505c
support no expire in getcache
2013-09-07 22:37:13 +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
Emmanuel Garette
aeeaf6ec14
impl_get_information and impl_set_information are, now, persistent in storage
2013-09-03 10:38:38 +02:00
gwen
fbf05ba5e4
python 3 compatibility
...
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
Emmanuel Garette
3be005e82e
add test test/test_dereference.py + memoryleaks in optiondescription's cache
2013-08-27 21:36:52 +02:00
gwen
a894a5e27b
rename API add_owner -> addowner
2013-08-27 16:12:53 +02:00
Emmanuel Garette
acd27fb56c
huge use of weakrefs to remove memoryleaks due to circular references
2013-08-27 11:39:32 +02:00
Emmanuel Garette
36def6533f
store session in dictionary storage
2013-08-27 09:46: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
6b9d5aed59
add enumerate and delete method for manage storage
2013-08-25 21:57:11 +02:00
Emmanuel Garette
dcb12dac02
can change storage with set_storage, storage's name is store in storage object and storage is create with get_storage
2013-08-25 20:49:24 +02:00
Emmanuel Garette
1ddd88fc99
some corrections in sqlite3 storage
2013-08-21 23:21:28 +02:00
Emmanuel Garette
b6bb685ca5
key is now always path and change opt by path dictionary storage
2013-08-21 22:21:50 +02:00
gwen
acca6d5a27
documentation update and docstrings
2013-08-21 17:21:09 +02:00
Emmanuel Garette
cc569efcc7
pep8
2013-08-20 23:00:20 +02:00
Emmanuel Garette
0d5a447eb3
add persistent option for db
2013-08-20 22:45:11 +02:00