I have a list of mozilla build ids. I want to download the source code for these builds. How can I download the source code for this specific build ids?
We are working on a research project. We want to predict whether a given build will produce a crash report or not. For this, we will need to download the source code of various builds. Could you please tell us, how to download the source code for a specific build number?
所有回复 (4)
hi, is this about regular firefox releases or nightly (pre-release) builds?
Hi Philipp, I have the build numbers for both regular releases and nightly (pre-release) builds.
for release builds you could download the sources like explained here: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Downloading_Source_Archives
for nightly you could use this tool to convert the buildid to a particular changeset/revision: https://mozilla.github.io/stab-crashes/buildid_changeset.html
and then use hg pull -r <revision>
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code
See also the Release Tags: https://hg.mozilla.org/releases/mozilla-release/tags https://hg.mozilla.org/releases https://hg.mozilla.org/mozilla-central/
Note that the Aurora builds have been discontinued and will be replaced by Beta (Dawn). https://hacks.mozilla.org/2017/04/simplifying-firefox-release-channels/ https://github.com/mozilla-l10n/localizer-documentation/blob/master/misc/aurora_faqs.md