Commit Graph

24 Commits

Author SHA1 Message Date
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
gwen 21a67971c5 typo propertive -> property 2014-01-24 09:17:46 +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 28ea4f0e90 update doc 2013-09-10 21:04:12 +02:00
Emmanuel Garette f8b0a53c3f cache is always a dictionary in memory 2013-09-07 10:31:39 +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
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 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 0d5a447eb3 add persistent option for db 2013-08-20 22:45:11 +02:00