On Jan 9, 2014, at 5:41 PM, Mark Hammond <[email protected]> wrote:
> I sent this a little too early - the patches are totally flawed :( In > particular, resetSync() isn't the place where we should "reset" the identity > provider - startOver() in services/sync/modules/services.js looks a better > bet (which is exposed in the UI as "unlink this device"). Either way, I > think this is going to be tricky to get right. So while I'm almost certainly > going to make that patch obsolete, it would still be very helpful if you > could try and get your head around some of the issues it tries to address > (ie, determine if sync is unconfigured, configured for old sync, or > configured for new sync, and have sync re-configure itself based on the user > "unlinking" the device from a legacy account, which should them enable them > to create a new Fxa based account) > > Please just ping me if you need more clarification (I'm not expressing myself > well here :( - but note I'll be travelling for the next 36 hours or so. > This is tricky. I'm going to ask Richard to weigh in here. We touched on this briefly in: https://bugzilla.mozilla.org/show_bug.cgi?id=949260 I need to review the sync again to remind myself how it all works. -chris > Thanks, > > Mark > > On 9/01/2014 10:10 PM, Mark Hammond wrote: >> Hi Jed/Chris, >> Something you could help me out with over the next week or so is >> better integration between sync, browserid_identity and our >> requirements. 2 somewhat related issues are something along the lines of: >> >> https://github.com/mhammond/gecko-dev/commit/de07620926025bf1e542315e3e4c1405e8ddc518 >> >> >> https://github.com/mhammond/gecko-dev/commit/3291a6f7f3a21a584d807685cb01ae24f0650069 >> >> >> I hope the commit messages and the patches give some idea what I'm >> trying to do here, and given my work-week next week these 2 sub-problems >> probably aren't going to get looked at much by me. My current branch >> (where those above are from) is >> https://github.com/mhammond/gecko-dev/commits/fxa-sync >> >> Thanks! >> >> Mark >
_______________________________________________ Sync-dev mailing list [email protected] https://mail.mozilla.org/listinfo/sync-dev

