Commit Graph

2946 Commits

Author SHA1 Message Date
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
Fabio Erculiani 46c136370a [entropy.client] rename add_tbz2_to_repos to add_package_to_repos 2009-09-16 17:55:38 +02:00
Fabio Erculiani f01efbf124 [entropy.const] etpSys cleanup, ditched unused keywords and dirstoclean 2009-09-16 17:52:42 +02:00
Fabio Erculiani a1fc877434 [entropy.misc] LogFile, properly deal with /dev/null 2009-09-16 18:12:33 +02:00
Fabio Erculiani d56fbc93ac [entropy.tools] more docstrings merged 2009-09-16 13:33:20 +02:00
Fabio Erculiani 72cb6ac6ed [entropy.const] pull HTTP_PROXY and FTP_PROXY env variables to fill etpConst['proxy'] 2009-09-16 13:33:20 +02:00
Fabio Erculiani 161a8ea2b4 [entropy.spm] improve kernel automagic dep add code 2009-09-15 22:39:19 +02:00
Fabio Erculiani 730b956684 [entropy.spm] PortagePlugin: properly detect kernel packages 2009-09-15 21:35:08 +02:00
Fabio Erculiani 25307f8ee0 [entropy.spm] handle KeyError exceptions on remove_installed_package when calling get_installed_package_metadata() 2009-09-15 08:34:18 +02:00
Fabio Erculiani 70f516af53 [entropy.client.interfaces.package] fix handling of SPM entries with tagged packages 2009-09-14 09:31:54 +02:00
Fabio Erculiani 246a4817dd [entropy.spm] new method convert_from_entropy_package_name 2009-09-14 09:31:54 +02:00
Fabio Erculiani b2fb85b93e [entropy.spm] use uncompress_tar_bz2 with catchEmpty 2009-09-11 15:05:59 +02:00
Fabio Erculiani ab0719a8b3 [entropy.client.interfaces.client] improve old_branch_path file check 2009-09-11 13:55:55 +02:00
Fabio Erculiani 0821310af1 [entropy.server/entropy.db] when creating files, set proper permission bits 2009-09-11 11:29:10 +02:00
Fabio Erculiani e3ac33270c [entropy.db] autogenerate provided_libs metadata for client/server dbs 2009-09-11 11:29:10 +02:00
Fabio Erculiani 2d6dbbba09 [entropy.services] remove buggy line 2009-09-11 11:29:10 +02:00
Fabio Erculiani 354ee5aac8 [entropy.core] remove unused variable 2009-09-11 11:29:10 +02:00
Fabio Erculiani 7d438b61b0 [entropy.db/entropy.spm/entropy.server/entropy.services] remove old "needed libraries" metadata stuff 2009-09-11 11:29:10 +02:00
Fabio Erculiani 87784d441a [entropy.spm] PortagePlugin: improve _extract_pkg_metadata_provided_libs 2009-09-11 11:29:09 +02:00
Fabio Erculiani cd3fe8f096 [entropy.db/entropy.spm] add path metadatum to provided_libs metadata 2009-09-11 11:29:09 +02:00