Commit Graph

6979 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 fc7c7a1ca6 [reagent] import release_entropy_locks from text_tools 2011-01-05 12:50:22 +01:00
Fabio Erculiani 6c312692f3 [reagent] fix Entropy Server resource usage
Sometimes Entropy Server instance gets loaded twice, this fixes it
in reagent. At the same time, some commands were not properly
wrapped around the acquisition of the entropy server lock.
2011-01-05 12:47:46 +01:00
Fabio Erculiani 415db83db6 Tagging Entropy version 1.0_alpha4 1.0_alpha4 2011-01-05 09:42:33 +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 cc61408125 Tagging Entropy version 1.0_alpha3 1.0_alpha3 2011-01-05 00:34:51 +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 7f5c5e0874 Tagging Entropy version 1.0_alpha2 1.0_alpha2 2011-01-03 18:55:42 +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 d50046d735 Tagging Entropy version 1.0_alpha1 1.0_alpha1 2011-01-02 19:45:43 +01:00
Fabio Erculiani 1613fb420a Release Entropy 1.0_alpha1 2011-01-02 19:45:34 +01:00
Fabio Erculiani 9c8753ada8 [todo] update TODO 2011-01-02 19:40:13 +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 62f691819b [todo] update TODO 2011-01-02 19:31:36 +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 4e8bcf07d7 [docs/man] update man page source file for reagent 2011-01-01 18:02:54 +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 bf947d355b [reagent,equo] implement "reagent repo package-dep-check" tool
This tool helps QA checking packages against missing runtime dependencies
2011-01-01 17:22:44 +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 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