Commit Graph

4482 Commits

Author SHA1 Message Date
Fabio Erculiani
dc4d2dea60 [entropy.tools] add is_entropy_delta_available() function 2011-01-06 00:19:27 +01:00
Fabio Erculiani
5fd8c1d575 Release Entropy 1.0_alpha4 2011-01-05 09:42:30 +01:00
Fabio Erculiani
b2a67f47a2 [entropy.tools] catch OSError exception when using subprocess.call() inside edelta functions 2011-01-05 09:23:52 +01:00
Fabio Erculiani
0e79fccfb1 Release Entropy 1.0_alpha3 2011-01-05 00:34:48 +01:00
Fabio Erculiani
2f8e1eec02 [entropy.client.interfaces.package] improve conflict removal functionality 2011-01-05 00:31:32 +01:00
Fabio Erculiani
108a19cbec [entropy.const] fix typo in constant name "etpdatabasedepblacklistfile" 2011-01-04 22:35:16 +01:00
Fabio Erculiani
63e6650b73 [entropy.server] add package sets QA feature, guarding on available sets before pushing a repo.
Through /etc/entropy/packages/packages.server.sets it's now possible
to list package sets that a repository must always expose.
A QA check has been added inside the repository sync function, in
entropy.server.interfaces.mirrors package.
Just use conf/packages/packages.server.sets.example as example
file to build your configuration.
2011-01-04 22:32:38 +01:00
Fabio Erculiani
cf09a64d43 Release Entropy 1.0_alpha2 2011-01-03 18:55:38 +01:00
Fabio Erculiani
da57b318b3 [entropy.qa] add some more caching to get_deep_dependency_list 2011-01-03 18:55:11 +01:00
Fabio Erculiani
6fddbec3ed [entropy.qa] correct get_deep_dependency_list() behaviour when match_repo is None, drop useless cache 2011-01-03 18:44:14 +01:00
Fabio Erculiani
5b63334988 [entropy.qa] improve unresolved sonames logic, add multi-repository support 2011-01-03 12:41:42 +01:00
Fabio Erculiani
bace46744e [entropy.tools] fix read_elf_linker_paths when ${ORIGIN} is in RPATH/RUNPATH (handle this case too) 2011-01-03 12:24:15 +01:00
Fabio Erculiani
1613fb420a Release Entropy 1.0_alpha1 2011-01-02 19:45:34 +01:00
Fabio Erculiani
15675cdc1a [entropy.qa] rename "dbconn" argument of test_shared_objects to "entropy_repository" 2011-01-02 19:36:06 +01:00
Fabio Erculiani
4b47577882 [entropy.spm] PortagePlugin: add note inside _extract_pkg_metadata_provided_libs regarding metadata collection of injected packages 2011-01-02 19:30:45 +01:00
Fabio Erculiani
d5028d3322 [entropy.server] add note regarding missing_runtime_dependencies_test behaviour with in-package metadata 2011-01-02 19:30:00 +01:00
Fabio Erculiani
e8ecb55b6a [entropy.qa] fix regression in get_deep_dependency_list(), only add valid matches to result 2011-01-01 18:15:48 +01:00
Fabio Erculiani
fc11710aa7 [entropy.server] missing_runtime_dependencies_test: add "bump packages" feature
Packages should be bumped if metadata changes, this applies to
calls coming for old packages already available in online repositories
2011-01-01 18:01:48 +01:00
Fabio Erculiani
4c37ad3e22 [entropy.qa,entropy.server] migrate missing_runtime_dependencies_test() and add missing_runtime_dependencies_test()
Migrate entropy.qa missing_runtime_dependencies_test() to multi-repository support.
Provide public API for running missing runtime dependencies verification in entropy.server,
add missing_runtime_dependencies_test()
2011-01-01 17:17:10 +01:00
Fabio Erculiani
2384985fd8 [entropy.qa] rework QA functions to add multi-repository functionalities, break API 2011-01-01 16:23:34 +01:00
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