Fabio Erculiani
6446b40b7e
[entropy.spm] PortagePlugin: trivial code update
2011-01-01 16:16:26 +01:00
Fabio Erculiani
356f5025da
[entropy.dump] make dumpobj execution atomic
2010-12-31 16:55:44 +01:00
Fabio Erculiani
5983cae3e1
[entropy.client.interfaces.dep] add automatic conflicts detection, when package metadata doesn't list them.
...
It can happen that some installed packages conflict against newly
available packages, but the latter doesn't list the former as
conflict, resulting in unforeseen missing conflict information.
This is generally a QA issue in the package metadata, but it's better
to try to cope with it, even if a bit dangerous (effects of this
"auto-conflict" feature have to be tested in real world). For this
reason, one can override this feature by setting the env var:
ETP_DISABLE_AUTOCONFLICT=1 as well as turning off caching that could
compromise the results: ETP_NOCACHE=1
2010-12-30 20:16:15 +01:00
Fabio Erculiani
6a302f2c6d
[entropy.db] EntropyRepositoryBase: add searchConflict() function
2010-12-30 20:16:14 +01:00
Fabio Erculiani
5f52ded882
[entropy.client.interfaces.package] remove conflicts in proper order (not random)
2010-12-30 18:32:25 +01:00
Fabio Erculiani
f87d52786a
[entropy.client.interfaces.package] if download fails 4 times (out of 5), try to download disabling the resume feature
2010-12-26 16:14:37 +01:00
Fabio Erculiani
71a7e59f64
[entropy.client.interfaces.package] implement edelta support in Entropy Client
...
This commit implements working Entropy package delta download for
both single fetch and multifetch feature. It is fault tolerant and
the usual behaviour will be triggered as fallback.
Due to the memory requirements of bspatch, edelta won't be used for
files bigger than 10Mb (this is hardcoded inside entropy-pkgdelta-generator).
.edelta files are automatically generated by entropy-pkgdelta-generator,
inside a cron job on our servers. This feature is completely optional,
but can be easily implemented by 3rd parties by simply using the
generator app above, everything will be handled automatically (bsdiff
required).
2010-12-24 18:24:14 +01:00
Fabio Erculiani
e33f19964d
[entropy.client.interfaces.package] fix checksum verification when multifetch is enabled, the if condition was never reached.
2010-12-24 18:22:33 +01:00
Fabio Erculiani
f9860c8384
[entropy.fetchers] fix file:// protocol handling, close bug 2037, thanks to a screwdriver, lol
2010-12-22 16:58:57 +01:00
Fabio Erculiani
b0d5a87ffd
Release Entropy 0.99.51.20
2010-12-21 12:41:52 +01:00
Fabio Erculiani
12f53894f5
[entropy.spm] PortagePlugin: when splitdebug is disabled, tweak CONTENTS data removing /usr/lib/debug entries
2010-12-21 12:39:46 +01:00
Fabio Erculiani
ed4544228f
[entropy.spm] PortagePlugin: add temporary workaround for broken fakedbapi API
2010-12-21 12:39:20 +01:00
Fabio Erculiani
07efee9f02
[entropy.client.interfaces.package] provide splitdebug metadata to triggers
2010-12-21 12:16:30 +01:00
Fabio Erculiani
4326d32fbb
[entropy.server] fix _add_packages_qa_libtests() undefined references
2010-12-21 12:00:54 +01:00
Fabio Erculiani
54f1f50561
[entropy.server] when moving packages between repos, always execute the missing libraries check again
2010-12-21 11:52:58 +01:00
Fabio Erculiani
f0662544c3
[entropy.server] fix QA check against keywords
2010-12-21 10:25:35 +01:00
Fabio Erculiani
6e7c9b71c1
[entropy.client.services.ugc.interface] ValueError("bad marshal data") can be raised there, catch it
2010-12-21 10:10:54 +01:00
Fabio Erculiani
4c47a51bea
[entropy.tools] write apply_entropy_delta() bspatch output to temp file
2010-12-21 10:10:04 +01:00
Fabio Erculiani
fc3df29dbf
[entropy.spm] PortagePlugin.xpaktools: properly handle os.remove() in extract_xpak()
2010-12-21 10:06:27 +01:00
Fabio Erculiani
7e879a18e6
[entropy.db] EntropyRepository.retrieveSources(): properly setup url strings, avoid using os.path.join() on urls. Thanks to Giovanni Martinelli.
2010-12-16 19:47:47 +01:00
Fabio Erculiani
46876df522
[entropy.client.interfaces.package] when pressing CTRL+C give up completely on sources fetch
2010-12-16 19:36:22 +01:00
Fabio Erculiani
daf486d01d
[tests] add test_entropy_delta, testing entropy.tools.generate_entropy_delta() and entropy.tools.apply_entropy_delta()
2010-12-16 16:21:18 +01:00
Fabio Erculiani
89bdd34a27
[entropy.tools] complete entropy deltas generation functions, make them simmetric (md5 generated matches the original file)
2010-12-16 16:20:07 +01:00
Fabio Erculiani
d80b1698ec
[entropy.spm] add two new methods (bump plugin API) dump_package_metadata and aggregate_package_metadata
2010-12-16 16:19:23 +01:00
Fabio Erculiani
b84ddc5f88
Release Entropy 0.99.51.12
2010-12-14 19:48:30 +01:00
Fabio Erculiani
242402cb92
Release Entropy 0.99.51.5
2010-12-14 19:40:00 +01:00
Fabio Erculiani
1ea5871f1f
[entropy.spm] add workaround for Portage 2.1.9x, having package sets configuration disabled by default
2010-12-14 19:38:04 +01:00
Fabio Erculiani
ff51f9d938
[entropy.fetchers] avoid to re-read the downloaded file for making the md5 when using urllib
2010-12-12 14:26:20 +01:00
Fabio Erculiani
a4122850c4
[entropy.tools] update API of generate_entropy_delta() and generate_entropy_delta_file_name(), improve reliability of fetching the right file.
2010-12-11 23:01:00 +01:00
Fabio Erculiani
95d0d9139d
[entropy.output] always return unicode data (when possible) out of _my_raw_input(), close bug 2006.
2010-12-10 12:43:35 +01:00
Fabio Erculiani
af39de27a6
[entropy.security] Security.get_pubkey() catch GPGError in case of issues exporting pubkey, and raise KeyError
2010-12-09 21:38:42 +01:00
Fabio Erculiani
689f5dd95e
[entropy.client.interfaces.package] deal with badly encoded file names in cleanup
2010-12-09 21:34:35 +01:00
Fabio Erculiani
2325d2dc82
Release Entropy 0.99.51.11
2010-12-08 16:47:56 +01:00
Fabio Erculiani
ae8cc9bfcf
[entropy.spm] PortagePlugin: improve speed of get_package_sets(False) as used by entropy.server
2010-12-08 16:47:17 +01:00
Fabio Erculiani
5abfc112f8
Release Entropy 0.99.51.10
2010-12-08 15:44:02 +01:00
Fabio Erculiani
b3e6aeb0ea
[entropy.dep] improve exploit_package_name, raise AttributeError if input validation fails
2010-12-07 21:04:11 +01:00
Fabio Erculiani
f3171344fe
[entropy.const] move package delta subdir name to etpConst
2010-12-07 20:14:02 +01:00
Fabio Erculiani
13258fe903
[entropy.tools] add package delta updates support function
...
Implement generate_entropy_delta and apply_entropy_delta functions
2010-12-04 13:09:18 +01:00
Fabio Erculiani
821eac28c2
[entropy.dep] two new handy function strip_entropy_package_extension and exploit_package_filename
2010-12-04 13:09:18 +01:00
Fabio Erculiani
91468af5d9
[entropy.exceptions] move some exception to respective modules
...
Create entropy.transceivers.exceptions package containing transceiver
related stuff.
Create entropy.services.exceptions package containing services
related stuff.
Break API (yay!)
2010-12-03 18:20:56 +01:00
Fabio Erculiani
b08707414a
[entropy.dep] fix undefined reference in expand_dependencies()
2010-12-03 17:42:17 +01:00
Fabio Erculiani
d5d0f8f26b
[entropy.client.interfaces.dep] catch DatabaseError exception when calling atomMatch()
2010-12-02 08:03:42 +01:00
Fabio Erculiani
bd153e7b34
Release Entropy 0.99.51.4
2010-11-28 23:01:34 +01:00
Fabio Erculiani
50fa121180
[entropy.db] EntropyRepositoryBase: implement new method "setContentSafety", the opposite of "retrieveContentSafety"
2010-11-28 13:11:55 +01:00
Fabio Erculiani
f30b9e6ba6
Release Entropy 0.99.51.3
2010-11-27 15:03:05 +01:00
Fabio Erculiani
49fa5e7836
Release Entropy test.0
2010-11-27 15:02:15 +01:00
Fabio Erculiani
a15d12445e
Release Entropy 0.99.51.2
2010-11-27 14:45:48 +01:00
Fabio Erculiani
f7138f4a82
Tagging Entropy version 0.99.51.1
2010-11-27 14:35:41 +01:00
Fabio Erculiani
dba41146dc
[tests] make content_safety test more reliable on different platforms
2010-11-26 23:08:30 +01:00
Fabio Erculiani
0ff67b01c4
Tagging Entropy version 0.99.51
2010-11-26 20:23:38 +01:00