Commit Graph

3473 Commits

Author SHA1 Message Date
Fabio Erculiani
eb84b60da4 [tests] remove bogus test (unreliable) 2010-01-11 17:04:05 +01:00
Fabio Erculiani
d1b123cf27 [entropy.output] start to factor out TextInterface class 2010-01-11 16:48:59 +01:00
Fabio Erculiani
82fcd1e40f [entropy.client.services.ugc] catch TimeoutError exceptions 2010-01-11 12:46:23 +01:00
Fabio Erculiani
6718939c86 [entropy.client] ban print_* calls 2010-01-11 10:32:34 +01:00
Fabio Erculiani
e58966cf31 [entropy.tools] ban print_* calls 2010-01-11 10:32:24 +01:00
Fabio Erculiani
ccc292eba4 [entropy] ban print_info calls from entropy package, create text_tools module 2010-01-11 10:29:48 +01:00
Fabio Erculiani
b535fc2663 [entropy.server] when moving pkgs from a repo to another, also pull revdeps and warn about pkgs overwrite 2010-01-11 10:17:51 +01:00
Fabio Erculiani
86f3d165ae [entropy.qa] fix docstring 2010-01-11 10:17:42 +01:00
Fabio Erculiani
cdce2d9083 [entropy.output] improve partial --help output 2010-01-11 09:50:07 +01:00
Fabio Erculiani
f187b2bf33 [entropy.output] remove ill-conceived TextInterface methods 2010-01-10 09:58:03 +01:00
Fabio Erculiani
b712fe33c1 [entropy.client] remove entropy.output.TextInterface.cycleDone and setTotalCycles calls 2010-01-10 09:56:11 +01:00
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