Commit Graph

4725 Commits

Author SHA1 Message Date
Fabio Erculiani f70b1fddc3 [entropy.db] improve code, make it more Python 3.x ready 2009-10-03 21:54:28 +02:00
Fabio Erculiani 2c564a13b6 [entropy.qa] improve code, make it more Python 3.x ready 2009-10-03 21:54:15 +02:00
Fabio Erculiani bf922c6c17 [entropy.spm] improve code, make it more Python 3.x ready 2009-10-03 21:53:58 +02:00
Fabio Erculiani f73fecea33 [entropy.xpak] improve code, make it more Python 3.x ready 2009-10-03 21:53:41 +02:00
Fabio Erculiani f2b9c045eb [entropy.server] improve code, make it more Python 3.x ready 2009-10-03 21:53:24 +02:00
Fabio Erculiani e82677839a [entropy.const] add helper function (unicode handling) 2009-10-03 21:52:48 +02:00
Fabio Erculiani 17ce7b38a0 [entropy.services] improve code, make it more Python 3.x ready 2009-10-03 21:52:13 +02:00
Fabio Erculiani 82afcd22c7 [entropy.client] improve code, make it more Python 3.x ready 2009-10-03 21:51:47 +02:00
Fabio Erculiani 10578dbf7e [entropy.services] remove unicodism 2009-10-03 20:42:12 +02:00
Fabio Erculiani 487afa2ce8 [entropy.client] make get_package_action also check for digest 2009-10-03 19:05:51 +02:00
Fabio Erculiani a4dce99e06 [entropy.client.interfaces.dep] when looking for repackaged pkgs, only consider pkg digest 2009-10-03 11:21:37 +02:00
Fabio Erculiani 7973f22c09 [entropy.client.interfaces.dep] also check for branch and digest in calculate_world_updates 2009-10-02 19:29:32 +02:00
Fabio Erculiani 8fedd189f9 [entropy.client.interfaces.dep] also pull in packages which version number matches the one installed but have been repackaged in reality 2009-10-02 19:16:47 +02:00
Fabio Erculiani 712dd17046 [entropy.output] fix small regression in askQuestion 2009-10-02 19:16:07 +02:00
Fabio Erculiani 42272520b4 [entropy.client.interfaces.dep] fix a ValueError exception issue 2009-10-02 18:48:20 +02:00
Fabio Erculiani b78f7ef42d [entropy.client] depresolver: prioritize system packages installation on depgraph 2009-10-01 21:09:59 +02:00
Fabio Erculiani 51c1fdb077 [entropy.db] add new method "getSystemPackages" 2009-10-01 19:23:50 +02:00
Fabio Erculiani 0272b2abc4 [entropy] more Python 2.6/3.x compat fixes 2009-10-01 18:59:03 +02:00
Fabio Erculiani 0b751a8314 [entropy] fix getoutput function call (it's in subprocess in Python 3.x and in commands in 2.x) 2009-10-01 18:17:17 +02:00
Fabio Erculiani c14de9c8fb [entropy.spm] PortagePlugin: add gentoolkit to PATH only once 2009-10-01 18:11:24 +02:00
Fabio Erculiani 1572d9256f [entropy.client] do not execute branch migration script if it doesn't exist 2009-10-01 18:11:02 +02:00
Fabio Erculiani 8627f83c54 [entropy.server] add missing import 2009-10-01 15:30:48 +02:00
Fabio Erculiani 49a277db7b [entropy] fix urllib support for both Python 2.6 and 3.x 2009-09-30 22:13:17 +02:00
Fabio Erculiani 54c0d11d58 [entropy.tools] make get_remote_data compatible with both Python 2.6 and 3.x 2009-09-30 20:56:46 +02:00
Fabio Erculiani d1ff90291b [entropy.output/entropy.tools] fix Python 2.6 syntax 2009-09-30 20:44:19 +02:00
Fabio Erculiani 71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani f9761e8776 [entropy.dump] port to Python 2.6 2009-09-30 19:43:50 +02:00
Fabio Erculiani 85e92ea500 [entropy] start to port to >=Python2.6/3, remove with statement import 2009-09-30 19:35:08 +02:00
Fabio Erculiani eeb538a6a8 [entropy.client.interfaces.package] os.utime() is done by entropy.tools.movefile() 2009-09-28 18:53:13 +02:00
Fabio Erculiani be6126ce5a [entropy.server] properly handle pkg revision setup ignoring self sepo 2009-09-27 08:52:32 +02:00
Fabio Erculiani 2886e5462e [entropy.client.interfaces.package] look for pkgs in same slot by removing versiontag first 2009-09-26 18:20:35 +02:00
Fabio Erculiani 71b0f8dff8 [entropy.spm] Plugin interface refactoring, move Portage stuff away from Entropy Client Trigger interface 2009-09-26 14:52:40 +02:00
Fabio Erculiani 4a8bda7612 [entropy.client.interfaces.trigger] Trigger class cleanup, preparing to move Portage stuff away from it 2009-09-26 09:57:17 +02:00
Fabio Erculiani 7708a403fa [entropy.const] always set a valid ROOT env var 2009-09-26 09:39:38 +02:00
Fabio Erculiani 2a7db1965a [entropy] fix OutputInterface.askQuestion answers handling 2009-09-26 09:18:23 +02:00
Fabio Erculiani dfdca096b1 [entropy.client.interfaces.trigger] initdisable is dangerous
initdisable trigger has been very dangerous (and bound to Gentoo
specific stuff). Removing it avoids having weird troubles with
system services being accidentally removed. If this will cause
unclean boot, issues have to be solved via branch migration scripts.
2009-09-26 01:43:15 +02:00
Fabio Erculiani 8278b5e8ee [entropy.client.interfaces.trigger] fix initdisable trigger metadata collection 2009-09-26 01:40:59 +02:00
Fabio Erculiani fed13cc631 [entropy.client.interfaces.trigger] start to cleanup trigger module, move spm stuff to spm 2009-09-26 01:36:03 +02:00
Fabio Erculiani 53b49f6614 [entropy.client.interfaces.package] update utime on file install 2009-09-26 01:35:36 +02:00
Fabio Erculiani 4e66c9ed25 [entropy.client.interfaces.trigger] add workaround for buggy Portage linux-info.eclass 2009-09-25 22:35:54 +02:00
Fabio Erculiani d9f440cc08 [entropy.services.ugc] make socket setup fault tolerant 2009-09-24 16:19:03 +02:00
Fabio Erculiani c221305636 [entropy.client.services.ugc] fine tune timeout settings 2009-09-24 16:18:04 +02:00
Fabio Erculiani b0e08df721 [entropy.services.ugc] do not hang on connect() if server is not available 2009-09-24 16:10:13 +02:00
Fabio Erculiani 6da943a93b [entropy.db] when validating cache, also check cached objects type 2009-09-23 11:08:57 +02:00
Fabio Erculiani 58d796d438 [entropy.tools] improve isnumber function 2009-09-23 11:08:36 +02:00
Fabio Erculiani d658f8881b [entropy.server] fine tune revision across repos handling 2009-09-20 23:47:39 +02:00
Fabio Erculiani bb947f1f42 [entropy.spm] PortagePlugin: remove annoying QA warnings 2009-09-20 20:48:43 +02:00
Fabio Erculiani 7f49cf7a9b [entropy.client.ugc] do not spam terminal with bad received data 2009-09-20 18:42:03 +02:00
Fabio Erculiani bd50ba97a2 [tests] set TEXTDOMAINDIR before loading Entropy 2009-09-20 18:38:47 +02:00
Fabio Erculiani 1c4402f06a [entropy.db] use "LIMIT 1" in SQL queries 2009-09-20 18:31:43 +02:00