Commit Graph

4824 Commits

Author SHA1 Message Date
Fabio Erculiani 36d184d76e Release Entropy 1.0_alpha47 2011-04-15 08:00:30 +02:00
Fabio Erculiani a92aa06004 [entropy.server] drop other two configuration constants 2011-04-15 07:58:57 +02:00
Fabio Erculiani aa62400790 [entropy*] drop socket service related code, R.I.P. 2011-04-15 07:35:51 +02:00
Fabio Erculiani 55d7ef1275 Release Entropy 1.0_alpha46 2011-04-15 00:42:13 +02:00
Fabio Erculiani 79f8a576b5 [entropy.client.interfaces.db] make sure to abort in case of fetch error from webservice 2011-04-15 00:29:47 +02:00
Fabio Erculiani d6de645ccb [entropy.client.interfaces.db] dramatically improve differential update sync speed by spawning parallel metadata download 2011-04-15 00:26:59 +02:00
Fabio Erculiani 90ccb479bb [entropy.client.services] small final tweaks 2011-04-15 00:26:24 +02:00
Fabio Erculiani 7f319382f4 [entropy.client.interfaces.package] __fetch_file: catch OSError exception on makedirs() 2011-04-14 18:18:55 +02:00
Fabio Erculiani 83d974d818 [entropy.const] drop UGC related constants (removed) 2011-04-14 15:21:08 +02:00
Fabio Erculiani 80dfbcc0f2 [entropy.services] goodbye old and ugly RPC service, R.I.P. 2011-04-14 15:17:54 +02:00
Fabio Erculiani e5bf7e039d [tests] add RepositoryWebServices tests 2011-04-14 15:09:35 +02:00
Fabio Erculiani bb0508784d [entropy.client.interfaces.db] reimplement EAPI3 sync over Repository Web Services infrastructure 2011-04-14 15:04:19 +02:00
Fabio Erculiani a6cd8f150a [entropy.client.interfaces.loaders] add RepositoryWebServices() loader 2011-04-14 15:02:54 +02:00
Fabio Erculiani 5a073519af [entropy.client.services] implement RepositoryWebServices infrastructure 2011-04-14 15:02:22 +02:00
Fabio Erculiani 343fd107e7 [entropy.db] EntropyRepositoryBase.checksum: if strict is not specified, only pick non-dynamic data from baseinfo, extrainfo 2011-04-14 14:57:42 +02:00
Fabio Erculiani a14a146d19 [entropy.const] const_get_caller: catch IndexError exception (when stack level is < 3) 2011-04-14 14:56:52 +02:00
Fabio Erculiani 90f9bb0dda [entropy.db] EntropyRepository._insertProvide: fixup runtime type check
This is required by Repository WebServices returned metadata, which
always converts all iterable types to list()
2011-04-14 14:08:36 +02:00
Fabio Erculiani 0c11af4e03 [entropy.client.interfaces] set webservices_config metadatum for .tbz2 and .etp repositories 2011-04-13 16:27:51 +02:00
Fabio Erculiani f6cd220c0a [entropy.services.client] raise WebService.UnsupportedService if webservices_config metadata is not available 2011-04-13 16:26:15 +02:00
Fabio Erculiani 5b4487ecb5 Release Entropy 1.0_alpha45 2011-04-11 21:28:01 +02:00
Fabio Erculiani c9242c5793 Release Entropy 1.0_alpha44 2011-04-11 16:02:15 +02:00
Fabio Erculiani b72955ef36 [entropy.client.services] improve reliability of report_error() by encoding everything as file in the POST request 2011-04-11 16:01:36 +02:00
Fabio Erculiani 8481a9b847 Release Entropy 1.0_alpha43 2011-04-11 14:53:21 +02:00
Fabio Erculiani 63097c3d4d [entropy.client.services] convert to byte string before pushing to hashlib.sha1 2011-04-10 23:50:44 +02:00
Fabio Erculiani 17baf12a2e [entropy.services.client] drop ETP_OVERRIDE_REQUEST_URL 2011-04-10 23:28:32 +02:00
Fabio Erculiani 207eaa5513 Release Entropy 1.0_alpha42 2011-04-10 23:27:03 +02:00
Fabio Erculiani cc44a98c6a [entropy.client.interfaces.client] drop UGC interface support completely 2011-04-10 23:16:41 +02:00
Fabio Erculiani 4edec0ed14 [entropy.client.interfaces.cache] drop UGC related methods 2011-04-10 23:16:23 +02:00
Fabio Erculiani b930bef29d [tests] drop dead tests 2011-04-10 23:15:51 +02:00
Fabio Erculiani 97c0f986aa [entropy.client.interfaces.qa] use the new Entropy Web Services interface for submitting error reports 2011-04-10 23:14:34 +02:00
Fabio Erculiani abe1ac6536 [entropy.client.services] when adding a new vote, make all the best for keeping the "get_available_votes" cache up-to-date 2011-04-10 17:42:26 +02:00
Fabio Erculiani 6d743d26b5 [entropy.services.client] also debug-log cache miss in _method_getter() 2011-04-10 17:41:58 +02:00
Fabio Erculiani d30260a119 [entropy.const] const_debug_write, make it synchronous and thread-safe 2011-04-10 17:41:37 +02:00
Fabio Erculiani d262ef98be [entropy.client.services] add in-RAM caching to get_votes() 2011-04-10 17:23:05 +02:00
Fabio Erculiani 0bc366e2ec [entropy.service.client] AuthenticationStorage: improve reliability, especially when dropping/regaining privileges 2011-04-09 18:24:07 +02:00
Fabio Erculiani 31573c417d [entropy.client.services] implement in-RAM cache and add get_document_url() 2011-04-09 17:36:51 +02:00
Fabio Erculiani d058be1b1b [entropy.services.client] some final minor bug fixes to the WebService class 2011-04-09 17:36:13 +02:00
Fabio Erculiani d508ca739b [entropy.client.services.interfaces] Document: add local_document() method 2011-04-09 11:46:04 +02:00
Fabio Erculiani ce7553f089 [entropy.client.services.interfaces] add support for offline mode, making possible to obtain on-disk cached data, if available 2011-04-09 11:45:31 +02:00
Fabio Erculiani 9ec2033072 [entropy.services.client] add support for offline mode, making possible to get on-disk cached data only 2011-04-09 11:44:35 +02:00
Fabio Erculiani d8dae91056 [entropy.services.client] setup credentials ONLY after cache handling, avoid leaving credentials info in cache data 2011-04-09 00:13:43 +02:00
Fabio Erculiani a60c456b57 [tests] webservice: update fake package name 2011-04-07 10:41:27 +02:00
Fabio Erculiani a09de2eb3f [entropy.server.interfaces.db] fix packages.db.webservices file upload 2011-04-07 10:41:27 +02:00
Fabio Erculiani d2339c4ae5 [entropy.services.client] fix authstore file (the one containing credentials) handling 2011-04-05 23:22:03 +02:00
Fabio Erculiani 40a59e908e [entropy.client.interfaces.methods] catch DatabaseError exception and return failure, see bug #2312 2011-04-05 21:55:49 +02:00
Fabio Erculiani 70c70c95a0 [entropy.services.client] wrap request() calls from httplib around RequestError, when socket.error is thrown 2011-04-03 20:04:40 +02:00
Fabio Erculiani afb8463976 [tests] add Entropy Web Services final test suite 2011-04-03 16:22:45 +02:00
Fabio Erculiani e15729a08d [entropy.client.services.interfaces] fixup add_vote() and remove_document() 2011-04-03 16:22:27 +02:00
Fabio Erculiani 0d0ccc1e05 [entropy.services.client] add more information to exception (add message string) 2011-04-03 16:21:56 +02:00
Fabio Erculiani e51c68a8a3 [entropy.services.ugc.commands] commit any transaction (this is now
required)
2011-04-03 11:44:15 +02:00