Merge lp:~thekorn/zeitgeist/flexible.engine.backend into lp:zeitgeist/0.1
Proposed by
Markus Korn
Status: | Merged |
---|---|
Approved by: | Siegfried Gevatter |
Approved revision: | 1052 |
Merged at revision: | not available |
Proposed branch: | lp:~thekorn/zeitgeist/flexible.engine.backend |
Merge into: | lp:zeitgeist/0.1 |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~thekorn/zeitgeist/flexible.engine.backend |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mikkel Kamstrup Erlandsen | Approve | ||
Siegfried Gevatter | Approve | ||
Seif Lotfy | Pending | ||
Zeitgeist Framework Team | Pending | ||
Review via email: mp+9499@code.launchpad.net |
To post a comment you must log in.
This branch implements the flexible engine framework for zeitgeist, as discussed on IRC recently. engine( ) is now in _zeitgeist.engine instead of _zeitgeist. engine. engine engine( ) either returns the running engine instance, or creates a new one. To get the type of the new engine it looks in the ZEITGEIST_ENGINE environment variable, if not set it uses a hardcoded default, which is storm for now engine/ SOMENAME_ engine. py, where SOMENAME is the type of the engine (like sqlite3, sqlite3_ querymancer, couchdb etc.)
The most important changes are:
* get_default_
* get_default_
* new engine implementations can be added by creating _zeitgeist/
* all engine tests are running using the strom engine implementation