mobile_l10n module

mobile_l10n.py

This currently supports nightly and release single locale repacks for Android. This also creates nightly updates.

class mobile_l10n.MobileSingleLocale(require_config_file=True)[source]

Bases: mozharness.mozilla.mock.MockMixin, mozharness.mozilla.l10n.locales.LocalesMixin, mozharness.mozilla.release.ReleaseMixin, mozharness.mozilla.signing.MobileSigningMixin, mozharness.base.transfer.TransferMixin, mozharness.mozilla.tooltool.TooltoolMixin, mozharness.mozilla.buildbot.BuildbotMixin, mozharness.mozilla.purge.PurgeMixin, mozharness.base.vcs.vcsbase.MercurialScript, mozharness.mozilla.updates.balrog.BalrogMixin

add_failure(locale, message, **kwargs)[source]
checkout_tools()[source]
clobber()[source]
config_options = [[['--locale'], {'action': 'extend', 'dest': 'locales', 'type': 'string', 'help': 'Specify the locale(s) to sign and update'}], [['--locales-file'], {'action': 'store', 'dest': 'locales_file', 'type': 'string', 'help': 'Specify a file to determine which locales to sign and update'}], [['--tag-override'], {'action': 'store', 'dest': 'tag_override', 'type': 'string', 'help': 'Override the tags set for all repos'}], [['--user-repo-override'], {'action': 'store', 'dest': 'user_repo_override', 'type': 'string', 'help': 'Override the user repo path for all repos'}], [['--release-config-file'], {'action': 'store', 'dest': 'release_config_file', 'type': 'string', 'help': 'Specify the release config file to use'}], [['--key-alias'], {'help': 'Specify the signing key alias', 'dest': 'key_alias', 'choices': ['nightly', 'release'], 'default': 'nightly', 'action': 'store', 'type': 'choice'}], [['--this-chunk'], {'action': 'store', 'dest': 'this_locale_chunk', 'type': 'int', 'help': 'Specify which chunk of locales to run'}], [['--total-chunks'], {'action': 'store', 'dest': 'total_locale_chunks', 'type': 'int', 'help': 'Specify the total number of chunks of locales'}]]
pull()[source]
query_abs_dirs()[source]
query_apkfile_path(locale)[source]
query_base_package_name()[source]

Get the package name from the objdir. Only valid after setup is run.

query_buildid()[source]

Get buildid from the objdir. Only valid after setup is run.

query_is_release()[source]
query_repack_env()[source]
query_revision()[source]

Get revision from the objdir. Only valid after setup is run.

query_upload_env()[source]
query_upload_url(locale)[source]
query_version()[source]

Get the package name from the objdir. Only valid after setup is run.

repack()[source]
setup()[source]
submit_to_balrog()[source]
summary()[source]
upload_repacks()[source]