Changes between Version 1 and Version 2 of Ticket #1077
- Timestamp:
- 05/02/11 11:01:19 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1077 – Description
v1 v2 6 6 * Easier support for pending state and similar behaviour 7 7 * Almost identical API 8 9 Disadvantages: 10 11 * Difficult to query revision history. Currently we have a way of finding out the diffs of particular packages. These diffs *include* changes to objects associated with packages (i.e a resource attached to a package). With the new model the only way to get this information is by looking in the json stored in the change object which is very awkward. 12 13 * Does not give us anything extra if we simplify our use of vdm currently. (see alternative below) 14 15 * A large change to database structure needs to happen. 8 16 9 17 == Implementation == … … 28 36 Question: 29 37 * does pkg include tags attributes or not? or we have to dictize, pkgrev, pkg2tagrev, and tag. Probably the latter. 38 39 == Alternative == 40 41 Instead of restructuring the whole of the database to fit the new changeset model just simplifying our use of the current vdm by removing stateful list/dicts and handling this state ourselves in the logic layer could be adequate. The vdm would then be just a simple copy on write mechanism at the table level. This seems to cover all advantages/disadvantages above.