Changes between Initial Version and Version 1 of Ticket #1077
- Timestamp:
- 04/18/11 11:36:41 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1077
- Property Priority changed from awaiting triage to critical
-
Ticket #1077 – Description
initial v1 10 10 11 11 * The main challenge with this change is schema and data migration 12 13 === Migration === 14 15 Every revisioned object has a revision_id and revision attribute. 16 17 Approximate algorithm: 18 19 {{{ 20 Revision -> Changeset 21 22 for revtype in [PackageRevision, ...]: 23 for pkgrev in package_revision: 24 changeset = lookupchangeset(package_revision) 25 ChangeObject(cset, (table, id), dictize(pkgrev)) 26 }}} 27 28 Question: 29 * does pkg include tags attributes or not? or we have to dictize, pkgrev, pkg2tagrev, and tag. Probably the latter.