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
Fabio Erculiani
1e4edd4e2f
[entropy.client.interfaces.repository] slightly adjust socket timeout
2009-08-20 23:06:00 +02:00
Fabio Erculiani
70903f7b6c
[entropy.tools] change default get_remote_data timeout to 5 seconds
2009-08-20 23:06:00 +02:00
Fabio Erculiani
0432a4e15a
[entropy.tools] add timeout argument to get_remote_data and add support for Python 2.6 urllib2 urlopen method
2009-08-20 23:06:00 +02:00
Fabio Erculiani
fed229a9a3
[entropy.db] some code style improvements to atomMatch
2009-08-20 14:08:07 +02:00
Fabio Erculiani
cc5ca9798a
[entropy.db] when running treeupdates, skip matches not found in repo
2009-08-20 09:00:32 +02:00
Fabio Erculiani
3b234dd82b
[entropy.db] make sure to commit after having tainted reverse deps
2009-08-19 18:09:27 +02:00
Fabio Erculiani
58a3bf2d48
[entropy.client.interfaces.methods] export get_package_groups method
2009-08-19 18:03:16 +02:00
Fabio Erculiani
e281620880
[entropy.spm.plugins] add Package Groups support to PortagePlugin
2009-08-19 18:02:47 +02:00
Fabio Erculiani
36c6978f55
[entropy.spm.plugins.factory] complete API docstrings
2009-08-19 13:14:17 +02:00
Fabio Erculiani
82d3e01bd4
[entropy.spm] make SPM backend user configurable
2009-08-19 13:11:15 +02:00
Fabio Erculiani
c77c004cbe
[entropy.spm] initial SPM support refactoring work
...
Entropy Source Package Manager support is moving to a pluggable
interface to make possible to implement different "spm" backends.
This is just an initial commit and more work needs to be done.
2009-08-19 12:59:25 +02:00
Fabio Erculiani
48759eb0b2
[entropy.client] fix issue causing buggy Portage eutils.eclass check_license to make Entropy Client hang
2009-08-18 23:02:46 +02:00
Fabio Erculiani
43ef6238c6
[entropy.spm] do not use referenced objects in function arguments
2009-08-18 23:01:53 +02:00
Fabio Erculiani
63065f46cf
[entropy.services.auth_interfaces] handle IntegrityError exceptions on phpBB3 __register()
2009-08-18 22:17:51 +02:00