push-langpacks shouldn't run if no string changes occurred for a release
Categories
(Thunderbird :: Build Config, enhancement)
Tracking
(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.
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
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.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 5•2 years ago
|
||
Langpacks do not change that much after beta merges to release, so only push
langpacks for major releases and minor esr releases.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/decbf44a9413
Selectively push langpacks to ATN by version. r=dandarnell
Description
•