Bug 1800902 - Remove comm-central from cross-channel generation, r=eemeli DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D162201
This commit is contained in:
Francesco Lodolo (:flod) 2022-11-17 12:11:40 +00:00
parent ec76a72706
commit 3c01cd430a
2 changed files with 7 additions and 30 deletions

View File

@ -13,7 +13,7 @@ Content Sources
---------------
The content of each revision in ``gecko-strings`` corresponds to a given
revision in each original repository. For example, we have
revision in each original repository. For example, we could have
+------------------+--------------+
| Repository | Revision |
@ -35,20 +35,16 @@ revision in each original repository. For example, we have
| comm-esr68 | d05d4d87d25c |
+------------------+--------------+
At this point, there's no content that's shared between ``mozilla-*`` and
``comm-*``. Thus we can just convert one repository and its branches at a time.
The assumption is that there's no content that's shared between ``mozilla-*`` and
``comm-*``, so we can just convert one repository and its branches at a time.
Covered Content
---------------
Which content is included in ``gecko-strings`` is
controlled by the project configurations of each product, on each branch.
At this point, those are
* :file:`browser/locales/l10n.toml`, :file:`mobile/android/locales/l10n.toml`
in ``mozilla-central``, and
* :file:`mail/locales/l10n.toml`, :file:`calendar/locales/l10n.toml`, and
:file:`suite/locales/l10n.toml` in ``comm-central``.
Currently, those are :file:`browser/locales/l10n.toml` and
:file:`mobile/android/locales/l10n.toml` in ``mozilla-central``.
Created Content Structure
-------------------------
@ -77,8 +73,8 @@ which we strip, they're added to the dedicated :file:`_configs` folder.
.. code-block:: bash
$ ls _configs
browser.toml devtools-client.toml mail.toml suite.toml
calendar.toml devtools-shared.toml mobile-android.toml toolkit.toml
browser.toml devtools-client.toml devtools-shared.toml
mobile-android.toml toolkit.toml
L10n File Contents

View File

@ -46,25 +46,6 @@ def get_default_config(topsrcdir, strings_path):
"mobile/android/locales/l10n.toml",
],
},
"comm-central": {
"path": topsrcdir / "comm",
"post-clobber": True,
"url": "https://hg.mozilla.org/comm-central/",
"heads": {
# This list of repositories is ordered, starting with the
# one with the most recent content (central) to the oldest
# (ESR). In case two ESR versions are supported, the oldest
# ESR goes last (e.g. esr78 goes after esr91).
"comm": "comm-central",
"comm-beta": "releases/comm-beta",
"comm-esr102": "releases/comm-esr102",
},
"config_files": [
"comm/calendar/locales/l10n.toml",
"comm/mail/locales/l10n.toml",
"comm/suite/locales/l10n.toml",
],
},
},
}