Files
firefox/python
Bastien Orivel 4533a26079 Bug 1997143 - Properly name XPI files in the langpack RPM packages. r=releng-reviewers,jcristau
Firefox expects XPI files in `distribution/extensions` to be named with
their ID or it throws exceptions on startup like
`/usr/lib/firefox-nightly/distribution/extensions/[email protected]
contains an add-on with an incorrect ID`.

The previous code would use the package name but the langpack XPI ID is
actually using the remoting name (firefox/devedition) and does not
contain the track for which it was built. So we ended up with
`[email protected]` instead of
`[email protected]` for nightly builds (same issue
with beta), which prevents the langpack from loading.

Differential Revision: https://phabricator.services.mozilla.com/D270551
2025-11-04 10:33:43 +00:00
..
…
…

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025