Closed
Bug 1510097
Opened 6 years ago
Closed 6 years ago
Move bootstrapped extension and install.rdf handling to comm-central
Categories
(Thunderbird :: Add-Ons: Extensions API, task)
Thunderbird
Add-Ons: Extensions API
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 65.0
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
These are the differences between the files I've copied from mozilla-central (after part 3 of bug 857456), and how they are now.
Attachment #9028477 -
Flags: review?(mkmelin+mozilla)
Attachment #9028477 -
Flags: feedback?(aswan)
Assignee | ||
Comment 3•6 years ago
|
||
Comment on attachment 9028476 [details] [diff] [review]
1510097-bootstrapped-move-1.diff
There's a few new things in here that don't show up in the other diff.
Attachment #9028476 -
Flags: review?(mkmelin+mozilla)
Comment 4•6 years ago
|
||
Comment on attachment 9028476 [details] [diff] [review]
1510097-bootstrapped-move-1.diff
Review of attachment 9028476 [details] [diff] [review]:
-----------------------------------------------------------------
You really jumped right in! Note that some things got renamed in the patches on bug 857456, sorry if it wasn't clear that those were works-in-progress that might change before landing.
Attachment #9028476 -
Flags: feedback+
Updated•6 years ago
|
Attachment #9028477 -
Flags: feedback?(aswan) → feedback+
Assignee | ||
Comment 5•6 years ago
|
||
Well, having this stuff working is rather important to us. Half of our tests die if it isn't. Now that I've figured out all the issues, rebasing should be easy enough.
Assignee | ||
Comment 6•6 years ago
|
||
This must land with the next inbound-to-central merge or Mozmill will die a horrible death.
Attachment #9028476 -
Attachment is obsolete: true
Attachment #9028476 -
Flags: review?(mkmelin+mozilla)
Attachment #9028796 -
Flags: review?(mkmelin+mozilla)
Assignee | ||
Comment 7•6 years ago
|
||
Same as before, the difference between part 3 of bug 857456 and this bug. Probably not much use any more, but here we are.
Attachment #9028477 -
Attachment is obsolete: true
Attachment #9028477 -
Flags: review?(mkmelin+mozilla)
Attachment #9028797 -
Flags: review?(mkmelin+mozilla)
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 8•6 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #6)
> This must land with the next inbound-to-central merge or Mozmill will die a
> horrible death.
It wouldn't be the first time it stopped working for a while, like when non-bootstrapped extensions stopped working and we made MozMill and JS Bridge bootstrapped in a hurry. That said, I'll land it.
Comment 9•6 years ago
|
||
Comment on attachment 9028796 [details] [diff] [review]
1510097-bootstrapped-move-2.diff
Review of attachment 9028796 [details] [diff] [review]:
-----------------------------------------------------------------
::: common/src/BootstrapLoader.jsm
@@ +1,1 @@
> +
has a blank line on top. but, should add the MPL notice
::: common/test/xpcshell/data/BootstrapMonitor.jsm
@@ +1,1 @@
> +ChromeUtils.import("resource://gre/modules/Services.jsm");
this file too should have a license
::: common/test/xpcshell/head_addons.js
@@ +690,5 @@
> + actualValue.toSource() + ")");
> + }
> +
> + return;
> + } else if (expectedValue && !actualValue) {
no else after return
@@ +1249,5 @@
> +Services.prefs.setBoolPref(PREF_XPI_SIGNATURES_REQUIRED, false);
> +
> +Services.prefs.setBoolPref("extensions.legacy.enabled", true);
> +
> +
extra blank line
@@ +1279,5 @@
> + };
> +}
> +
> +/**
> + * Change the schema version of the JSON extensions database
these documentations could add a period at the end
::: common/test/xpcshell/test_bootstrap.js
@@ +31,5 @@
> +userExtDir.append("extensions2");
> +userExtDir.append(gAppInfo.ID);
> +registerDirectory("XREUSysExt", userExtDir.parent);
> +
> +
extra blank line
@@ +154,5 @@
> + }
> + equal(data.size, 0);
> +}
> +
> +
and here
Attachment #9028796 -
Flags: review?(mkmelin+mozilla) → review+
Comment 10•6 years ago
|
||
Comment on attachment 9028797 [details] [diff] [review]
1510097-diff-2.diff
Review of attachment 9028797 [details] [diff] [review]:
-----------------------------------------------------------------
This is toolkit/ - someone from there should review
Attachment #9028797 -
Flags: review?(mkmelin+mozilla)
Comment 11•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/9a6732b236da
Move bootstrapped extension and install.rdf handling to comm-central. r=mkmelin
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 65.0
Comment 12•6 years ago
|
||
That was just a *total success* !! \o/
Assignee | ||
Comment 13•6 years ago
|
||
Yes, thank you Andrew, for making that process so easy.
Comment 14•6 years ago
|
||
Cheers, I'm glad to hear that...
Comment 15•6 years ago
|
||
Is there a way to load restartless Add-ons in Tb69? it appears that version requires manifest.json, but adding the file breaks it too.
When trying to install the restartless Add-on with only install.rdf Tb 69 says "This add-on could not be installed because it is not compatible with Daily 69.0a1" - no such problem with conventional legacy Add-ons.
<em:targetApplication>
<Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>60.0</em:minVersion>
<em:maxVersion>69.0a1</em:maxVersion>
</Description>
</em:targetApplication>
Assignee | ||
Comment 16•6 years ago
|
||
Please see this maildev post and this updated documentation.
Updated•5 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•