Bug 1846591 - [msix] Add vendor name from task configuration to repackaging command. r=gbrown,nalexander, a=RyanVM

Thunderbird will be publishing MSIX packages on the MS Store using a separate
account. The repackaging command supports setting the vendor name, but the task
configuration does not.

Differential Revision: https://phabricator.services.mozilla.com/D185075
This commit is contained in:
Rob Lemley 2023-08-07 19:18:01 +00:00
parent 15453cd02d
commit a1b66923b5
3 changed files with 8 additions and 0 deletions

View File

@ -52,6 +52,7 @@ job-template:
toolchain:
- linux64-msix-packaging
msix:
vendor: Mozilla
channel:
by-shipping-product:
devedition: aurora

View File

@ -53,6 +53,7 @@ job-template:
toolchain:
- linux64-msix-packaging
msix:
vendor: Mozilla
channel:
by-shipping-product:
devedition: aurora

View File

@ -75,6 +75,7 @@ packaging_description_schema = schema.extend(
"shipping-product",
str,
),
Optional("vendor"): str,
},
# All l10n jobs use mozharness
Required("mozharness"): {
@ -150,6 +151,8 @@ PACKAGE_FORMATS = {
"{msix-publisher-display-name}",
"--identity-name",
"{msix-identity-name}",
"--vendor",
"{msix-vendor}",
"--arch",
"{architecture}",
# For langpacks. Ignored if directory does not exist.
@ -175,6 +178,8 @@ PACKAGE_FORMATS = {
"{msix-publisher-display-name}",
"--identity-name",
"{msix-identity-name}",
"--vendor",
"{msix-vendor}",
"--arch",
"{architecture}",
# For langpacks. Ignored if directory does not exist.
@ -475,6 +480,7 @@ def make_job_description(config, jobs):
"identity-name",
"publisher",
"publisher-display-name",
"vendor",
):
resolve_keyed_by(
item=temp_job,