Commit Graph

3462 Commits

Author SHA1 Message Date
Fabio Erculiani 974b8b34f4 [entropy.db] EntropyRepository: add __repr__, __str__ and __unicode__ methods 2010-01-09 20:55:44 +01:00
Fabio Erculiani a7cde7b08a [entropy.cache] EntropyCacher: grow cache sync object chunk size by 3x 2010-01-09 18:15:38 +01:00
Fabio Erculiani 57b87f0c42 Revert "[entropy.dump] effectively sync filesystem for written files"
This reverts commit cda58f4155.
2010-01-09 10:32:30 +01:00
Fabio Erculiani a2d6e75ad5 [tests] add EntropyRepository cache storage tests 2010-01-09 01:06:59 +01:00
Fabio Erculiani 80545362a8 [entropy.cache] EntropyCacher: sync() method will run synchronously 2010-01-09 01:05:56 +01:00
Fabio Erculiani cda58f4155 [entropy.dump] effectively sync filesystem for written files 2010-01-09 01:05:14 +01:00
Fabio Erculiani 5f8b4fbc90 [entropy.security] fix undefined variable 2010-01-08 21:16:47 +01:00
Fabio Erculiani e1a27dedb5 [entropy.const] rename smart applications extension to ".app" 2010-01-08 12:24:02 +01:00
Fabio Erculiani 11657e25d2 [entropy.client.services.ugc] fix UGC cache handling (caused PermissionDenied exceptions) 2010-01-08 09:26:47 +01:00
Fabio Erculiani cb88f3ab1c [entropy.core.settings.base] handle UGC metadata setup from split repo strings correctly 2010-01-08 08:48:29 +01:00
Fabio Erculiani bfada2a338 [entropy.db] fix EntropyRepository on disk cache writer and reader functions 2010-01-07 11:01:30 +01:00
Fabio Erculiani e3fef812b6 [entropy.const] add const_get_caller and const_get_stack functions 2010-01-07 11:00:21 +01:00
Fabio Erculiani 066c36c8cf [entropy.client.interfaces.cache] for some reasons this commit was eaten somewhere (fix clear_cache) 2010-01-07 07:36:13 +01:00
Fabio Erculiani 0994cb05fc [entropy.client.interfaces.cache] add new method is_ugc_cached() 2010-01-06 20:56:06 +01:00
Fabio Erculiani 5c5fe80b6f [entropy.client.services.ugc] port some more code to Python3 string type madness 2010-01-06 20:55:38 +01:00
Fabio Erculiani 5cb088e8c9 [entropy.cache] introduce new class, MtimePingus :-) 2010-01-06 20:55:03 +01:00
Fabio Erculiani d63871e38d [entropy.misc] LogFile: deal with closed files on write 2010-01-06 19:51:01 +01:00
Fabio Erculiani f9f0051023 [entropy] merge some changes around (blame git for the mess) 2010-01-06 19:25:39 +01:00
Fabio Erculiani 406c880091 [entropy.client.services.ugc.interfaces] code style update 2010-01-06 19:07:47 +01:00
Fabio Erculiani c12275838a [entropy.services.ugc] update error reporting email 2010-01-06 19:07:18 +01:00
Fabio Erculiani c92fe7de13 [entropy.client.services.ugc] when retrieving repository metadata, also look through excluded ones 2010-01-06 11:08:37 +01:00
Fabio Erculiani da5fe28b71 [entropy.cache] EntropyCacher: reset excepthook when running inside child process 2010-01-06 10:39:51 +01:00
Fabio Erculiani 4691369df3 [entropy.core.settings.base] SystemSettings._repositories_parser: metadata filter is done at the end 2010-01-06 08:58:52 +01:00
Fabio Erculiani b5ec1f0276 [entropy.fetchers] when loading URLs with urllib, catch ValueError exceptions too 2010-01-06 01:21:10 +01:00
Fabio Erculiani 01a0b22dd1 [entropy.core.settings.base] SystemSettings._repositories_parser, validate repository db URL parameter 2010-01-06 01:17:06 +01:00
Fabio Erculiani 372a906982 [entropy.cache] disable some debugging output for now 2010-01-05 22:20:28 +01:00
Fabio Erculiani 9350594954 [entropy.cache] EntropyCacher: avoid threading issues when dealing with the list of current child processes 2010-01-05 16:52:59 +01:00
Fabio Erculiani ee458d5de5 [entropy.cache] EntropyCacher now uses multi-processing (on modern CPUs, performances skyrocket) 2010-01-05 14:53:57 +01:00
Fabio Erculiani ab7ab22029 [entropy.cache] add --debug support to EntropyCacher 2010-01-05 12:46:20 +01:00
Fabio Erculiani be13e5eee4 [entropy.cache] remove debugging output 2010-01-05 12:41:44 +01:00
Fabio Erculiani b284a39b04 [entropy.cache] improve EntropyCacher, make it working over multiple processes, do not use thread locks, change API 2010-01-05 12:39:46 +01:00
Fabio Erculiani 3c3de3395d [entropy.spm] PortagePlugin: fix issue that caused pkg_postrm, pkg_prerm to not run due to missing portage_tmpdir directory 2010-01-05 12:05:07 +01:00
Fabio Erculiani 0be7f9f258 [entropy.tools] add very important code that was missing 2010-01-05 10:36:42 +01:00
Fabio Erculiani bf21c51d90 [entropy.db] fix typo in comment 2010-01-05 09:57:28 +01:00
Fabio Erculiani 3ed9c1b180 [entropy.client.services.ugc] do not annoy user if password can't be saved on-disk 2010-01-04 23:07:03 +01:00
Fabio Erculiani 63c7f5ce73 [entropy.client.services.ugc] catch IOError when it's impossible to save password data 2010-01-04 22:18:04 +01:00
Fabio Erculiani c636ec1922 [entropy.client.interfaces.dep] when calculating critical updates, use "relaxed_deps" algo 2010-01-04 17:51:47 +01:00
Fabio Erculiani ca32c9cbaa [tests] update txc standalone test 2010-01-04 14:09:38 +01:00
Fabio Erculiani 3b87f4ff01 [entropy.transceivers] EntropySshUriHandler: download/upload functions are now atomic 2010-01-04 14:08:35 +01:00
Fabio Erculiani 191ad0910e [entropy.transceivers] define a common EntropyTransceiver temporary files extension 2010-01-04 14:08:08 +01:00
Fabio Erculiani deb2aebe3c [entropy.transceivers] EntropySshUriHandler: fix timeout handling 2010-01-04 09:37:53 +01:00
Fabio Erculiani 04267f1fb2 [entropy.const] convert None types correctly in const_convert_to_rawstring 2010-01-04 00:34:02 +01:00
Fabio Erculiani d25f05feb4 [entropy.security] add GPG support 2010-01-04 00:25:10 +01:00
Fabio Erculiani 91626d9039 [entropy.client.interfaces.repository] make possible to disable GPG via env 2010-01-04 00:24:39 +01:00
Fabio Erculiani 6d89177836 [entropy.client] move UGC information storage outside the main entropy lib 2010-01-03 23:18:41 +01:00
Fabio Erculiani df1829e076 [entropy.client] inform UGC that we just updated a repo 2010-01-03 23:05:49 +01:00
Fabio Erculiani 404911da87 [entropy.security] rename fetch_advisories() into sync(), add more docs and small fixes 2010-01-03 22:33:38 +01:00
Fabio Erculiani 4122451557 [entropy.services] remove unused UGC command 2010-01-03 22:32:11 +01:00
Fabio Erculiani fa8cbd69f5 [entropy.transceivers] EntropySshUriHandler: add timeout handling 2010-01-03 17:30:08 +01:00
Fabio Erculiani 57ead71eef [entropy.client] some initial code cleanup and style update 2010-01-03 12:51:46 +01:00