Skip to content

{ Tag Archives } AMO

Using substitution strings in .po files

A couple years ago I recommended using fake msgid’s in .po files and was, predictably, met with some argument. I suggested using this hack because there wasn’t a standard way to store context in a .po file yet.[1] Since that time msgctxt has become a standard part of gettext and makes my substitution string recommendation [...]

Also tagged , ,

Top 50 searches on addons.mozilla.org

The flight from Portland to San Jose is just about the right length to write some scripts to analyze a bunch of data, make a pretty graph, and then write a blog post drawing fairly obvious conclusions. Someone on IRC said they were interested in the top search terms being used on addons.mozilla.org so here [...]

Also tagged , ,

addons.mozilla.org Celebrates 1000 (passing) Unit Tests

We started writing unit tests for AMO a few years ago with the best of intentions. As the tests grew we started running into memory/timeout problems that prevented us from running the tests. Other priorities took over and since we couldn’t run the tests we quit writing them. The tests got put on the back [...]

Also tagged ,

The Tagging Plan for AMO

Firstly, thanks for all the great feedback. Something as seemingly simple as tagging gets complex quickly when thought out and the varied perspectives of the community are always great to have. Allowing full Unicode would let anyone use meaningful tags in their own character sets but would prevent us from offering similar matches and common [...]

Also tagged ,

Some considerations when adding Tags to AMO

Tags broke into the limelight around the time “Web 2.0″ was becoming popularized. They provided a simple but effective way to categorize objects and many sites are using them now. Despite their proliferation, I haven’t found any documentation on the internet regarding standards for implementing tags. A tag library exists for CakePHP but it, and [...]

Also tagged , ,

How addons.mozilla.org defends against XSS attacks

One of the things that gets a lot of news time these days is XSS. There are a lot of places that explain what it is and how to prevent it but most are oversimplified or don’t provide real world examples. I thought I’d explain a couple of the ways AMO attempts to prevent it. [...]

Also tagged , , ,

Add-on Statistics Status (part 2)

This is the second update about add-ons’ statistics. Read part one. Statistics for both update pings and download counts have been updated beginning with February 1 through today, February 6th. Some notes: New statistics are stored in UTC and data processing happens shortly after the logs close. This means you can expect new data at [...]

Also tagged ,

Add-on Statistics Status

Add-on statistics have been intermittent for a couple months and are just recently getting the attention they need. Our current process is to count download statistics once per day and update ping statistics once per week (update pings are a sampling of the complete set). The reliability of the script generating these statistics has been [...]

Also tagged ,

Adding context to AMO .po files

Adding context to the .po files on AMO has been one of our challenges since we started localizing the site. The solution we decided to use, place holder strings, is non-standard and can be difficult to use for someone that is used to how gettext normally works. The localization tool we’ve decided to use for [...]

Also tagged , ,

New AMO release cycle

I’ve been the lead of the AMO 3.4.x development release cycles which have been going on for about 8 weeks. During that time we’ve been a little more structured with our release schedule. The general plan has been a code freeze every other Monday at midnight and a push to production the following Thursday. This [...]

Also tagged