Stop shipping all the calendar skin files on all platforms
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: pmorris, Assigned: pmorris)
References
Details
Attachments
(4 files, 3 obsolete files)
41.50 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
9.16 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
118.71 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
47.92 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
A follow-up on bug 1608610. See comment 107 (https://bugzilla.mozilla.org/show_bug.cgi?id=1608610#c107).
Assignee | ||
Comment 1•6 years ago
|
||
To land after bug 1608610 lands. Successful try run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=b698e41a8d8ac08754985b5e5f6d9de45776ac64
Comment 2•6 years ago
|
||
I think I'd like this to match mail/themes
and browser/themes
: one JAR manifest in each OS directory, including a shared jar.inc.mn
from the common directory.
Taking that thought a step further, I'd also like to get rid of chrome://calendar-common/skin/
namespace and have its contents under chrome://calendar/skin/shared/
as happens for mail and browser. (Ditto for lightning-common.)
If we're going to make such a change, now seems like the best opportunity we're going to get. Does that seem reasonable?
(Cc'ing some more people who might have an useful opinion.)
Assignee | ||
Comment 3•6 years ago
|
||
That all seems reasonable to me. Good to have consistency in how things are done.
Comment 4•6 years ago
|
||
Yes, making this simpler would be great. Maybe we could also remove the chrome://lightning/skin
namespace and use only chrome://calendar/skin
.
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
1 of 3 - Only ship one platform's skin files in a given build and rearrange the skin build setup to match mail.
Assignee | ||
Comment 6•6 years ago
|
||
2 of 3 - Remove the calendar-common
skin package name.
Assignee | ||
Comment 7•6 years ago
|
||
3 of 3 - Merge skin files from lightning
directory into base
directory and drop the lightning-common package name.
Assignee | ||
Comment 8•6 years ago
|
||
Richard, do you know what the story is with these icon files?
https://searchfox.org/comm-central/source/calendar/base/jar.mn#130-132,134-135
They appear to be unused as the only place they appear in the code is here in this jar.mn file.
Comment 9•6 years ago
|
||
(In reply to Paul Morris [:pmorris] from comment #8)
Richard, do you know what the story is with these icon files?
https://searchfox.org/comm-central/source/calendar/base/jar.mn#130-132,134-135
They appear to be unused as the only place they appear in the code is here in this jar.mn file.
They are to be shown on the top left of the windows under Linux. But actually I don't see a icon. So maybe we can remove them.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
It was because we packaged all platforms in one XPI (a on Linux built XPI worked on Windows or Mac too) and we needed dedicated shared paths to work on all platforms. And also it was because we had the calendar and the lightning path and to differentiate the two shared directories. Now with only one platform per build we can move the shared directory directly under calendar/skin/.
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Assignee | ||
Comment 14•6 years ago
|
||
These patches are ready to land. (The reviewer part of the commit messages will need to be updated.)
They are to be shown on the top left of the windows under Linux. But actually I don't see a icon. So maybe we can remove them.
On these icons, I'll file a follow-up bug to either remove or use them.
Assignee | ||
Comment 15•6 years ago
|
||
Here's a try run, after rebasing on current trunk:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8df92de2beb8f670321286546596974bfa6908b4
Assignee | ||
Comment 16•6 years ago
•
|
||
Try run did not go well. Removing the checkin flag.
Update: failures were due to c-c bustage (see bug 1614718).
Assignee | ||
Comment 17•6 years ago
|
||
New patch. Paths to some icon files in allowed-dupes.mn needed to be updated, and that caused try run failure. Upon closer inspection, these icon files could just be de-duped. (I must have overlooked them when de-duping the others because the duplicate versions had different names.) One of the files in allowed-dupes was not actually duped so I removed it.
Assignee | ||
Comment 18•6 years ago
|
||
Just rebased on top of the new part1B patch.
Assignee | ||
Comment 19•6 years ago
•
|
||
Just rebased on the new part1B patch.
Here's a try run I did for Linux only (along with patches for bug 1612190), just to check if it was all working: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=5e8b6f154ea2a128ace263c6b3bd299c977e279c
Then I tried to do one for all platforms with just the patches for this bug, but that didn't work because the patches didn't change from the linux try run: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=e3e74e24f59ea28c7b36962a2dc30b7c50307d00&selectedJob=288557198
I need to figure out how to trick it into doing the job. I could add a temporary bogus whitespace commit, but I imagine there must be a better way.
Assignee | ||
Comment 20•6 years ago
|
||
Modified the commit message to add the "r=" on the last patch to get this try run going:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=53efb80e5214f142ae31caa1f4516c7e2d0eb5a5
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 21•6 years ago
|
||
Whatever was going on with that try run in comment 20 seems to have cleared up now:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8c55df0e93d7a8c23e8cf932f8f1101577533287
Comment 22•6 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/0dc699fa42c6
Stop shipping all calendar skin files to all platforms. r=Fallen
https://hg.mozilla.org/comm-central/rev/171779b184e0
Remove duplicated calendar icons. r=darktrojan
https://hg.mozilla.org/comm-central/rev/51f53932665f
Remove 'chrome://calendar-common/skin/' path. r=Fallen
https://hg.mozilla.org/comm-central/rev/3d6cb3e7f574
Move calendar skin files in 'lightning' directory into 'base' directory. r=Fallen,Paenglab
Updated•6 years ago
|
Description
•