It turns out that there are a number of conflicts between our mobile onboarding code and the coming esr68.2.0 which we need to think about how to resolve. They stem in particular from
I pushed bug32097_00 which is tor-browser-68.1.0esr-9.0-2-build4 rebased onto gecko-dev/esr68 (Mozilla's github esr68 branch). Would you prefer this as a fixup! commit? I'm not sure the best way of solving this.
For reference, the only conflict is on Bug 25696 - Implement alpha onboarding for Tor Browser for Android and the diff with resolved conflicts is:
diff -u <(git show 3b3dbd5478641efe578054300018ec81935d4f2c) <(git show 369ed1ff2eb167eb2555125e73a05d27689c5584)
(I don't know why we have minor changes in the strings files.)
Okay, I clobbered and rebuilt, and now it is happy. Unfortunately, now we have a "Sign Up" button on the botton of all onboarding panels and the Activity Stream (#31983 (moved)) screen has a very large "Sign Up" button at the top, too. I'll fix those.
I used 22182890f20069201b37a0e8d9a849d2e54fcc25 as the new base. I reverted (in order): 484ec9407da4234000a73d2426f09de62de0274eab8797462cefdaf99d10e1981f2a168750cc697a303c1ef548d23dfd0d8aa1e9e61481c1baea02a8896fa0df588de10b22e827b8f9999c69daa9e05d1c54037a5bb7ded841b5a795041772a4571944f9a7cc5967877636728e29ea865dc46a2889b7de58a3f466a3ac73f0d11f3f3ba054173087e66a0ab5 and then rebased origin/tor-browser-68.1.0esr-9.0-3 onto the result.
I fear we may have more problems with this in the future if/when Mozilla modify the onboarding panels again. I felt resolving the merge conflict wasn't easy to review, but we can reconsider this if needed.
I pushed branch bug32097_02 based on 68.2.0esr.
Trac: Status: new to needs_review Keywords: TorBrowserTeam201910 deleted, TorBrowserTeam201910R added
Okay, I went ahead in the morning and committed the 7 backouts to get the build going but I am still trying to understand why those 7 patches got chosen given that there are a bunch of more bugs involved.
I began with only resolving merge conflicts. That got me most of the way to creating a clean build. Then I noticed the new patches added new Sync "Sign Up" buttons on the onboarding panels and Activity Stream panel. I wrote fixup patches for deleting the button on the onboarding panels and I backed out the commit for the Activity Stream. Unfortunately, this resulted in a build failure due to undefined variables resulting from the backed out patch. At this point I decided I'd try backing out all the patches needed for successfully building 68.2.0. This is why I didn't backout all commits, like Bug 1586770. The patch for that bug didn't break any functionality or introduce conflicting code changes.
I looked at the patch and we can keep it. I'll look through the other Fennec patches for 68.2.0, as well, and confirm we didn't miss anything.