Commit Graph

2938 Commits

Author SHA1 Message Date
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
Fabio Erculiani 054c82cc0e [tests] fix aspell-es package to work with latest changes in metadata extractor 2009-09-11 11:29:09 +02:00
Fabio Erculiani 055a70b9cb [entropy.spm] PortagePlugin: actually extract package to read provided_libs metadata 2009-09-11 11:29:09 +02:00
Fabio Erculiani efd38bacad [entropy.tools] add FIXME to function 2009-09-11 11:29:09 +02:00
Fabio Erculiani 2dcde6d3f8 [entropy.client.interfaces.dep] add library drops feature in dep calculator 2009-09-11 11:29:09 +02:00
Fabio Erculiani 0d0ef528c9 [entropy.db/entropy.spm] new entropy pkg metadata called "provided_libs"
"provided_libs" contains a list of libraries (including elf classes)
that package provides. This commit adds complete entropy.spm and
entropy.db support.
2009-09-11 11:29:09 +02:00
Fabio Erculiani 866e997c67 [entropy.tools] do not use ".tbz2" but etpConst['packagesext'] 2009-09-11 11:29:08 +02:00
Fabio Erculiani e03eb4b181 [entropy.db] fix listConfigProtectEntries SQL query to make it not pull in unused protect metadata 2009-09-10 17:05:44 +02:00
Fabio Erculiani e62b1cde65 [entropy.tools] partial code review and API documentation merge 2009-09-07 15:29:41 +02:00