Mozilla application downloader released

This week part of the Automation Tools team have gathered at the London Mozilla Space to work on migrating our Firefox automated UI tests to Mozmill 2.0. A considerable part of this work is converting our automation scripts repository, which contains a number of packages that should really be dependencies. Our intention is to take these packages and either merge them to the appropriate mozbase packages, or configure them as suitable packages in their own right.

The first of these packages to be released independently is our impressive download script, which can be used to download a variety of Firefox or Thunderbird builds. We’ve appropriately name it mozdownload, and have released it on PyPI, and the repository can be found on github.

You can install it using pip install mozdownload or easy_install mozdownload and use mozdownload -h for a full list of command line options. A couple of simple examples are provided below:

To download the latest official Firefox release for your platform:

mozdownload -a firefox -v latest

To download the latest official Thunderbird release for your platform:

mozdownload -a thunderbird -v latest

Of course we don’t just use this to download the official releases. You can also download latest (or specific) builds from any of the channels with daily builds. Here are a few more examples for daily builds:

To download the Firefox Nightly build from 23rd May 2012:

mozdownload -a firefox -t daily --branch=mozilla-central --date=2012-05-23

To download the latest Thunderbird Daily build:

mozdownload -a thunderbird -t daily --branch=comm-central

For Firefox there are daily builds for the mozilla-central and mozilla-aurora branches. For Thunderbird these are comm-central and comm-aurora.

Candidate builds can also be downloaded, so for example if you wanted to test a candidate build for the fourth beta of Firefox 13 you could use the following:

mozdownload -a firefox -t candidate -v 13.0b4

Finally, you can also download Tinderbox builds. For example, to download the latest tinderbox build use:

mozdownload -a firefox -t tinderbox

If you have any feature requests or find any issues please use github’s issue tracker.

Happy downloading!

4 thoughts on “Mozilla application downloader released”

    1. Hey Pascal,

      You can specify the locale using the -l or –locale command line option. For example, to download an es-ES localized Firefox 12 you would use:

      mozdownload -v 12.0 -l es-ES

Leave a Reply to pascal Cancel reply

Your email address will not be published. Required fields are marked *