Right now it is necessary to specify the platform option for the download script. We should make this optional so that the scraper itself can figure out what the current platform is.
mozinfo exists for this purpose: https://github.com/mozilla/mozbase/tree/master/mozinfo If there are parameters missing from mozinfo that are needed here it could be extended.
Created attachment 606259 [details] [diff] [review] Patch v1 This patch grabs a copy of the mozinfo module which is available starting with Mozmill 2.0. So we can easily exchange it later.
Comment on attachment 606259 [details] [diff] [review] Patch v1 Is there any way of having mozinfo as a dependency rather than committing it? Other than that I think this is a great enchancement. r+
No, not yet. But once we flipped to Mozmill 2 it will be automatically installed and available. Means we simply would have to remove the module from our own code base. Landed as: http://hg.mozilla.org/qa/mozmill-automation/rev/d06cd12bd37f