Commit Graph

2877 Commits

Author SHA1 Message Date
Fabio Erculiani 0f83c4c5bb [entropy.client] add new Spm_class method that returns default Spm class (instead of instance) 2009-09-04 11:29:42 +02:00
Fabio Erculiani 7f5baabac0 [entropy.db] add new settings table that stores repository settings 2009-09-04 11:29:13 +02:00
Fabio Erculiani 55af7fdb8f [entropy.server] fix typo in function 2009-09-03 23:37:50 +02:00
Fabio Erculiani 6313d36751 [entropy.server] add ability to dump results to files in test_shared_objects 2009-09-03 20:54:53 +02:00
Fabio Erculiani 4780ed716a [entropy.qa] add ability to dump results to files in test_shared_objects 2009-09-03 20:54:06 +02:00
Fabio Erculiani f600a2f5a6 [entropy.client.interfaces.package] fix issues with file collisions 2009-09-02 03:00:19 +02:00
Fabio Erculiani 870f748108 [entropy.client] always remove in_branch_upgrade file when world updates returns 0 elements 2009-09-02 02:05:38 +02:00
Fabio Erculiani dba9edcb46 [entropy.client] fix world updates calculation when branch hopping 2009-09-02 01:50:23 +02:00
Fabio Erculiani 331adfe357 [entropy.client.interfaces.package] use entropy.tools module directly 2009-09-02 01:20:23 +02:00
Fabio Erculiani 2ed29e6fe6 [entropy.client.interfaces.package] import entropy.tools globally 2009-09-02 01:20:23 +02:00
Fabio Erculiani fa7a8d339a [entropy.client.interfaces.package] code cleanup 2009-09-02 01:20:23 +02:00
Fabio Erculiani 232e47821f [entropy.client] destroy infoDict, renamed to pkgmeta 2009-09-02 01:20:23 +02:00
Fabio Erculiani 0f2f66008b [entropy.client.interfaces.package] more refactoring and cleanup work 2009-09-02 01:20:23 +02:00
Fabio Erculiani 2599d19783 [entropy.client.interfaces.package] code refactoring 2009-08-31 22:08:39 +02:00
Fabio Erculiani 8a269383e8 [entropy.client] remove any entropy.spm logic from entropy.client
Any Portage-centric code has been remove from entropy.client and moved
into exported entropy.spm plugins methods. /me ftw!
2009-08-31 16:14:05 +02:00
Fabio Erculiani 7402ffac37 [entropy.spm] implement new SpmPlugin methods in PortagePlugin 2009-08-31 16:13:03 +02:00
Fabio Erculiani 6df1ec4716 [entropy.spm.plugins.skel] add other 3 mandatory methods to SpmPlugin class 2009-08-31 16:04:18 +02:00
Fabio Erculiani bb09ca782d [entropy.client.interfaces.package] general code cleanup and API change
In preparation of improved Entropy SPM support in Entropy Client
Package class, a quick code cleanup, review and API consolidation
has been run (not yet complete).
2009-08-31 14:55:46 +02:00
Fabio Erculiani a72da5db1b [entropy.spm] add support to "configure" phase to Entropy SPM PortagePlugin 2009-08-31 14:54:46 +02:00
Fabio Erculiani 1057ce65ab [entropy.spm] add missing spm phase "configure" to abstract class 2009-08-31 14:54:14 +02:00
Fabio Erculiani a41c6a6f47 [entropy.core.settings] improve class objects detection 2009-08-31 11:55:48 +02:00
Fabio Erculiani b4f7ceba89 [entropy.core] introduce SystemSettings external plugins support
:: move SystemSettingPlugin class to entropy.core.settings.plugins.skel
:: add support for external SystemSettings plugins (just like it happened
   with entropy.spm), see documentation attached
2009-08-30 20:29:33 +02:00
Fabio Erculiani 4f77cc4fa1 [entropy.core] add more doc to EntropyPluginFactory and ability to disable plugins 2009-08-30 20:01:44 +02:00
Fabio Erculiani c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani 5ab8081ab5 [entropy.qa] test_shared_objects: add the ability to whitelist paths containing broken libraries 2009-08-30 13:59:18 +02:00
Fabio Erculiani 3029144997 [entropy.tools] fix stupid complaints about __future__ imports 2009-08-30 13:18:57 +02:00
Fabio Erculiani 783451c5ba [entropy.tools] start entropy.tools polishing process 2009-08-30 13:17:44 +02:00
Fabio Erculiani 5d4cce6f14 [entropy.spm/entropy.server/entropy.client] fix regression caused by entropy.spm API change 2009-08-29 21:39:38 +02:00
Fabio Erculiani 9359693cc5 [entropy.spm] make PortagePlugin to use SpmPlugin API, major API change 2009-08-29 21:31:43 +02:00
Fabio Erculiani 7402902168 [entropy.spm] merging Entropy SpmPlugin API 2009-08-29 21:25:49 +02:00
Fabio Erculiani b322a28167 [entropy.misc] handle TypeError exception in EntropyCacher.pop (avoid interpreter shutdown issues) 2009-08-29 18:42:10 +02:00
Fabio Erculiani d4d191f03e [entropy.client] properly handle nested resources lock calls 2009-08-28 10:29:52 +02:00
Fabio Erculiani 94c95950c9 [entropy.client] fix create_pid_file_lock method 2009-08-28 10:20:14 +02:00
Fabio Erculiani 7ab37ffe42 [entropy.client] noticeboard methods stabilisation + sulfur feature
:: complete noticeboard entropy.client API and methods names
:: add "stfu" feature to Sulfur noticeboard viewer as per Ian Whyman
   request
2009-08-25 20:03:48 +02:00
Fabio Erculiani f093e4ce59 [entropy.client] add support for noticeboard in entropy.client
This commit adds NoticeBoardMixin class to entropy.client main
interface, containing noticeboard specific methods and noticeboard
userspace metadata support.
2009-08-24 15:59:44 +02:00
Fabio Erculiani 9fca54466c [entropy.db] always return dict on retrieveBranchMigration 2009-08-23 22:12:08 +02:00
Fabio Erculiani f1d67c2e37 [entropy.client] when calculating critical updates in the middle of a branch migration, return empty set 2009-08-23 18:34:32 +02:00
Fabio Erculiani 6783853982 [entropy.client] trivial fixes to subfunction 2009-08-23 18:34:10 +02:00
Fabio Erculiani 50093899d4 [entropy.const] improve const_setup_entropy_pid, return lock acquire status 2009-08-23 11:21:25 +02:00
Fabio Erculiani e666520205 [entropy.const] add const_remove_entropy_pid method 2009-08-23 11:15:36 +02:00
Fabio Erculiani 144be55371 [entropy.client*] make Entropy resources pid lock handling atomic 2009-08-23 10:50:42 +02:00
Fabio Erculiani 4b0d7e0fa4 [entropy.client] handle fooked up repos in atom_match 2009-08-23 10:07:45 +02:00
Fabio Erculiani 483af8ffd2 [entropy.client] check if file descriptor is valid in resources_remove_lock 2009-08-22 17:44:02 +02:00
Fabio Erculiani b343abce2e [entropy.client] check if branch migration/upgrade hooks have to be run before calculating updates 2009-08-22 17:43:17 +02:00
Fabio Erculiani fa5e51099f [entropy.client] add pretend argument to run_repository_post_branch_upgrade_hooks 2009-08-22 17:42:51 +02:00
Fabio Erculiani bdbc918615 [entropy.security/entropy.client] remove unwanted resources lock removal 2009-08-21 00:03:08 +02:00
Fabio Erculiani 7b12c257f6 [entropy.const] don't use immediate int in os.kill in const_pid_exists 2009-08-20 23:56:23 +02:00
Fabio Erculiani e792256e00 [entropy.client] make entropy resources lock file really atomic 2009-08-20 23:54:38 +02:00
Fabio Erculiani d75655771e [entropy.const] improve pid checking techniques, add const_pid_exists function 2009-08-20 23:54:04 +02:00
Fabio Erculiani d4fe3fea14 [entropy.client] improve entropy lock handling 2009-08-20 23:06:00 +02:00