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
Fabio Erculiani
7398f69226
Release Entropy 1.0_beta6
2011-05-01 08:17:58 +02:00
Fabio Erculiani
4e84aad095
Release Entropy 1.0_beta5
2011-04-30 09:56:18 +02:00
Fabio Erculiani
8bcfda56f3
Release Entropy 1.0_beta4
2011-04-29 18:21:01 +02:00
Fabio Erculiani
714473e103
[entropy.client.services.interfaces] ClientWebService.get_documents: only set "cache" param if service_cache is True
2011-04-29 18:19:45 +02:00
Fabio Erculiani
dd1b823403
[entropy.client.services.interfaces] ClientWebService: add service_cache
...
When there is no need to fetch fresh data from the service and we
can allow the same to cache our requests, service_cache should
be set to True
2011-04-29 18:02:41 +02:00
Fabio Erculiani
45622fa2fe
Release Entropy 1.0_beta3
2011-04-29 17:25:51 +02:00
Fabio Erculiani
bc63e0fee8
[entropy.db] EntropyRepositoryBase.__filterUse: add backward compatibility, if use flag is not listed, it's considered disabled
2011-04-27 17:11:21 +02:00
Fabio Erculiani
9693f3e630
[entropy.db] EntropyRepositoryBase.__filterUse: now that disabled use flags are recorded, fine tune use-defaults logic
2011-04-27 17:06:59 +02:00
Fabio Erculiani
72ea943a52
[entropy.spm] add disabled use flags to package use flags metadata
2011-04-27 11:38:53 +02:00
Fabio Erculiani
612e436ca1
Release Entropy 1.0_beta2
2011-04-26 12:21:31 +02:00
Fabio Erculiani
cc1073f033
[entropy.tools] uncompress_tarball: if catch_empty is True, return 0 if os.listdir() is empty.
...
Blame Python 2.7 devs for having changed tarfile functions contract
2011-04-25 23:38:15 +02:00
Fabio Erculiani
d1bec49981
[entropy.server] final cleanups in __user_filter_out_missing_deps()
2011-04-24 16:10:42 +02:00
Fabio Erculiani
2a1b48572b
[entropy.server] fix __user_filter_out_missing_deps()
2011-04-23 23:06:58 +02:00
Fabio Erculiani
7dee249879
[entropy.output] TextInterface: fix edit_file() outcome
2011-04-23 23:06:40 +02:00