lp:~jamesh/bindwood/sync-all
- Get this branch:
- bzr branch lp:~jamesh/bindwood/sync-all
Branch merges
- Manuel de la Peña (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 954 lines (+578/-58)5 files modifiedmodules/sync.jsm (+142/-28)
mozmill/tests/test_sync_all.js (+195/-0)
mozmill/tests/test_sync_from_couch.js (+144/-30)
mozmill/tests/test_sync_guid_map.js (+36/-0)
mozmill/tests/test_sync_to_couch.js (+61/-0)
Branch information
Recent revisions
- 44. By James Henstridge
-
When setting a GUID on an item, first check if it has already been annotated.
If there is an existing annotation, clear it from our GUID->ID cache
since it will soon be out of date. - 43. By James Henstridge
-
Add a test demonstrating problem when importing a bookmark from CouchDB.
We create the bookmark as normal, and then annotate it with the CouchDB
record ID. Unfortunately, the bookmarks observer picks up the new
bookmark and assigns an ID too. Normally this wouldn't be a problem,
but our GUID->ID cache keeps the bogus GUID alive causing us to export
the bookmark twice. - 40. By James Henstridge
-
When pulling changes, ignore records that have an older last_modified
date than the local bookmark.Pull the rest of the synchronisation code together to do two way sync.
- 39. By James Henstridge
-
Add pushChanges() implementation and tests. Convert get_all_bookmarks()
to return an object rather than a list, for compatibility with the
observer changes list. - 36. By James Henstridge
-
Add support for mapping placesRoot to the special root_* name, and add a
function for listing all bookmarks. - 35. By James Henstridge
-
Add code to the new synchroniser for exporting local bookmark items to CouchDB.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:bindwood