Closed Bug 1815767 Opened 2 years ago Closed 2 years ago

shippable-l10n-pre completely ignores browser/locales/l10n-changesets.json

Categories

(Thunderbird :: Build Config, defect, P1)

Thunderbird 102

Tracking

(thunderbird_esr102 fixed, thunderbird110 wontfix, thunderbird111 affected)

RESOLVED FIXED
111 Branch
Tracking Status
thunderbird_esr102 --- fixed
thunderbird110 --- wontfix
thunderbird111 --- affected

People

(Reporter: rjl, Assigned: rjl)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

While working on bug 1810727, I found that comm_desktop_l10n.py does not take browser/locales/l10n-changesets.json into account when cloning the l10n-central repositories. The "default" revision is always used.

It's surprising that no localization bugs have appeared as a result. (Yay cross-channel works!)

Affects beta and esr102.

In order for pull_locale_source() to retrieve the correct revisions from the
various l10n-central repositories, self.l10n_revisions needs to be populated
with the data in browser/locales/l10n-changesets.json. That file was never
read, so self.l10n_revisions was an empty dict. That being the case,
pull_locale_source() helpfully fell-back to using "default" as the revision.

The fix turns out to be pretty simple, calling self.parse_locales_file()
with browser/locales/l10n-changesets.json fills in self.l10n_revisions with
all of the revisions. Then pull_locale_source() works as expected.

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/cb65c61083d4
strings from l10n-central are pulled with incorrect revision. r=thunderbird-build-system-reviewers,dandarnell

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

Comment on attachment 9316653 [details]
Bug 1815767 - strings from l10n-central are pulled with incorrect revision. r=#thunderbird-build-system-reviewers

[Triage Comment]
Approved for 102.8.0, verified with wsmwk via Matrix.

Attachment #9316653 - Flags: approval-comm-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: