Closed Bug 1848697 Opened 3 years ago Closed 2 years ago

push-langpacks shouldn't run if no string changes occurred for a release

Categories

(Thunderbird :: Build Config, enhancement)

enhancement

Tracking

(thunderbird_esr128 affected, thunderbird130 wontfix)

RESOLVED FIXED
131 Branch
Tracking Status
thunderbird_esr128 --- affected
thunderbird130 --- wontfix

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(1 file, 3 obsolete files)

The push-langpacks CI job runs during the push phase of every release on beta and esr115 regardless of whether or not any string changes were made.

This is not really an issue for beta, which has frequent string updates, but on c-esr115, l10n-changesets.json is not really updated after the 4th or 5th minor version. This means that there are potentially multiple langpack versions for 115 that are the same strings.

No other jobs in the release taskgraph depend on push-langpacks, so optimizing it out based on whether or not l10n-changesets.json changes should be sufficient.

This is a lot harder than it seems...

It's possible, but the difficult part is finding the right vcs tag name for the most recent previous release on the correct branch.

At first i thought it could be done with a simple hg log command with some creatively written template: hg log -r . -T {latesttag(r're:^.*RELEASE$')}

That would mostly work, but it fails if for some reason the branch you're building doesn't align with taskgraph's decision parameters (like on a try build, which may not have the right tags).

This would be much easier with a comm-unified repository.

Putting this on the back burner for now.

Assignee: nobody → daniel
Attachment #9368403 - Attachment is obsolete: true
Blocks: tb-monthly
Attachment #9376420 - Attachment is obsolete: true
Attachment #9350743 - Attachment is obsolete: true

Langpacks do not change that much after beta merges to release, so only push
langpacks for major releases and minor esr releases.

Assignee: daniel → rob
Target Milestone: --- → 131 Branch

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/decbf44a9413
Selectively push langpacks to ATN by version. r=dandarnell

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: