Changes between Initial Version and Version 1 of Ticket #1077


Ignore:
Timestamp:
04/18/11 11:36:41 (3 years ago)
Author:
rgrp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1077

    • Property Priority changed from awaiting triage to critical
  • Ticket #1077 – Description

    initial v1  
    1010 
    1111 * The main challenge with this change is schema and data migration 
     12 
     13=== Migration === 
     14 
     15Every revisioned object has a revision_id and revision attribute. 
     16 
     17Approximate algorithm: 
     18 
     19{{{ 
     20Revision -> Changeset 
     21 
     22for revtype in [PackageRevision, ...]: 
     23    for pkgrev in package_revision: 
     24        changeset = lookupchangeset(package_revision) 
     25        ChangeObject(cset, (table, id), dictize(pkgrev)) 
     26}}} 
     27 
     28Question: 
     29   * does pkg include tags attributes or not? or we have to dictize, pkgrev, pkg2tagrev, and tag. Probably the latter.