Commit Graph

4807 Commits

Author SHA1 Message Date
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
Fabio Erculiani 869054b1aa [entropy.services.ugc.interfaces] sync with new SQL schema (probably last update before extintion) 2011-04-03 10:25:13 +02:00
Fabio Erculiani d701573823 [entropy.tools] fix typo in validate_branch_name() 2011-04-02 16:39:27 +02:00
Fabio Erculiani 40acfe47b6 [entropy.tools] add validate_branch_name() 2011-04-02 16:29:40 +02:00
Fabio Erculiani 49d2b4dc7f [entropy.client.services.interfaces] add DocumentList, several API improvements 2011-04-02 11:21:45 +02:00
Fabio Erculiani b5593a44ff [entropy.services.client] add some more debugging output 2011-04-02 11:20:51 +02:00
Fabio Erculiani 56a921b753 [entropy.tools] add validate_package_name() 2011-04-02 11:17:43 +02:00
Fabio Erculiani ecbd1ea10f Release Entropy 1.0_alpha41 2011-04-01 14:16:19 +02:00
Fabio Erculiani 929ca65a5e [entropy.client.interfaces.dep] fix typo in _generate_dependency_tree 2011-04-01 14:15:45 +02:00
Fabio Erculiani 9e1365f8fe Release Entropy 1.0_alpha40 2011-03-30 21:05:36 +02:00
Fabio Erculiani 01e0edf2cb [entropy.client.interfaces.dep] actually fix the "simple or dependency" matching logic 2011-03-30 21:04:27 +02:00
Fabio Erculiani b51edf9487 [entropy.client.interfaces.dep] introduce simple or-dependencies support on atom_match()
The reason is simple, in a multi-repository environment, the matching
must be forced across all the available repositories for every single
dependency, returning the first available.
Running the logic only inside EntropyRepositoryBase.atomMatch() would
have the effect of pulling in wrong dependencies in case some
are not available in every configured repository.

Example: x11-libs/libvdpau;x11-drivers/nvidia-drivers?
2011-03-30 21:02:28 +02:00
Fabio Erculiani e22e75e759 [entropy.client.interfaces.dep] add more debugging output 2011-03-30 21:02:28 +02:00
Fabio Erculiani 08de3ad55f Release Entropy 1.0_alpha39 2011-03-30 14:20:47 +02:00
Fabio Erculiani 381d95b906 [entropy.client.interfaces.dep] add inverse dependencies to graph only after the complete iteration 2011-03-29 22:32:01 +02:00
Fabio Erculiani 0098b20d89 [entropy.client.interfaces.dep] fix order for library-bump pulled in dependencies
When _lookup_library_drops() returned inverse dependent packages
those were not forced as such in the dependency graph, causing
wrong dependency order. For example, gcc:4.4 was placed after
qt-* packages, even if, given its provided libraries change
it should have gotten more priority.

NOTE: this commit also partially reverse the previous one, where
_lookup_library_breakages() was disabled.
2011-03-29 18:48:31 +02:00
Fabio Erculiani d11138c1d9 [entropy.client.interfaces.dep] some minor/trivial code cleanup 2011-03-29 18:47:22 +02:00
Fabio Erculiani 4db104d13a [entropy.client.interfaces.dep] disable _lookup_library_breakages() in dep calculation by default 2011-03-29 16:17:54 +02:00