b2g_build module

class b2g_build.B2GBuild(require_config_file=False, config={}, all_actions=['clobber', 'checkout-sources', 'checkout-gecko', 'download-gonk', 'unpack-gonk', 'checkout-gaia', 'checkout-gaia-l10n', 'checkout-gecko-l10n', 'checkout-compare-locales', 'get-blobs', 'update-source-manifest', 'build', 'build-symbols', 'make-updates', 'build-update-testdata', 'prep-upload', 'upload', 'make-socorro-json', 'upload-source-manifest', 'submit-to-balrog'], default_actions=['checkout-sources', 'get-blobs', 'build'])[source]

Bases: mozharness.mozilla.l10n.locales.LocalesMixin, mozharness.mozilla.purge.PurgeMixin, mozharness.mozilla.building.buildb2gbase.B2GBuildBaseScript, mozharness.mozilla.l10n.locales.GaiaLocalesMixin, mozharness.mozilla.signing.SigningMixin, mozharness.mozilla.mapper.MapperMixin, mozharness.mozilla.updates.balrog.BalrogMixin, mozharness.base.python.VirtualenvMixin, mozharness.base.python.InfluxRecordingMixin

all_actions = ['clobber', 'checkout-sources', 'checkout-gecko', 'download-gonk', 'unpack-gonk', 'checkout-gaia', 'checkout-gaia-l10n', 'checkout-gecko-l10n', 'checkout-compare-locales', 'get-blobs', 'update-source-manifest', 'build', 'build-symbols', 'make-updates', 'build-update-testdata', 'prep-upload', 'upload', 'make-socorro-json', 'upload-source-manifest', 'submit-to-balrog']
build()[source]
build_symbols()[source]
checkout_compare_locales()[source]
checkout_gaia_l10n()[source]
checkout_gecko_l10n()[source]
checkout_sources()[source]
clobber()[source]
config_options = [[['--gaia-languages-file'], {'dest': 'gaia_languages_file', 'help': 'languages file for gaia multilocale profile'}], [['--gecko-languages-file'], {'dest': 'locales_file', 'help': 'languages file for gecko multilocale'}], [['--gecko-l10n-base-dir'], {'dest': 'l10n_dir', 'help': 'dir to clone gecko l10n repos into, relative to the work directory'}], [['--merge-locales'], {'dest': 'merge_locales', 'help': 'Dummy option to keep from burning. We now always merge'}], [['--additional-source-tarballs'], {'action': 'extend', 'dest': 'additional_source_tarballs', 'type': 'string', 'help': 'Additional source tarballs to extract'}], [['--debug'], {'dest': 'debug_build', 'action': 'store_true', 'help': 'Set B2G_DEBUG=1 (debug build)'}], [['--base-repo'], {'dest': 'base_repo', 'help': 'base repository for cloning'}], [['--complete-mar-url'], {'dest': 'complete_mar_url', 'help': "the URL where the complete MAR was uploaded. Required if submit-to-balrog is requested and upload isn't."}], [['--platform'], {'dest': 'platform', 'help': 'the platform used by balrog submmiter.'}]]
default_actions = ['checkout-sources', 'get-blobs', 'build']
download_blobs()[source]
generate_build_command(target=None)[source]
get_blobs()[source]
get_hg_commit_time(repo_dir, rev)[source]

Returns the commit time for given rev in unix epoch time

make_socorro_json()[source]
make_updates()[source]
prep_upload()[source]
query_abs_dirs()[source]
query_application_ini()[source]
query_b2g_version()[source]
query_branch()[source]
query_build_env()[source]
query_buildid()[source]
query_complete_mar_url()[source]
query_device_outputdir()[source]
query_do_translate_hg_to_git(gecko_config_key=None)[source]
query_do_upload()[source]
query_dotconfig()[source]
query_marfile_path()[source]
query_update_channel()[source]
query_version()[source]
sign_updates()[source]
submit_to_balrog()[source]
unpack_blobs()[source]
update_source_manifest()[source]
upload()[source]
upload_source_manifest()[source]