Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sprint planning tomorrow and FxSync on the TV

24 views
Skip to first unread message

Michiel de Jong

unread,
Jan 3, 2016, 12:19:26 PM1/3/16
to dev-fxos-sync
Happy new year everyone! :)

As discussed in Tuesday's stand-up, we have 5 days left before 2.5-TV Feature Freeze.

We will have a sprint-planning tomorrow, 10am CET / 5pm Taipei, in Fernando's Vidyo room.

I created a tv-dev branch
https://github.com/michielbdejong/gaia/tree/tv-dev to test the things we may want to land this week:

* 1232276 - Repeat sync if fetchLimit was reached
* Change limit for bookmarks from 2000 to 50 on 2.5-TV
* 1235762 - Set network timeout for TV
* Update kinto.js from https://github.com/Kinto/kinto.js/pull/299 in phone+TV

(did I forget anything?)

Due to bugs https://bugzilla.mozilla.org/show_bug.cgi?id=1232293 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1232298 I based my tv-dev branch
on 93ee67c1b886aab10799930 from 10 Nov, plus bug 1235328 ([TV][Sync] Limit the number of records fetched per collection) which was already merged to the official v2.5 branch.

You can build my tv-dev branch as follows:

* mv node_modules node_modules-bak && npm install --production
  -> On my machine, `npm install` fails due to errors in one of the devDependencies (sockit-to-me).

* make clean
  -> Running `make clean` (or at least `rm -r ./profile`) seems to be necessary because of a bug when booting while signed in to sync (I guess signing out of sync before shutdown would also suffice).

* make GAIA_DEVICE_TYPE=tv DEVICE_DEBUG=1 FIREFOX_SYNC=1 NOFTU=0
  -> If you have NOFTU := 1 in your local.mk, you will get stuck in the TV's first-time use experience, so set this to zero.
  -> Since my tv-dev branch was based on a commit from before we turned on the FIREFOX_SYNC variable in master, you have to set it explicitly.

* ./firefox/Contents/MacOS/firefox -start-debugger-server 6000 -profile `pwd`/profile -screen 1920x1080@1.3
  -> See also https://groups.google.com/forum/#!topic/mozilla.dev.fxos/uRK65KsTZVk
  -> Note that the 'OK' on the 'Enjoy your applications' screen requires a double-click

I just found a problem with my Kinto.js PR, https://github.com/Kinto/kinto.js/pull/299#issuecomment-168518138 which I'll try to fix tomorrow.

I'll try to rebase my tv-dev branch on the official v2.5 branch, and keep updating it as we fix issues. That way we can keep testing things in Mulet and make sure everything works before Feature-Freeze.


Cheers,
Michiel.

Michiel de Jong

unread,
Jan 4, 2016, 3:59:59 AM1/4/16
to dev-fxos-sync
On Sun, Jan 3, 2016 at 6:19 PM, Michiel de Jong <mbde...@mozilla.com> wrote:
Happy new year everyone! :)

As discussed in Tuesday's stand-up, we have 5 days left before 2.5-TV Feature Freeze.

We will have a sprint-planning tomorrow, 10am CET / 5pm Taipei, in Fernando's Vidyo room.

Meeting starts in one minute, in the B2G Vidyo room (not Fernando's). Come to #fxos-sync on irc.mozilla.org if you want to join and have trouble connecting.
 

Michiel de Jong

unread,
Jan 4, 2016, 7:01:18 AM1/4/16
to dev-fxos-sync
Problems from yesterday resolved - you can now run the v2.5 branch in B2GDesktop as follows (assuming Mac OS with nvm installed):

* install https://www.dropbox.com/s/gdmpuhs4amhccfd/b2g-46.0a1.en-US.mac64.dmg?dl=0 to /Applications/B2GDebug.app
* cd gaia && git checkout v2.5 && git pull
* nvm use 0.10 && mv node_modules node_modules-4.2 && npm install --production
* make clean && make GAIA_DEVICE_TYPE=tv FIREFOX_SYNC=1 DEVICE_DEBUG=1
* /Applications/B2GDebug.app/Contents/MacOS/firefox -start-debugger-server 6000 -profile `pwd`/profile -screen 1920x1080@1.3
* Use your browser's WebIDE to connect to 'Remote Runtime' (localhost:6000)
* To click buttons, use the keyboard arrow and enter keys (double-clicking also works in some places)

Cheers,
Michiel.


On Sun, Jan 3, 2016 at 6:19 PM, Michiel de Jong <mbde...@mozilla.com> wrote:
Happy new year everyone! :)

As discussed in Tuesday's stand-up, we have 5 days left before 2.5-TV Feature Freeze.

We will have a sprint-planning tomorrow, 10am CET / 5pm Taipei, in Fernando's Vidyo room.

Michiel de Jong

unread,
Jan 4, 2016, 1:45:54 PM1/4/16
to dev-fxos-sync
Also, syncing in batches of 50 (instead of all at once) is now working in my tv-dev branch, please help test it (and FxSync on the 2.5 TV in general):

https://github.com/michielbdejong/gaia/commits/tv-dev

Michiel de Jong

unread,
Jan 7, 2016, 8:15:26 AM1/7/16
to dev-fxos-sync
On Mon, Jan 4, 2016 at 1:01 PM, Michiel de Jong <mbde...@mozilla.com> wrote:
Problems from yesterday resolved - you can now run the v2.5 branch in B2GDesktop as follows (assuming Mac OS with nvm installed):

* install https://www.dropbox.com/s/gdmpuhs4amhccfd/b2g-46.0a1.en-US.mac64.dmg?dl=0 to /Applications/B2GDebug.app
* cd gaia && git checkout v2.5 && git pull
* nvm use 0.10 && mv node_modules node_modules-4.2 && npm install --production

Correction: the best versions (to also be able to run the unit tests), seem to be:
nvm use 0.12.5
npm install -g n...@2.4.1

Michiel de Jong

unread,
Jan 8, 2016, 5:54:35 AM1/8/16
to dev-fxos-sync
We decided not to merge the batched syncing. Instead, we set the fetchLimit for history to 500 on the TV (leaving it at 50 for the phone), and brought the v2.5 branch in line with master, so that it now contains the FxSync feature as we want it to ship on the Smart TV.

You can test the v2.5 branch to see it in action! Today and the coming week, we can do some manual testing on there, to see if we find any problems/bugs before QA do. :)


Cheers,
Michiel


0 new messages