Closed
Bug 1468240
Opened 6 years ago
Closed 6 years ago
Thunderbird Dailies l10n busted as of 2018-06-09
Categories
(Thunderbird :: Search, enhancement)
Thunderbird
Search
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 62.0
People
(Reporter: jorgk-bmo, Assigned: mkaply)
References
Details
Attachments
(1 file)
8.67 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
Tom told me in a PM that this is due to bug 1437942. Michael, can you please tell me what we need to to since https://hg.mozilla.org/mozilla-central/rev/67f15f445506 is huge.
Flags: needinfo?(mozilla)
Assignee | ||
Comment 1•6 years ago
|
||
I tried to write that patch specifically do it wouldn't break Thunderbird. Can I get the build log?
Flags: needinfo?(mozilla)
Reporter | ||
Comment 2•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=5ee92a30a3f4a0242c238249b1a2ecef4935db37 and then click on any of the red "Nx" and look at the log. For example: https://taskcluster-artifacts.net/Jb1wj5BBTPO2iuFNb8C08g/0/public/logs/live_backing.log There we see: Error: Missing file: ../../../dist/xpi-stage/locale-be/chrome/be/locale/be/messenger/searchplugins/amazondotcom.xml And later: ERROR - failure: repack_locale(be)
Assignee | ||
Comment 3•6 years ago
|
||
So the problem is: https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/installer/l10n-repack.py Thunderbird still needs the line: 'chrome/**/searchplugins/*.xml', in NON_CHROME because the searchplugins are still in the langpacks. buildconfig is imported into this file. Is there some way to do a Thunderbird check and add that line to NON_CHROME?
Reporter | ||
Comment 4•6 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #3) > Is there some way to do a Thunderbird check and add that line to NON_CHROME? Question for Tom?
Flags: needinfo?(mozilla)
Reporter | ||
Comment 5•6 years ago
|
||
From IRC: 23:30:38 - tomprince: jorgk: my inclination is to suggest porting the changes, rather than figuring out how to keep TB working the way it does now.
Assignee | ||
Comment 6•6 years ago
|
||
Basically you need to move all search engines from the locales into the tree. The build process itself is much simpler. I'll see if I can do a patch.
Reporter | ||
Comment 7•6 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #6) > Basically you need to move all search engines from the locales into the tree. Yes, you did, for example: rename from browser/locales/searchplugins/ebay-au.xml rename to browser/components/search/searchplugins/ebay-au.xml Looking in our tree, we don't have mail/locales/searchplugins/, all we have is mail/locales/en-US/searchplugins with a few XML files.
Assignee | ||
Comment 8•6 years ago
|
||
Here's my first pass at this change. It's still not building locally, but I think it's my tree. It moves the plugins into mail/components/search.
Reporter | ||
Comment 9•6 years ago
|
||
Please let me know if you want a try build.
Assignee | ||
Comment 10•6 years ago
|
||
I verified that this patch fixes the build problem. In addition to this step, all search XML files from the mail directories here: https://dxr.mozilla.org/l10n-central/search?q=file%3A*.xml&redirect=false Should be moved into mail/components/search/searchplugins and removed from the l10n tree. All search engines are now maintained in the main tree instead of langpacks.
Reporter | ||
Comment 11•6 years ago
|
||
Comment on attachment 8985225 [details] [diff] [review] First pass (In reply to Mike Kaply [:mkaply] from comment #10) > I verified that this patch fixes the build problem. Thanks Mike, I'll get this landed. > In addition to this step, all search XML files from the mail directories > here: > https://dxr.mozilla.org/l10n-central/search?q=file%3A*.xml&redirect=false > Should be moved into mail/components/search/searchplugins and removed from > the l10n tree. That's 216 files. I'll file a follow-up for this.
Flags: needinfo?(mozilla)
Attachment #8985225 -
Flags: review+
Comment 12•6 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/33551f4516d0 Move searchplugins to mail directory. rs=jorgk DONTBUILD
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 13•6 years ago
|
||
Landed with DONTBUILD, I'll check the Daily run in a few hours. I filed bug 1468686 for the follow-up. BIG THANK YOU again, Mike!!
Target Milestone: --- → Thunderbird 62.0
Reporter | ||
Comment 14•6 years ago
|
||
Wow, that worked \o/ - Thanks again.
Updated•6 years ago
|
Assignee: nobody → mozilla
You need to log in
before you can comment on or make changes to this bug.
Description
•