Define content and source types in one central place

Bug #407369 reported by Markus Korn on 2009-07-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Medium
Markus Korn
0.3
Fix Released
Undecided
Unassigned

Bug Description

currently there are two places where content and source objects are defined
 * zeitgeist/datamodel.py (definition and URI abstraction)
 * _zeitgeist/engine/base.py (mapping, lookup, and caching content/source URI -> database ID)

We should change this to
 * have the URI (etc.) definition in one central place
 * make it easily possible to added new content and source types
 * allow easy lookup in the database implementation
 * there should still be a datamodel module in the public API, which knows about all definitions but nothing about the database

Markus Korn (thekorn) on 2009-07-31
Changed in zeitgeist:
assignee: nobody → Markus Korn (thekorn)
importance: Undecided → Medium
Changed in zeitgeist:
status: New → Fix Committed
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers