Need to be able to migrate existing users to new bookmarks schema
Bug #724720 reported by
James Henstridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bindwood |
Fix Released
|
Medium
|
James Henstridge |
Bug Description
The new synchroniser uses a slightly different schema to the previous one (bookmarks contain pointers to their parent folders).
To cover this, we should bump the record_type_version and offer a way to migrate existing bookmarks databases.
Given the reports of bloated bookmarks databases, we should also take the opportunity to prune any bookmarks that are not reachable from the root record.
Related branches
lp:~jamesh/bindwood/migration
- Eric Casteleijn (community): Approve
- Manuel de la Peña (community): Approve
-
Diff: 1134 lines (+736/-112)9 files modifiedmodules/bindwood.jsm (+0/-111)
modules/couch.jsm (+2/-1)
modules/migration.jsm (+248/-0)
modules/sync.jsm (+18/-0)
mozmill/shared-modules/bookmarks.js (+7/-0)
mozmill/tests/test_migration.js (+425/-0)
mozmill/tests/test_sync_all.js (+14/-0)
mozmill/tests/test_sync_from_couch.js (+17/-0)
mozmill/tests/test_sync_to_couch.js (+5/-0)
Changed in bindwood: | |
milestone: | none → 1.1.0 |
importance: | Undecided → Medium |
Changed in bindwood: | |
status: | New → In Progress |
Changed in bindwood: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix merged to trunk in r40.