Closed Bug 1748581 Opened 2 years ago Closed 2 years ago

Make l10n changesets consistent per taskcluster decision task

Categories

(Firefox Build System :: Task Configuration, enhancement)

enhancement

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: nalexander, Assigned: hneiva, Mentored)

References

Details

Attachments

(1 file)

This ticket tracks addressing https://bugzilla.mozilla.org/show_bug.cgi?id=1556162#c4. In cases where we currently checkout tip (basically, only Nightly), I propose that we checkout the tipmost l10n changeset chronologically before the current HG source changeset.

We can determine the timestamp from the epoch (UTC) via the "internal HG time representation" of the current HG source changeset using:

$ hg export -r . --template '{word(0, date|hgdate)}'
1639523310

We can checkout the appropriate changeset with:

$ hg update --date '<1639523310 0'
...

Don't we have some automated thing that updates a list of changesets in tree for beta/release/esr? Is there a reason not to use the same thing on central?

Also, note that for autoland->central merges that are simple fast-forwards (most of them), the date of the tip changeset is the date of a changeset as landed by lando, and lando uses some date from phabricator, which can actually be of any age.

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Task Configuration' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Task Configuration

We are running l10n-bumper on central. We hit this block because this block doesn't include an l10n-repo-url. This means the revision to pull falls back to default.

We can add the l10n-repo-url, in which case we'll push a new l10n-bumper commit once per day on central if there are any new strings, pinning locale checkouts to a specific revision. (Currently we only push an l10n-bumper commit on central if a locale is added or removed.)

These are fairly easy changes to make; curious if others think this is a good change to make. Flod?

Flags: needinfo?(francesco.lodolo)

(In reply to Aki Sasaki [:aki] (he/him) (UTC-7) from comment #4)

These are fairly easy changes to make; curious if others think this is a good change to make. Flod?

If possible, I'd really prefer to have each Nightly pick up the latest changes from the repository. I assume that could be done by running the bumper twice a day, before each build?

Flags: needinfo?(francesco.lodolo)

Putting this in the Releng cross-training pool.

Mentor: aki
Severity: -- → S3
Assignee: nobody → hneiva
Status: NEW → ASSIGNED
Pushed by hneiva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed7f2a9832eb
Update l10n changesets with daily builds r=aki
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: