Commit graph

155 commits

Author SHA1 Message Date
Emmanuel Garette
5a1987f2e6 Add MasterSlaves object 2017-10-14 13:33:25 +02:00
Emmanuel Garette
d6bbbd87f5 remove unused context from get_cached 2017-09-22 08:26:11 +02:00
Emmanuel Garette
0ce4cc658b remove cache with a variable is calculated 2017-09-21 21:23:03 +02:00
Emmanuel Garette
3567e18256 several corrections about dependency 2017-09-17 15:55:32 +02:00
Emmanuel Garette
57a47763d6 remove option's storage 2017-07-22 16:26:06 +02:00
Emmanuel Garette
5ca2e32ac5 coverage 2017-07-21 22:34:41 +02:00
Emmanuel Garette
32e88299e2 remove pickle dump/load support 2017-07-21 18:46:11 +02:00
Emmanuel Garette
ddaadb0701 coverage 2017-07-21 18:03:34 +02:00
Emmanuel Garette
be43c95ec0 In Config, name and session_id was quite equal, remove name
session_id is now validate
set_value return Configs with error
add new_config to MetaConfig
2017-07-19 20:44:38 +02:00
Emmanuel Garette
90a2072fc5 less commit + better meta support 2017-07-16 23:11:12 +02:00
Emmanuel Garette
dc9454be63 limit database usage 2017-07-16 10:57:43 +02:00
Emmanuel Garette
d445963429 add permissive cache 2017-07-13 22:04:06 +02:00
Emmanuel Garette
962b4eb660 many improvment 2017-07-11 22:31:58 +02:00
Emmanuel Garette
01c37c3713 better slate tests 2017-07-09 21:28:22 +02:00
Emmanuel Garette
c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette
dadf859905 better cache 2017-07-08 15:59:56 +02:00
Emmanuel Garette
6bad3c6e64 update sqlite storage 2017-07-04 19:59:42 +02:00
Emmanuel Garette
722779ebf7 coverage 2017-02-03 23:39:24 +01:00
Emmanuel Garette
e71beac4dc converts the doc informations into unicode 2017-01-10 12:16:08 +01:00
Emmanuel Garette
42d830687d add unique parameter to option 2016-11-19 19:16:31 +01:00
Emmanuel Garette
0711fa5e62 generate _has_dependency 2016-10-16 21:37:55 +02:00
Emmanuel Garette
4d02254234 returns_raise is now mandatory in core 2016-10-14 22:20:14 +02:00
Emmanuel Garette
e6a949635f some improvements 2016-10-10 21:41:22 +02:00
Emmanuel Garette
c81a2bcdbf better sqlalchemy integration 2016-10-01 20:15:08 +02:00
Emmanuel Garette
d545c6883c properties in option must not be sqlalchemy object 2016-09-30 23:07:46 +02:00
Emmanuel Garette
69de44bbb4 better sqlalchemy integration 2016-09-30 22:45:33 +02:00
Emmanuel Garette
6d71749014 force_store_value is rebuild if needed 2016-09-22 08:27:18 +02:00
Emmanuel Garette
ef5bcbf98b user could delete informations set in config 2016-04-28 11:31:04 +02:00
Emmanuel Garette
7460f38a88 update sqlalchemy storage for values et settings 2016-03-29 09:31:00 +02:00
Emmanuel Garette
e91568e6b6 Validation should return exception, not raises exception
Don't check force_store_value for SymLinkOption
2016-03-24 19:43:41 +01:00
Emmanuel Garette
7305cfa134 python 3.4 support 2016-03-19 21:27:37 +01:00
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