Autoload extensions
Bug #592600 reported by
Mikkel Kamstrup Erlandsen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
High
|
Mikkel Kamstrup Erlandsen |
Bug Description
(Canonical hat on)
For packaging reasons it would be nice if Zeitgeist would automatically load all extensions found somewhere on the file system so that we could ship the FTS extension in a separate .deb for Unity. In theory it's possible to use the env vars there are, but that will require some nasty tricks in the package afaik.
On a more general note this feature would also make it easier for distributors to ship a clean unpatched Zeitgeist, but sill bundle their own extensions. Fx. MeeGo might want to ship the Tracker extension by default.
Related branches
lp:~zeitgeist/zeitgeist/autoload-extensions
Merged
into
lp:zeitgeist/0.1
- Markus Korn: Approve (python parts)
-
Diff: 343 lines (+115/-40)15 files modifiedMakefile.am (+5/-1)
_zeitgeist/Makefile.am (+1/-1)
_zeitgeist/engine/Makefile.am (+1/-1)
_zeitgeist/engine/__init__.py (+0/-28)
_zeitgeist/engine/extension.py (+46/-1)
_zeitgeist/engine/extensions/Makefile.am (+1/-1)
_zeitgeist/engine/main.py (+3/-3)
_zeitgeist/engine/upgrades/Makefile.am (+1/-1)
_zeitgeist/loggers/Makefile.am (+1/-1)
_zeitgeist/loggers/datasources/Makefile.am (+1/-1)
acinclude.m4 (+40/-0)
configure.ac (+5/-0)
zeitgeist-daemon.pc.in (+7/-0)
zeitgeist/__init__.py (+1/-0)
zeitgeist/_config.py.in (+2/-1)
Changed in zeitgeist: | |
status: | In Progress → Fix Committed |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |
Changed in zeitgeist: | |
milestone: | 0.4.1 → 0.5.0 |
To post a comment you must log in.
From IRC: all_extensions commandline switch for the daemon?
<thekorn> kamstrup, for the other bug, would you be happy with a --load_
I am not sure that is good enough, unless we package ZG to always launch with that. My idea was that simply installing/removing .debs determined which extensions where loaded, to maximize flexibility for ISVs. If ZEITGEIST_ DEFAULT_ EXTENSIONS where set, this should probably override the ones found on the file system.