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
Fabio Erculiani
343fd107e7
[entropy.db] EntropyRepositoryBase.checksum: if strict is not specified, only pick non-dynamic data from baseinfo, extrainfo
2011-04-14 14:57:42 +02:00
Fabio Erculiani
a14a146d19
[entropy.const] const_get_caller: catch IndexError exception (when stack level is < 3)
2011-04-14 14:56:52 +02:00
Fabio Erculiani
90f9bb0dda
[entropy.db] EntropyRepository._insertProvide: fixup runtime type check
...
This is required by Repository WebServices returned metadata, which
always converts all iterable types to list()
2011-04-14 14:08:36 +02:00
Fabio Erculiani
0c11af4e03
[entropy.client.interfaces] set webservices_config metadatum for .tbz2 and .etp repositories
2011-04-13 16:27:51 +02:00
Fabio Erculiani
f6cd220c0a
[entropy.services.client] raise WebService.UnsupportedService if webservices_config metadata is not available
2011-04-13 16:26:15 +02:00
Fabio Erculiani
5b4487ecb5
Release Entropy 1.0_alpha45
2011-04-11 21:28:01 +02:00
Fabio Erculiani
c9242c5793
Release Entropy 1.0_alpha44
2011-04-11 16:02:15 +02:00
Fabio Erculiani
b72955ef36
[entropy.client.services] improve reliability of report_error() by encoding everything as file in the POST request
2011-04-11 16:01:36 +02:00
Fabio Erculiani
8481a9b847
Release Entropy 1.0_alpha43
2011-04-11 14:53:21 +02:00
Fabio Erculiani
63097c3d4d
[entropy.client.services] convert to byte string before pushing to hashlib.sha1
2011-04-10 23:50:44 +02:00
Fabio Erculiani
17baf12a2e
[entropy.services.client] drop ETP_OVERRIDE_REQUEST_URL
2011-04-10 23:28:32 +02:00
Fabio Erculiani
207eaa5513
Release Entropy 1.0_alpha42
2011-04-10 23:27:03 +02:00
Fabio Erculiani
cc44a98c6a
[entropy.client.interfaces.client] drop UGC interface support completely
2011-04-10 23:16:41 +02:00
Fabio Erculiani
4edec0ed14
[entropy.client.interfaces.cache] drop UGC related methods
2011-04-10 23:16:23 +02:00
Fabio Erculiani
b930bef29d
[tests] drop dead tests
2011-04-10 23:15:51 +02:00
Fabio Erculiani
97c0f986aa
[entropy.client.interfaces.qa] use the new Entropy Web Services interface for submitting error reports
2011-04-10 23:14:34 +02:00
Fabio Erculiani
abe1ac6536
[entropy.client.services] when adding a new vote, make all the best for keeping the "get_available_votes" cache up-to-date
2011-04-10 17:42:26 +02:00
Fabio Erculiani
6d743d26b5
[entropy.services.client] also debug-log cache miss in _method_getter()
2011-04-10 17:41:58 +02:00
Fabio Erculiani
d30260a119
[entropy.const] const_debug_write, make it synchronous and thread-safe
2011-04-10 17:41:37 +02:00
Fabio Erculiani
d262ef98be
[entropy.client.services] add in-RAM caching to get_votes()
2011-04-10 17:23:05 +02:00