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
Fabio Erculiani
61d2c6139e
[entropy.qa/entropy.server] rework test_missing_dependencies() and missing_runtime_dependencies_test(), EXPERIMENTAL
2011-04-23 20:06:32 +02:00
Fabio Erculiani
9fd6cd34f5
[entropy.server] fix undefined reference
2011-04-23 19:53:18 +02:00
Fabio Erculiani
81935fd7fc
[entropy.output] TextInterface: add edit_file() method
2011-04-23 19:50:47 +02:00
Fabio Erculiani
7f5c59b772
Release Entropy 1.0_beta1
2011-04-23 14:49:13 +02:00
Fabio Erculiani
cbb76e7455
[entropy.client.interfaces.package] always run configuration files protection logic
...
When diffremoval is True (== package being updated), the configuration
files protection logic was skipped and every files removed regardless
user settings. This is wrong, since nowadays we store md5 of installed
files and we are able to know when a file is sitting on the fs unmodified,
thus decide to remove it automatically.
Also see bug #2354 . Thanks Mitch Harder for reporting.
2011-04-23 14:42:00 +02:00
Fabio Erculiani
f25488cc87
[entropy.client.interfaces.dep] filter out packages in the same slot, when tagged
...
In _generate_reverse_dependency_tree() -> get_revdeps_lib()
it could happen that tagged packages sharing the "virtual" slot
get pulled in in the dependency graph. This should not really
happen, and happens to packages whose libs need an ELF object
available inside their own package files.
See also: http://forum.sabayon.org/viewtopic.php?f=5&t=23781
2011-04-23 12:28:02 +02:00
Fabio Erculiani
1ba880c31c
[entropy.client.interfaces.dep] complete tweaking of debugging ourput in _generate_reverse_dependency_tree
2011-04-23 12:23:47 +02:00
Fabio Erculiani
c5e5078117
[entropy.client.interfaces.dep] add more debugging output in _generate_reverse_dependency_tree
2011-04-23 11:50:11 +02:00
Fabio Erculiani
36d184d76e
Release Entropy 1.0_alpha47
2011-04-15 08:00:30 +02:00