Commit Graph

5021 Commits

Author SHA1 Message Date
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
Fabio Erculiani
b58c4be66d Release Entropy 1.0_rc22 2011-07-07 15:32:29 +02:00
Fabio Erculiani
db099dff4c [entropy.db] EntropyRepositoryBase: fix wording of retrieveNeeded() 2011-07-07 15:29:44 +02:00
Fabio Erculiani
8f0879361f [entropy.server] add support for pluggable package metadata QA executable hook 2011-07-07 15:29:21 +02:00
Fabio Erculiani
12de963806 [entropy.fetchers] fix possible division by zero issue 2011-07-07 14:42:09 +02:00
Fabio Erculiani
90cb9afd74 [entropy.output] TextInterface.output: etpUi['quiet'] should not be handled that way 2011-07-04 13:12:33 +02:00
Fabio Erculiani
7fcdf9daa9 [entropy.client.interfaces.dep] add more debug output to pkgs reverse deps calculation code 2011-07-02 19:02:59 +02:00
Fabio Erculiani
b9a62ae2e5 Release Entropy 1.0_rc21 2011-07-02 14:33:31 +02:00
Fabio Erculiani
7738367b1e [entropy.spm] PortagePlugin: do not MOVE files from xpak dir to live system, but rather COPY them (further SPM phases need them) 2011-07-02 14:32:16 +02:00
Fabio Erculiani
1dcca1837d Release Entropy 1.0_rc20 2011-06-29 11:33:58 +02:00
Fabio Erculiani
02d2a2d43b [entropy.spm] PortagePlugin: add_installed_package: improve reliability even more 2011-06-29 11:33:02 +02:00
Fabio Erculiani
5d803165c3 [entropy.spm] PortagePlugin: be more atomic when moving the pkg vdb dir to destination 2011-06-29 11:26:14 +02:00
Fabio Erculiani
99747e10ed [entropy.spm] PortagePlugin: make sure to also update vdb pkg dir mtime 2011-06-29 11:08:00 +02:00
Fabio Erculiani
7fff2821c3 [tests] fix tests 2011-06-28 11:58:48 +02:00
Fabio Erculiani
5a9be7b5d4 Release Entropy 1.0_rc19 2011-06-28 11:13:32 +02:00
Fabio Erculiani
4f8bd8c92d [entropy.*] remove tagged conflicting packages support, old and dusty piece of code, we now have packages dep_rewrite feature 2011-06-28 11:12:35 +02:00
Fabio Erculiani
5358a27dfa [entropy.server] close_repositories() is called by __del__, so make sure it's fault tolerant 2011-06-28 11:09:02 +02:00
Fabio Erculiani
aa2c842324 [entropy.server] make sure to always close the repository object 2011-06-28 11:08:32 +02:00
Fabio Erculiani
1765fd4bec [entropy.client] close_repositories() is called by __del__, so make it fault tolerant 2011-06-28 11:07:55 +02:00
Fabio Erculiani
51517dcb90 [entropy.qa] move fd close() before remove() 2011-06-28 11:07:13 +02:00
Fabio Erculiani
a95270e9be [entropy.server] make possible to disable handling of repository local lock files 2011-06-26 23:05:46 +02:00
Fabio Erculiani
6eaf623c28 [entropy.server] make possible to override remote repository database directory (in order to implement push to different location) 2011-06-26 19:45:04 +02:00
Fabio Erculiani
1166757135 [entropy.client.interfaces.db] no need to return True, _do_fetch runs in a separate thread now 2011-06-26 12:19:43 +02:00
Fabio Erculiani
44fea6871a [entropy.client.interfaces.db] to avoid socket timeouts, make sure to flush all the parallel downloads before starting another chunk 2011-06-26 12:18:58 +02:00
Fabio Erculiani
583316487e [entropy.client.interfaces.db] reduce diff sync threshold from 2000 to 500 package changes 2011-06-26 12:18:18 +02:00
Fabio Erculiani
f416f976ac [entropy.const] const_debug_write: improve output (add colors) and provide thread information (as well as timestamp) 2011-06-26 12:14:19 +02:00