desktop_l10n module

desktop_l10n.py

This script manages Desktop repacks for nightly builds.

class desktop_l10n.DesktopSingleLocale(require_config_file=True)[source]

Bases: mozharness.mozilla.l10n.locales.LocalesMixin, mozharness.mozilla.release.ReleaseMixin, mozharness.mozilla.mock.MockMixin, mozharness.mozilla.buildbot.BuildbotMixin, mozharness.base.vcs.vcsbase.VCSMixin, mozharness.mozilla.signing.SigningMixin, mozharness.mozilla.purge.PurgeMixin, mozharness.base.script.BaseScript, mozharness.mozilla.updates.balrog.BalrogMixin, mozharness.mozilla.mar.MarMixin, mozharness.base.python.VirtualenvMixin, mozharness.base.transfer.TransferMixin

Manages desktop repacks

clobber()[source]
config_options = [[['--balrog-config'], {'action': 'extend', 'dest': 'config_files', 'type': 'string', 'help': 'Specify the balrog configuration file'}], [['--branch-config'], {'action': 'extend', 'dest': 'config_files', 'type': 'string', 'help': 'Specify the branch configuration file'}], [['--environment-config'], {'action': 'extend', 'dest': 'config_files', 'type': 'string', 'help': 'Specify the environment (staging, production, ...) configuration file'}], [['--platform-config'], {'action': 'extend', 'dest': 'config_files', 'type': 'string', 'help': 'Specify the platform configuration file'}], [['--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'}], [['--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'}], [['--en-us-installer-url'], {'action': 'store', 'dest': 'en_us_installer_url', 'type': 'string', 'help': 'Specify the url of the en-us binary'}]]
funsize_props()[source]

Set buildbot properties required to trigger funsize tasks responsible to generate partial updates for successfully generated locales

get_upload_files(locale)[source]
make_installers(locale)[source]

wrapper for make installers-(locale)

make_unpack_en_US()[source]

wrapper for make unpack

make_upload(locale)[source]

wrapper for make upload command

make_wget_en_US()[source]

wrapper for make wget-en-US

pull()[source]

pulls source code

query_abs_dirs()[source]
query_bootstrap_env()[source]

returns the env for repacks

query_l10n_env()[source]
query_pushdate()[source]
query_version()[source]

Gets the version from the objdir. Only valid after setup is run.

repack()[source]

creates the repacks and udpates

repack_locale(locale)[source]

wraps the logic for comapare locale, make installers and generate complete updates.

setup()[source]

setup step

submit_repack_to_balrog(locale)[source]

submit a single locale to balrog

submit_to_balrog()[source]

submit to barlog

summary()[source]

generates a summary

taskcluster_upload()[source]