Closed Bug 1799042 Opened 2 years ago Closed 2 years ago

Add tasks to package nightly langpack addons into Debian Packages

Categories

(Release Engineering :: Release Automation: L10N, task)

Desktop
Linux

Tracking

(firefox112 fixed)

RESOLVED FIXED
Tracking Status
firefox112 --- fixed

People

(Reporter: gabriel, Assigned: jlorenzo)

References

(Blocks 1 open bug)

Details

Attachments

(9 files)

(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details
(deleted), text/x-phabricator-request
Details

To support localization for Firefox shipped as a Debian Package we need to ship each langpack addon as a Debian Package. This is how Ubuntu and Debian support localization for Firefox Debian Packages. For examples, see these Firefox Debian Packages for the fr locale published for Ubuntu and Debian

Summary: Ship the localization langpack addons in Debian packages → Ship the langpack addons in Debian Packages to support localization in Firefox Debian Packages
Summary: Ship the langpack addons in Debian Packages to support localization in Firefox Debian Packages → Ship the langpack addons in Debian Packages to support localization for Firefox Debian Packages
Summary: Ship the langpack addons in Debian Packages to support localization for Firefox Debian Packages → Ship the langpack addons to the Mozilla archive in Debian Packages
Summary: Ship the langpack addons to the Mozilla archive in Debian Packages → Ship the nightly langpack addons to the Mozilla archive in Debian Packages
Summary: Ship the nightly langpack addons to the Mozilla archive in Debian Packages → Ship the langpack addons to the Mozilla archive in Debian Packages
Depends on: 1799187
Summary: Ship the langpack addons to the Mozilla archive in Debian Packages → Ship the nightly langpack addons to the Mozilla archive in Debian Packages

Is there a bug about Firefox debian packages, because it seems to me this one should depend on that one (why would there be l10n packages without a firefox package?)

Depends on: 1799233

Yeah, langpack .deb repackages would not be useful without a Firefox .deb repackage. I filed another bug for Firefox Debian Packages.

Depends on: 1799504
Blocks: 1799508
Type: enhancement → task
Summary: Ship the nightly langpack addons to the Mozilla archive in Debian Packages → Add tasks to package nightly langpack addons into Debian Packages
Blocks: 1799770

Thanks for filing all these bugs, :gabriel! I'd like to take a stab at this one. I'll reuse what you POC'd in bug 1799233.

Side note: I don't think we need to get the Firefox .deb package uploaded to archive.mozilla.org (bug 1799504) to get started on this bug. This repackage work can be done in parallel, in my opinion. Feel free to relink this bug if you feel otherwise 🙂

Assignee: nobody → jlorenzo
No longer depends on: 1799504

Scratch my last message, it depends on the bug 1799233 and not the beetmover task.

No longer depends on: 1799504
Depends on: 1811104
Attachment #9303738 - Attachment description: Bug 1799042 - Repackage langpack addons into Debian Packages r=gabriel → Bug 1799042 - part 1: Split repackage_deb() into several smaller functions r=gabriel
Attachment #9303738 - Attachment description: Bug 1799042 - part 1: Split repackage_deb() into several smaller functions r=gabriel → Bug 1799042 - part 1: Make deb dependencies customizable r=gabriel
Attachment #9320076 - Attachment description: Bug 1799042 - part 7: Create `mach repackage deb-l10n` command r=gabriel → Bug 1799042 - part 8: Create `mach repackage deb-l10n` command r=gabriel
Attachment #9320077 - Attachment description: Bug 1799042 - part 8: Create `repackage-deb-l10n` tasks r=gabriel → Bug 1799042 - part 9: Create `repackage-deb-l10n` tasks r=gabriel
Pushed by jlorenzo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec0ed833cd2b part 1: Make deb dependencies customizable r=gabriel https://hg.mozilla.org/integration/autoland/rev/b0e09e35cec5 part 2: Rename _extract_application_ini_data() into ..._from_directory() r=gabriel https://hg.mozilla.org/integration/autoland/rev/eef7943b9efb part 3: Create _extract_application_ini_data() which reads from input tar file directly r=gabriel https://hg.mozilla.org/integration/autoland/rev/7fc1baef050f part 4: Create _extract_langpack_metadata() to read manifest.json from XPI files r=gabriel https://hg.mozilla.org/integration/autoland/rev/721b966d03c8 part 5: Support chroot path when using debian arch "all" r=gabriel https://hg.mozilla.org/integration/autoland/rev/7884ad2251d7 part 6: Expand _get_build_variables() to support package name and description suffixes r=gabriel https://hg.mozilla.org/integration/autoland/rev/bbc28476d8d2 part 7: Allow _render_deb_templates() to ignore files r=gabriel https://hg.mozilla.org/integration/autoland/rev/e16dd3a43427 part 8: Create `mach repackage deb-l10n` command r=gabriel https://hg.mozilla.org/integration/autoland/rev/b38d2257c411 part 9: Create `repackage-deb-l10n` tasks r=gabriel
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: