Commit Graph

9601 Commits

Author SHA1 Message Date
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 2aa325560d [equo] migrate to the new Entropy Web Services interface 2011-04-07 10:41:28 +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
Sławomir Nizio d3a6c4e03f [docs] update equo man page, correct formatting, make it easier to use 2011-04-06 00:39:13 +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 ffc654e448 [equo] "rescue check", make code path more error-safe, see bug #2312 2011-04-05 22:01:27 +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 c05b661f1f [equo] make "equo remove" behaviour match "equo install" one when using --ask 2011-04-03 16:50:02 +02:00
Fabio Erculiani 4fcd110463 [equo] smart quickpkg: restore API compatibility, close bug #2307 2011-04-03 16:45:13 +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 629f5fcb77 Tagging Entropy version 1.0_alpha41 1.0_alpha41 2011-04-01 14:16:34 +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 dc485e81b9 [equo] beautify error output colors in case of unmatched packages 2011-03-30 21:24:47 +02:00
Fabio Erculiani dda5543919 Tagging Entropy version 1.0_alpha40 1.0_alpha40 2011-03-30 21:05:38 +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
Daniel Halens Rodríguez 8247d0f8f8 [i18n] Fix a typo in es translation 2011-03-30 16:38:05 +01:00
Fabio Erculiani 5b97cba5f8 Tagging Entropy version 1.0_alpha39 1.0_alpha39 2011-03-30 14:21:06 +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
Fabio Erculiani 9b3ede543b [entropy.client.interfaces.dep] add more debugging output to dep calculation, also use const_debug_enabled() 2011-03-29 16:14:29 +02:00
Fabio Erculiani cc1a29fec2 [entropy.client.interfaces.dep] use sha1 for hashing disk cache keys rather than hash() 2011-03-29 15:43:13 +02:00
Fabio Erculiani b39b3feaa7 [entropy.const] add const_debug_enabled function 2011-03-29 15:42:08 +02:00
Fabio Erculiani 1c90f540ff Tagging Entropy version 1.0_alpha38 1.0_alpha38 2011-03-29 13:12:28 +02:00
Fabio Erculiani 34e0600f13 Release Entropy 1.0_alpha38 2011-03-29 13:12:12 +02:00
Fabio Erculiani 7a4fe11a8d [sulfur] make possible to disable/remove the default repository 2011-03-29 12:25:32 +02:00