Commit Graph

2965 Commits

Author SHA1 Message Date
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
Fabio Erculiani 128cdda2b8 [entropy.db] drop getIDPackage (not completely reliable) in favour of getIDPackages 2009-09-20 18:15:58 +02:00
Fabio Erculiani ca6ef08af8 [entropy.server] use getIDPackages instead of atomMatch 2009-09-20 17:57:33 +02:00
Fabio Erculiani 91ed0475a2 [entropy.db] implement new method getIDPackages (will replace getIDPackage which is unsafe) 2009-09-20 17:57:06 +02:00
Fabio Erculiani e00ec8258e [entropy.server] when matching atoms in db while scanning for revisions, do not use cache 2009-09-20 17:48:25 +02:00
Fabio Erculiani 899f87038e [entropy.db] when calling removePackage from handlePackage, do not cleanup metadata nor commit 2009-09-20 17:44:45 +02:00
Fabio Erculiani 11c6092ea0 [entropy.spm/entropy.const] PortagePlugin: remove etpConst['spm']['cache'] 2009-09-20 17:42:02 +02:00
Fabio Erculiani ba37681d62 [entropy.core] add Python Eggs support to EntropyPluginFactory 2009-09-20 17:28:29 +02:00
Fabio Erculiani 207f2662ea [entropy.server] properly handle package revision across multiple repos
When repo A has x11-foo/foo-1.2.3~0 and in repo B is being added the same
atom, this should get revision 1 instead of 0 so that client-side
Entropy is happy to pull in a newly created package.
2009-09-20 15:36:24 +02:00
Fabio Erculiani ef3dc98867 [entropy.db] add new method setRevision 2009-09-20 15:18:06 +02:00
Fabio Erculiani c0d1a548a5 [entropy.client.interfaces.trigger] fix issue that caused ebuild pkg_setup to not be called 2009-09-20 08:41:31 +02:00