Commit Graph

4896 Commits

Author SHA1 Message Date
Fabio Erculiani e58c5f8447 Release Entropy 1.0_rc1 2011-06-12 23:24:10 +02:00
Fabio Erculiani aa797f079e [entropy.cache] EntropyCacher: use daemon threads 2011-06-12 23:05:05 +02:00
Fabio Erculiani 8172dba981 [entropy.fetchers] MultipleUrlFetcher: make UrlFetcher.download() thread, a daemon one 2011-06-12 23:04:17 +02:00
Fabio Erculiani fd96568d02 [entropy.client.interfaces.db] make the Web Services repository update routine daemon threads 2011-06-12 22:29:20 +02:00
Fabio Erculiani 8a8fdead26 [entropy.client.services] lower socket timeout to sane values, keep it high for video uploads 2011-06-12 16:27:18 +02:00
Fabio Erculiani ab9472dfee [entropy.client.interfaces.client] add ETP_SPLITDEBUG option 2011-06-12 16:06:08 +02:00
Fabio Erculiani d3583e25ec [entropy.security] fix undefined reference "GPGError" 2011-06-08 18:08:13 +02:00
Fabio Erculiani fe5d39c748 [entropy.client.interfaces.db] AvailablePackagesRepositoryUpdater: raise KeyError if repository identifier is invalid 2011-06-08 18:05:22 +02:00
Fabio Erculiani 16f7367d1e Release Entropy 1.0_beta21 2011-06-01 14:20:56 +02:00
Fabio Erculiani d86b2695d4 [entropy.spm] PortagePlugin: fix undefined reference 2011-06-01 14:20:38 +02:00
Fabio Erculiani 424cff1037 Release Entropy 1.0_beta20 2011-05-31 11:19:33 +02:00
Fabio Erculiani ed7b6d4dd8 [entropy.client.interfaces.dep] evaluate post-dependencies separately
Evaluating post-dependencies together with direct dependencies
could cause unexpected packages to be pulled in due to cycles in
the dependency graph. This commits makes possible to cut these
cycles by filtering out dependencies already pulled in, in the same
scope.

Example: nvidia-drivers pulls in nvidia-userspace which pulls in
nvidia-drivers as post-dependency. But given that we have more
nvidia-drivers packages in the same scope, this turned to be an issue
2011-05-31 11:14:49 +02:00
Fabio Erculiani 8f96964beb [entropy.client.interfaces.dep] use set intersection instead of doubly nested for loops 2011-05-31 11:13:30 +02:00
Fabio Erculiani c53266f911 Release Entropy 1.0_beta19 2011-05-30 22:02:31 +02:00
Fabio Erculiani 3e194202cb [entropy.client.interfaces.dep] properly filter out colliding packages when determining inverse dependencies 2011-05-30 20:35:12 +02:00
Fabio Erculiani 910f118e88 Release Entropy 1.0_beta18 2011-05-28 20:17:02 +02:00
Fabio Erculiani 94c55061a7 [entropy.client] Trigger: always execute the setup phase (if available) even when preinstall nor postinstall are set 2011-05-28 20:12:58 +02:00
Fabio Erculiani 94d3235dc8 [entropy.spm] PortagePlugin: improve reliability of preinstall+setup phase execution 2011-05-28 20:12:28 +02:00
Fabio Erculiani c5d270d4a1 [entropy.server] add catch-all dep_rewrite syntax 2011-05-21 23:19:45 +02:00
Fabio Erculiani db20f8ac55 Release Entropy 1.0_beta17 2011-05-18 22:24:11 +02:00
Fabio Erculiani 1cb6a18305 [entropy.server] fix dep_rewrite logic when asking to remove dependencies 2011-05-18 22:22:52 +02:00
Fabio Erculiani 4d871155ce Release Entropy 1.0_beta16 2011-05-17 00:08:35 +02:00
Fabio Erculiani 18bb05df4b Release Entropy 1.0_beta15 2011-05-06 19:19:28 +02:00
Fabio Erculiani b71c66eb72 [entropy.client.interfaces.dep] dramatically improve _generate_reverse_dependency_tree() speed (by 10x factor) 2011-05-06 19:17:00 +02:00
Fabio Erculiani d9687b9451 [entropy.client.interfaces.dep] filter or dependencies during reverse deps calculation
Let's say we have app-foo/one requiring python:2.6 or python:2.7.
We have both installed of them installed and we decide to drop
python:2.6. Without handling the case where either 2.6 or 2.7
are fine, the first occurence is pulled in, which is wrong.
This code changes the way retrieveReverseDependencies() work (
by including any or dependency in the reverse deps list) and
add the logic to handle the case in the reverse dependencies
calculation code.
2011-05-06 16:45:24 +02:00
Fabio Erculiani 0f0029b3ec [tests] db: fix test_use_defaults test 2011-05-06 16:39:40 +02:00
Fabio Erculiani 07d14b78e8 [entropy.misc] fix typo in Lifo.discard() 2011-05-06 16:31:23 +02:00
Fabio Erculiani 707dc67f07 [entropy.client.interfaces.dep] _generate_reverse_dependency_tree: add more debugging output 2011-05-06 12:23:26 +02:00
Fabio Erculiani 5cc2ffed2b [entropy.client.interfaces.methods] _create_pid_file_lock: handle the case where execv* has been used 2011-05-06 12:20:29 +02:00
Fabio Erculiani e9fe75b1ca [entropy.misc] Lifo: use collections.deque 2011-05-06 12:11:05 +02:00
Fabio Erculiani 4da60e84d2 [entropy.db] EntropyRepositoryBase: add extended=True support to retrieveReverseDependencies() 2011-05-06 11:50:40 +02:00
Fabio Erculiani 208c9c3f4e [entropy.misc] implement Lifo over List and use O(1) methods only 2011-05-06 10:14:22 +02:00
Fabio Erculiani 687f414ec6 Release Entropy 1.0_beta14 2011-05-05 14:47:55 +02:00
Fabio Erculiani 9fbd7f1aa4 [entropy.client.interfaces.dep] _get_unsatisfied_dependencies: when handling simple or dependency, restrict matching to the first available entity 2011-05-05 14:47:02 +02:00
Fabio Erculiani f1c5877732 Release Entropy 1.0_beta13 2011-05-05 12:12:52 +02:00
Fabio Erculiani a86a752dc6 [entropy.client.interfaces.package] fromfile could be None, handle this in _handle_config_protect() 2011-05-05 12:12:24 +02:00
Fabio Erculiani 78f7978bb2 Release Entropy 1.0_beta12 2011-05-05 11:35:14 +02:00
Fabio Erculiani e282113241 [entropy.client.interfaces.package] handle broken symlink in package file content, during installation
libvirt ships with a broken symlink, that could lead Entropy to
crash with IOError exception at Spm.allocate_protected_file()
This commit handles this exact case.
2011-05-05 11:33:50 +02:00
Fabio Erculiani 660abed922 Release Entropy 1.0_beta11 2011-05-04 19:32:02 +02:00
Fabio Erculiani 6331a9f50e [entropy.spm] PortagePlugin: always keep USE_FORCE in package use flags 2011-05-04 19:24:42 +02:00
Fabio Erculiani 05fa5ab8f2 [tests] db: fix test_use_defaults test 2011-05-04 18:32:29 +02:00
Fabio Erculiani 50d94d456f [entropy.spm] PortagePlugin: rewrite _calculate_dependencies() to ignore use_mask 2011-05-04 15:59:13 +02:00
Fabio Erculiani b602fbf34c Release Entropy 1.0_beta10 2011-05-03 18:49:15 +02:00
Fabio Erculiani 374f19d2c5 [entropy.client.interfaces.db] make AvailablePackagesRepository.remote_revision() work again (fixes Magneto) 2011-05-03 18:47:25 +02:00
Fabio Erculiani e1e8bbdf8b Release Entropy 1.0_beta9 2011-05-03 14:52:12 +02:00
Fabio Erculiani dae5bf3516 [entropy.client.interfaces.dep] validate retrieveKeySlotAggregated outcome before processing 2011-05-01 16:36:05 +02:00
Fabio Erculiani a01fa77e7a [entropy.client.interfaces.methods] write disabled repositories too in __write_ordered_repositories_entries 2011-05-01 16:17:58 +02:00
Fabio Erculiani 83e910a3d5 [entropy.client.interfaces.methods] fix typo in Client.__write_ordered_repositories_entries, close bug #2385 2011-05-01 16:04:40 +02:00
Fabio Erculiani 7c43c424a9 Release Entropy 1.0_beta8 2011-05-01 08:22:36 +02:00
Fabio Erculiani 98bee11a7f Release Entropy 1.0_beta7 2011-05-01 08:21:46 +02:00