Commit Graph

5046 Commits

Author SHA1 Message Date
Fabio Erculiani a7732fefd6 [entropy.server] tweak missing_runtime_libraries_test() output 2011-08-04 16:48:23 +02:00
Fabio Erculiani a97c2821a7 [entropy.server] add missing runtime libraries QA
Use collected packages ELF metadata (retrieveNeeded(),
resolveNeeded()) to look for potentially missing
shared libraries. This is very handy in case of library breakages
across multiple server-side repositories.
For example: you bump libfoo, which provides new library, the SPM forces
you to rebuild foouser, which uses libfoo. You put both into a testing
repository but then you only move foouser to the base repository without
realizing the potential breakage users could run into.
However, since there can be false positives, this routine cannot block
you from doing this mistakes.
Please note that the base repository is the first listed in server.conf
and will always be considered as self-contained, meaning that all the
dependencies and sonames must be available within the same.
The code first tries to resolve the soname inside the same repository,
then falls back to other ones, if any.
2011-08-04 16:39:16 +02:00
Fabio Erculiani 1489bfedba Release Entropy 1.0_rc32 2011-08-04 10:26:04 +02:00
Fabio Erculiani 92c599b928 [€ntropy.server] trivial output tweak 2011-08-03 09:54:44 +02:00
Fabio Erculiani 4edb7cb848 Release Entropy 1.0_rc31 2011-08-03 09:41:57 +02:00
Fabio Erculiani e1eefb57ab [entropy.spm] when calling add_packages_to_repository(), pass proper ask= value based on etpUi['interactive']
This is required by non-interactive packages that expect no real
interactivity by implicit actions taken by Entropy routines, such
as package_names_update() called whenever a package gets renamed or
slot-moved.
2011-08-02 23:14:23 +02:00
Fabio Erculiani 01a1b18250 [entropy.const] add etpUi['interactive'] global setting 2011-08-02 23:13:53 +02:00
Fabio Erculiani 51cd80cb9d Release Entropy 1.0_rc30 2011-08-02 19:47:04 +02:00
Fabio Erculiani 09db576b3a [entropy.server] fix super() usage 2011-08-02 17:37:19 +02:00
Fabio Erculiani 44dc33121b [entropy.server] improve missing dependencies QA tests 2011-08-02 17:31:52 +02:00
Fabio Erculiani 3258b7f4bc Release Entropy 1.0_rc29 2011-08-02 08:22:31 +02:00
Fabio Erculiani 0e4c6e2ed8 [entropy.server] fix typo 2011-08-02 08:20:33 +02:00
Fabio Erculiani 24fb3c4419 [entropy.server] properly test base repository against missing deps 2011-08-02 08:16:36 +02:00
Fabio Erculiani 10bb393128 [entropy.server] dependencies_test: restore original behaviour, making possible to exploit more use cases 2011-08-02 08:12:57 +02:00
Fabio Erculiani 7f544dfa2f Release Entropy 1.0_rc28 2011-08-02 07:29:11 +02:00
Fabio Erculiani eb90a2f4b9 [entropy.spm.skel] update docstring for generate_package() 2011-08-01 11:06:28 +02:00
Fabio Erculiani ea7e5af4c1 [entropy.tools] acquire_entropy_locks: make it modular, add acquire_entropy_resources_locks 2011-07-30 23:02:57 +02:00
Fabio Erculiani 59db6b8dbd [entropy.const] const_setup_entropy_pid: make pid handling completely atomic and blocking (required by auto-builder) 2011-07-30 22:56:37 +02:00
Fabio Erculiani 5d1ec48fc6 [entropy.client.interfaces.methods] lock_resources: add support for blocking mode 2011-07-30 22:23:19 +02:00
Fabio Erculiani e664c7ae63 [entropy.tools] acquire_entropy_locks: remove useless duplicated call 2011-07-30 22:21:16 +02:00
Fabio Erculiani d9fad847ee [entropy.client.interfaces.methods] _create_pid_file_lock: get lock file via function call arguments 2011-07-30 22:20:19 +02:00
Fabio Erculiani 56c374de36 [entropy.const] const_setup_entropy_pid: add support for blocking entropy pid locking 2011-07-30 22:16:26 +02:00
Fabio Erculiani 3e6f43cfbe [entropy.server] when running dependencies test, always match against given list of repository identifiers 2011-07-28 18:06:30 +02:00
Fabio Erculiani 27d3275a07 [entropy.db] deprecate some ancient backward compatibility code 2011-07-28 08:07:05 +02:00
Fabio Erculiani e1e60b4c69 Release Entropy 1.0_rc27 2011-07-17 21:59:28 +02:00
Fabio Erculiani e71dfaa32c [entropy.qa] trivial speedup fix 2011-07-17 17:59:18 +02:00
Fabio Erculiani 0f84a5f6df [entropy.server] improve speed of _external_metadata_qa_hook_test by directly using str() 2011-07-17 17:52:42 +02:00
Fabio Erculiani b83095ee46 [entropy.*] implement automatic config files update on package name moves 2011-07-17 16:18:04 +02:00
Fabio Erculiani fdb0003544 [entropy.fetchers] UrlFetcher: if show_speed=False, do not call update() 2011-07-16 17:26:20 +02:00
Fabio Erculiani 2fa3fc020e [entropy.client.interfaces.methods] reorder_mirrors: use effective download speed instead of RTT 2011-07-16 15:58:17 +02:00
Fabio Erculiani 3ac1432689 [entropy.server] when adding missing runtime deps, make it clear how it's possible to repeat the whole editing 2011-07-15 07:53:29 +02:00
Fabio Erculiani e548df92da [entropy.server] relax constraints during repo upload, backup db only once 2011-07-15 07:18:08 +02:00
Fabio Erculiani 9ec98b966a [entropy.server] _external_metadata_qa_hook_test: do not sort values 2011-07-11 15:13:56 +02:00
Fabio Erculiani 06ba47a869 [entropy.server] do not allow KeyboardInterrupt in critical region when asking question 2011-07-10 16:21:25 +02:00
Fabio Erculiani 9af7add38d [entropy.client.interfaces.db] on repo update, if --verbose, print the list of added and removed pkgs 2011-07-10 16:14:47 +02:00
Fabio Erculiani 82411bb7a1 Release Entropy 1.0_rc26 2011-07-10 12:56:14 +02:00
Fabio Erculiani 5399119035 [entropy.client.interfaces.db] properly handle GPG signature install w/shadow repos
Shadow repositories are used to import other repos keys. So, if user
switch back to the original repo, Entropy is not able to import again
the same GPG key because gpg complains about having it already. So,
the entropy-side mapping (repo_id => key) cannot be updated easily.
Since it's impossible to reliably use gpg via fork()+exec(), it is
required to parse the current gpg key wanting to be imported, get its
fingerprint, look for repos with the same fingerprint and kill them from
the mapping. And in the end, retry the key installation.
2011-07-10 12:44:14 +02:00
Fabio Erculiani 5e1464a933 [entropy.security] RepositorySecurity: add get_key_fingerprint() 2011-07-10 12:43:26 +02:00
Fabio Erculiani 736c3ad7be [entropy.security] fix install_key() with merge_key = True 2011-07-10 12:17:14 +02:00
Fabio Erculiani 9ca0487d6f [entropy.client.interfaces.dep] tweak debug output 2011-07-10 12:13:52 +02:00
Fabio Erculiani 1d3bf0e3d2 [entropy.security] RepositorySecurity: add merge_key parameter to install_key() 2011-07-10 12:13:21 +02:00
Fabio Erculiani f722912dd2 [entropy.client.interfaces.methods] don't bug stderr with boring repository status messages if etpUi['quiet'] 2011-07-09 17:42:09 +02:00
Fabio Erculiani 6d772e4c9a Release Entropy 1.0_rc25 2011-07-09 15:50:02 +02:00
Fabio Erculiani efe9461162 [entropy.fetchers] absolutely avoid any race condition while dividing by a dynamic value that can reach 0 2011-07-09 15:47:48 +02:00
Fabio Erculiani 1b9a46ed19 [entropy.server] only print Entropy Server configuration status when etpUi['quiet'] is False 2011-07-09 12:12:34 +02:00
Fabio Erculiani 24821a70c2 Release Entropy 1.0_rc24 2011-07-08 19:54:31 +02:00
Fabio Erculiani 097daf9760 [entropy.client.interfaces] always provide plain_packages repo metadata, this fixes .etp installation 2011-07-08 19:53:55 +02:00
Fabio Erculiani 2dba38141c Release Entropy 1.0_rc23 2011-07-07 22:57:18 +02:00
Fabio Erculiani 3525011336 [entropy.server] _external_metadata_qa_hook_test: drop PKG_CONTENT, or E2BIG will be raised 2011-07-07 22:56:45 +02:00
Fabio Erculiani 21e5631c17 [entropy.server] improve output wording 2011-07-07 22:42:53 +02:00