Commit Graph

4860 Commits

Author SHA1 Message Date
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
Fabio Erculiani
a92aa06004 [entropy.server] drop other two configuration constants 2011-04-15 07:58:57 +02:00
Fabio Erculiani
aa62400790 [entropy*] drop socket service related code, R.I.P. 2011-04-15 07:35:51 +02:00
Fabio Erculiani
55d7ef1275 Release Entropy 1.0_alpha46 2011-04-15 00:42:13 +02:00
Fabio Erculiani
79f8a576b5 [entropy.client.interfaces.db] make sure to abort in case of fetch error from webservice 2011-04-15 00:29:47 +02:00
Fabio Erculiani
d6de645ccb [entropy.client.interfaces.db] dramatically improve differential update sync speed by spawning parallel metadata download 2011-04-15 00:26:59 +02:00
Fabio Erculiani
90ccb479bb [entropy.client.services] small final tweaks 2011-04-15 00:26:24 +02:00
Fabio Erculiani
7f319382f4 [entropy.client.interfaces.package] __fetch_file: catch OSError exception on makedirs() 2011-04-14 18:18:55 +02:00
Fabio Erculiani
83d974d818 [entropy.const] drop UGC related constants (removed) 2011-04-14 15:21:08 +02:00
Fabio Erculiani
80dfbcc0f2 [entropy.services] goodbye old and ugly RPC service, R.I.P. 2011-04-14 15:17:54 +02:00
Fabio Erculiani
e5bf7e039d [tests] add RepositoryWebServices tests 2011-04-14 15:09:35 +02:00
Fabio Erculiani
bb0508784d [entropy.client.interfaces.db] reimplement EAPI3 sync over Repository Web Services infrastructure 2011-04-14 15:04:19 +02:00
Fabio Erculiani
a6cd8f150a [entropy.client.interfaces.loaders] add RepositoryWebServices() loader 2011-04-14 15:02:54 +02:00
Fabio Erculiani
5a073519af [entropy.client.services] implement RepositoryWebServices infrastructure 2011-04-14 15:02:22 +02:00