Commit Graph

2893 Commits

Author SHA1 Message Date
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
Fabio Erculiani
95fa271712 [entropy.i18n] trivial fixes to TEXTDOMAINDIR support 2009-09-06 21:09:23 +02:00
Fabio Erculiani
9b46f0fd8a [entropy.const] when joining threads, wait at least 120 seconds 2009-09-05 19:26:20 +02:00
Fabio Erculiani
a23e010c82 [entropy.client.interfaces.package] do not remove resources lock twice 2009-09-05 18:47:56 +02:00
Fabio Erculiani
b2149f5660 [entropy] ditch os.F_OK everywhere 2009-09-05 14:35:55 +02:00
Fabio Erculiani
c469afeff7 [entropy] use sys.getfilesystemencoding() with care 2009-09-05 13:10:48 +02:00
Fabio Erculiani
7022da3e3a [entropy.db] fix two potential iteration issues on dict objects 2009-09-04 16:17:05 +02:00
Fabio Erculiani
9381c76937 [entropy.spm] properly import entropy.tools in portage_plugin module 2009-09-04 11:40:22 +02:00
Fabio Erculiani
1399f64563 [entropy.client] use repository db settings feature to determine repository system arch 2009-09-04 11:34:03 +02:00
Fabio Erculiani
dad542e219 [entropy.client] move Portage related stuff in entropy.client to entropy.spm PortagePlugin 2009-09-04 11:31:48 +02:00
Fabio Erculiani
c83e8a451c [entropy.spm] implement new SpmPlugin methods in PortagePlugin class 2009-09-04 11:31:39 +02:00
Fabio Erculiani
b9f9f651d0 [entropy.spm] implement two new methods in SpmPlugin class prototypes 2009-09-04 11:30:09 +02:00
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