I think adding two environment variables would do the trick. We don't
want to depend on GConf. When GSettings are available via Python we
might want to use those, but envvars are a good start imho. So:

ZEITGEIST_DEFAULT_EXTENSIONS=override the variable
_zeitgeist.engine.constants.DEFAULT_EXTENSIONS

ZEITGEIST_EXTRA_EXTENSIONS=extra extensions to load on top of the ones
specified by _zeitgeist.engine.constants.DEFAULT_EXTENSIONS

The format of these variables should just be a no-space comma separated
list of module.class names line we already have in
_zeitgeist.engine.constants.DEFAULT_EXTENSIONS. Fx adding the following
lines to my .bashrc would enable the frobnicator- and Tracker event
miner extensions:

ZEITGEIST_EXTRA_EXTENSIONS=frobnicator.zg_extensions.ZGFrobicatorExtension,tracker.zg.EventMinerExtension

-- 
Make the loading of extensions to the engine configurable
https://bugs.launchpad.net/bugs/483556
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Confirmed

Bug description:
right now the relevancy-provider is loaded by default. Unfortunately this 
extension is kind of buggy and not well tested, so in case of errors while 
loading this extension the whole engine would fail to run.
We need a configurable plugin-system for our extensions, and for now we should 
per default disable loading the relevancy provider. If this provider gets more 
stable we should easily be able to add this extension to the default extensions 
which are automatically loaded on engine initialization.



_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to