Commit Graph

4766 Commits

Author SHA1 Message Date
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
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 34e0600f13 Release Entropy 1.0_alpha38 2011-03-29 13:12:12 +02:00
Fabio Erculiani 29fdb2a95f [entropy.client.interfaces.qa] make UGCErrorReportInterface repository_id constructor argument mandatory 2011-03-29 12:17:21 +02:00
Fabio Erculiani 2574df0734 [entropy.services.client] add generic HTTP parameters setup function, setting repository identifier inside the request header 2011-03-29 12:08:37 +02:00
Fabio Erculiani 0fc86754a0 [entropy.client.services.interfaces] fix get_documents() API 2011-03-29 12:08:12 +02:00
Fabio Erculiani 4502ee6727 [entropy.client.services] add "url" metadatum to Document 2011-03-28 11:32:01 +02:00
Fabio Erculiani 35d3201e3b [entropy.client.services] when dropping document cache, also drop the one generated by get_documents_by_id() 2011-03-28 10:24:42 +02:00
Fabio Erculiani 5b9a2b323d [entropy.client.services] change Document "keywords" metadatum to string (rather than list) 2011-03-28 10:23:58 +02:00
Fabio Erculiani 2d9dd61250 [entropy.client.services] add SUPPORTED_TYPES static property to Document 2011-03-28 10:23:17 +02:00
Fabio Erculiani 10b90efece Release Entropy 1.0_alpha37 2011-03-27 22:07:51 +02:00
Fabio Erculiani 0e36036c87 [entropy.db.skel] fix typo in _runTreeUpdatesMoveAction 2011-03-27 21:57:08 +02:00
Fabio Erculiani da3af942c7 [entropy.db.skel] rewrite _runTreeUpdatesMoveAction to be more robust on slot changes (on dependency strings) 2011-03-27 21:26:27 +02:00
Fabio Erculiani a2e610b4fb [entropy.db.skel] rewrite _runTreeUpdatesSlotmoveAction to be more robust on slot changes (on dependency strings) 2011-03-27 21:12:11 +02:00
Fabio Erculiani f1428adab2 [entropy.db.skel] in treeupdates routines, always use atomMatch with maskFilter turned off 2011-03-27 21:11:02 +02:00
Fabio Erculiani cffa1e600d [entropy.db.skel] use etpConst['entropyslotprefix'] instead of hardcoded ":" 2011-03-27 19:42:15 +02:00
Fabio Erculiani 4c57a839b1 [entropy.services.client] automatically cast to string base types when generating multi-part encoded POST data 2011-03-27 15:48:16 +02:00
Fabio Erculiani d232be6afc [entropy.services.client] pack up the service method name called in exceptions when possible 2011-03-27 11:10:36 +02:00
Fabio Erculiani 55d31ca75f [entropy.services.client] add all the currently declared server-side response codes 2011-03-27 11:09:36 +02:00
Fabio Erculiani 377776aa63 [entropy.client.services] minor fixes to package vote range management 2011-03-26 16:54:59 +01:00
Fabio Erculiani 884bf31e6d [entropy.services] introduce the new Entropy Web Services Client library. 2011-03-26 16:21:27 +01:00
Fabio Erculiani 7f5cc1972b [entropy.client.interfaces.loaders] add ClientSettings loader 2011-03-26 16:20:33 +01:00
Fabio Erculiani d8c3e4529a [entropy.server] add Entropy Web Services file upload/download handling 2011-03-25 22:43:22 +01:00
Fabio Erculiani 5430f85012 [entropy.core] SystemSettings: add base Entropy Web Services repository metadata 2011-03-25 22:42:50 +01:00
Fabio Erculiani 16d7d37580 [entropy.const] add Entropy Web Services constants 2011-03-25 22:42:34 +01:00
Fabio Erculiani c68596c9ec Release Entropy 1.0_alpha36 2011-03-25 17:30:29 +01:00
Fabio Erculiani bff346fa06 [entropy.server] in _shrink_and_close(), also drop all content_safety metadata from repo, not needed 2011-03-25 17:29:22 +01:00
Fabio Erculiani 6c805b8e5e [entropy.db] EntropyRepositoryBase: add new method "dropContentSafety" 2011-03-25 17:29:20 +01:00
Fabio Erculiani 070427f9d8 [tests] db: fix test_db_metadata_handling, trigger metadata now contains slot 2011-03-25 17:29:20 +01:00
Fabio Erculiani e8d88d6814 Release Entropy 1.0_alpha35 2011-03-25 14:30:25 +01:00
Fabio Erculiani d82a8d5ed0 [entropy.core.settings.base] drop unwanted merged code 2011-03-25 14:30:00 +01:00
Fabio Erculiani 5c5fb7a604 Release Entropy 1.0_alpha34 2011-03-25 10:18:48 +01:00
Fabio Erculiani f0128cee35 [entropy.db.skel] minor docstring update 2011-03-25 09:50:56 +01:00
Fabio Erculiani 9b34009226 [entropy.core.settings.base] fix cache validation logic after configuration files changes, see bug #2280 2011-03-25 09:50:20 +01:00
Fabio Erculiani ab1e5b5644 [tests] add another python-based package trigger test 2011-03-23 07:08:26 +01:00
Fabio Erculiani c62dd54531 [tests] add python-based package trigger test 2011-03-23 06:44:46 +01:00
Fabio Erculiani e07dada3cc [entropy.client.interfaces.trigger] rework shell-based trigger support 2011-03-23 06:39:16 +01:00
Fabio Erculiani e9e4161ae7 [tests] add shell trigger test to client 2011-03-23 06:38:25 +01:00
Fabio Erculiani fa20010d80 [entropy.db] EntropyRepositoryBase.getTriggerData: also return slot metadatum 2011-03-23 06:38:24 +01:00
Fabio Erculiani f425c505a9 [entropy.spm] PortagePlugin: when printing generic exception, always use repr() 2011-03-21 20:28:08 +01:00