Axel Hecht Mozilla in Your Language

April 14, 2008

L10n buildbots builds, the first quarter

Filed under: L10n,Mozilla — Axel Hecht @ 9:37 am

The current setup of my l10n buildbot is running for 3 months now, or a quarter. I figured that’d be a good time to do some stats.

In these three months, the l10n server ran about 10600 builds, 10416 of those on trunk. Of the latter, 2330 builds succeeded, 8086 failed (fun number pun). The total amount of build time during these three months was merely 3 days, the rest of the day it was just pounding bonsai-l10n and slacking.

The mean response time, that is, the time between the change that bonsai shows and the end of the build is 3-4 minutes, with the following distribution

Histogram of build lags

The lags go as high up as almost 2 hours, the really big jumps seem to be problems on bonsai-l10n, there are a few builds taking 20-30 minutes due to slowness in cvs check-outs. I’m not showing some 36 builds in the diagram above. But the histogram shows nicely, you should in general be done within 10 minutes, and even if the build didn’t do langpacks on linux but full repacks on windows, I would expect a similar reponsiveness on comparable hardware to the l10n server.

The bad news is, the code is mostly non-reviewed, and should use a pending feature for buildbot, custom build properties. Otherwise, reconfig will never work.

April 8, 2008

# Localization note (netError.dtd): overrides

Filed under: L10n,Mozilla — Axel Hecht @ 5:33 am

I thought I knew what we did for netError.xhtml and netError.dtd, but I didn’t, so here’s a little thing I learned today:

netError.xhtml loads 3 DTDs, one for xhtml, one is netError.dtd (global) and one is global.dtd (for RTLishness). Two boring ones, one interesting. Now, what we used to do is that browser would override the global netError.dtd (which is in the dom module) with its own version. Not anymore, global netError.dtd now imports global’s netErrorApp.dtd and that is then overriden, by, guess, right, netError.dtd in browser.

Lesson learned: if you’re hunting parsing errors in Firefox net error pages, you have to check both netError.dtd files for syntax errors, but not netErrorApp.dtd.

April 1, 2008

Wisdom of machine translation

Filed under: Mozilla — Axel Hecht @ 3:21 am

At times machine translations achieve results that no human could word that well. This is what google language tools have to say about fixing stuff on short timelines:

We are using everybody’s frustrated, Sorry.

Found here.

Powered by WordPress