Friday, October 02, 2009

Installing Fennec nightly on N810

I will be helping this quarter to set up the L10n release infrastructure for mobile so I got a Nokia N810 to install localized versions when we actually have them.

In this blog post I will explain how to install a nightly deb file on your Nokia N810 (To install a nightly on Linux, Mac or Windows you can install the Fennec desktop builds - blog post to come)

The first two steps are to avoid you having to use XTerminal from your device. NOTE: You might be prompted to install
  1. Search on the Web app for "openssh maemo" or follow this link to go directly and install OpenSSH Client And Server v4.7p1-12.maemo2.
    1. You might be prompted to change the password of your "root" user. It didn't happen to me. I might have had openssh installed from before I loaned it.
  2. Search on the Web app for "homeip maemo" or follow this link to go directly and install HomeIP V0.9.1-2
    1. You have to add it to your N810's desktop by enabling it. On your desktop tap on "Home->Select applets...->HomeIP". You should now see your IP on your desktop. You are going to need this to connect to your device with SSH
  3. Make sure that your computer and your Nokia device are in the same wireless network and SSH to it by typing this:
    ssh root@
    and type the password for your root account. You should now be connected.
    1. If you don't know your password you can type "root" on your X Terminal and will grant you root privileges without a password. Read more in the "Root access" page by maemo.org
  4. Visit this link: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mobile-1.9.2/?C=M;O=D (sorted by latest modified)
    1. You want to wget the latest deb files for XulRunner and Fennec (only en-US for now). For today's blog post are:
      • xulrunner_1.9.2b1pre-20091002010458_armel.deb
      • fennec_1.0b4_armel.deb
    2. Now install first Xulrunner and then Fennec by typing this:
      • dpkg -i xulrunner_1.9.2b1pre-20091002010458_armel.deb
      • dpkg -i fennec_1.0b4_armel.deb
  5. Now every time you want to open Fennec you can go to X Terminal and type: "fennec" which should do. You can check that it is there by typing "which fennec"
You will have to repeat this every morning after the nightly builds are generated (around 2 AM PDT)

I hope this helps you since I didn't get to find any instructions for doing this but through instructions on IRC



Creative Commons License
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Saturday, August 22, 2009

en-US nightly updates for win32 not as timely as it used to be

A side effect of enabling the l10n updates is that en-US nightly builds that finish after 7AM PDT (which is when l10n nightly repackages are triggered) will take longer to receive an update offer. Specifically, this happens mainly for win32 builds since they take way longer to finish.

Currently there is only one machine that checks for pending updates to be generated and it generates them all pending jobs in one shot, pushes the snippets live and then checks again for more pending jobs.

The problem is that if the system picks X number of pending updates it will process them one by one but without pushing any snippets and partial MAR files live until it finishes with all X jobs.

Therefore, since the en-US nightly for win32 finishes after 7AM, it falls in the bucket of pending jobs and it can take two or three hours before the snippets are pushed live.

To fix this regression we have decided to have a temporary fix to our update generation system until we do the long term infrastructure changes.

To follow the work on this fix please follow the work on bug 511901.

We are really sorry for any inconvenience and we would like to have it fixed as soon as possible.



Creative Commons License
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Monday, August 17, 2009

Updates + Nightly != just en-US

We finally have updates for all the locales we support instead of just en-US. This was enabled past Tuesday (right now only for mozilla-central) but not announced until we had it completely working.

Having updates with l10n-merge allow us to update users from a working l10n nightly build to the next working nightly.
This will help localizers to create a community of nightly testers and they won't have to worry for
A) having to tell their testers to manually download the latest nightly of their locale and/or B) worry that if their testers would have a nightly with missing entities (which meant a crashing experience).

This is a really short post but it has been by no means a short ride. Chris Cooper, Axel and I have been working for the last fifteen months on this project since I started as an intern. We had to untangle the logic from old tinderbox code, port it to buildbot, make buildbot do things that was not designed to do, unveil the "dark magic" of our updates generation system and fight any build ghosts trying to take us down.

Dramatization aside big thanks to Chris and Axel for working hard with me (and having patience), John O'Duinn and Seth for supporting us, Nick Thomas for the headaches I gave him, Ben Hearsum for helping understanding our snippet generation system and anyone from the community who helped me learn what I needed to learn.Last thanks for Mike Morgan with the AUS/Mac debugging.

I hope this contributes the L10n community's success in their respective countries and towards making more people support an open web!

PS = Party tonight at my place to celebrate :)



Creative Commons License
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.