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
2ec88d4248
[equo] do not execute "equo config" when --pretend is passed
2010-12-30 12:15:56 +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
d7476ad095
Tagging Entropy version 0.99.51.20
0.99.51.20
2010-12-21 12:42:00 +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
b105cd4447
[equo/smart] read_xpak() can return None, check the return value before calling storeSpmMetadata()
2010-12-16 16:23:02 +01:00
Fabio Erculiani
55d995e010
[services] entropy-pkgdelta-generator: create deltas only for files smaller than 10Mb (bsdiff mem usage: max(17*n,9*n+m)+O(1) )
2010-12-16 16:22:01 +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
2211047501
Tagging Entropy version 0.99.51.12
0.99.51.12
2010-12-14 19:48:33 +01:00
Fabio Erculiani
b84ddc5f88
Release Entropy 0.99.51.12
2010-12-14 19:48:30 +01:00
Fabio Erculiani
4f440fb35f
Tagging Entropy version 0.99.51.5
0.99.51.5
2010-12-14 19:40:08 +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
ab1e111502
[services] entropy-pkgdelta-generator: add --lock support
...
Add --lock <lock_file_path> switch in order to make possible to
control the execution of the tool and avoid to have multiple instances
running.
2010-12-12 10:12:02 +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
d5cdff3191
Tagging Entropy version 0.99.51.11
0.99.51.11
2010-12-08 16:47:57 +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
5697c2ee3c
[services/entropy-pkgdelta-generator] add --quiet support
2010-12-08 15:55:06 +01:00
Fabio Erculiani
e1fd7a2da5
Tagging Entropy version 0.99.51.10
0.99.51.10
2010-12-08 15:44:11 +01:00
Fabio Erculiani
5abfc112f8
Release Entropy 0.99.51.10
2010-12-08 15:44:02 +01:00
Fabio Erculiani
74e7a5102e
[services/entropy-pkgdelta-generator] skip invalid package file names silently
2010-12-07 21:05:36 +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
6cefc18268
[services/entropy-pkgdelta-generator] use etpConst .md5 extension constant and remove stale .md5 files too on cleanup
2010-12-07 20:57:49 +01:00
Fabio Erculiani
f78e69056e
[services/entropy-pkgdelta-generator] also generate .md5 file
2010-12-07 20:54:59 +01:00
Fabio Erculiani
33e36a30d9
[services] add entropy package deltas generator tool
2010-12-07 20:14:16 +01:00