Package multi-locale Lightning at build-time for upload to ATN
Categories
(Calendar :: Build Config, task)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file, 2 obsolete files)
|
10.48 KB,
patch
|
rjl
:
review+
pmorris
:
approval-calendar-esr+
|
Details | Diff | Splinter Review |
I want Lightning packaging happening as a build-time task so that pulling localised artifacts across a slow network isn't necessary. Note this bug doesn't include uploading to ATN, which has been discussed.
| Assignee | ||
Comment 1•6 years ago
|
||
Here's what I just ran on Try to get a build of Lightning 68.1.2 (sans ja-JP-mac, which I added manually due to problems with the Mac L10n task). I'm going to push the same thing now on comm-central to check I haven't broken it there since I first wrote it.
It's not perfect and I expect there's probably things to complain about. Right now it's set to not run unless somebody asks for it (run-on-projects: []) but it could run on any build that already does L10n for little cost.
| Assignee | ||
Comment 2•6 years ago
|
||
I've put the line to extract the ja-JP-mac .dmg in the wrong place, but apart from that all still works fine on comm-central.
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Rob Lemley [:rjl] from comment #4)
Nothing major jumps out at me. Out of curiosity, do you run your bash
scripts through shellcheck? I plan to enable those tests at some point.
I had no idea that was a thing but I like it.
- prepath='Thunderbird/Thunderbird.app/Contents/Resources'
This might not work with Daily builds. IIRC it gets named "Thunderbird
Daily.app'
You're right. Now I need to figure out how to know if we're building Daily.
| Assignee | ||
Comment 6•6 years ago
|
||
With changes. Setting r? again for peace of mind.
| Assignee | ||
Comment 7•6 years ago
|
||
| Assignee | ||
Comment 8•6 years ago
|
||
Now using Mozilla's dmg tools because the version of 7z on the builders is ancient and can't handle what I wanted it to.
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/0618eba9d869
Package multi-locale Lightning at build-time for upload to ATN. r=rjl DONTBUILD
| Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
TB 68.2.0 ESR / Cal 7.0:
https://hg.mozilla.org/releases/comm-esr68/rev/e6946b1a24880faee6831cc74c9d438f562185fc
Updated•6 years ago
|
| Assignee | ||
Comment 13•6 years ago
|
||
The pushed patches have lost the file mode of all-locale-repack.sh. The very first line should say new file mode 100755, as I posted them, not new file mode 100644.
Comment 14•6 years ago
|
||
Maybe a Windows thing? Can you push a fix with DONTBUILD?
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Do we need that on the branches?
| Assignee | ||
Comment 17•6 years ago
•
|
||
Comment 18•6 years ago
|
||
After bug 1576707 landed, and with the typo fixed that they landed (bug 1576707 comment #15), we get:
Exception: addon-calendar-l10n can't fetch toolchain-linux64-libdmg artifacts because there are no tasks with label toolchain-linux64-libdmg in kind dependencies!
Comment 19•6 years ago
|
||
| Assignee | ||
Comment 20•6 years ago
|
||
Well that was unfortunate timing!
Description
•