Closed Bug 898130 Opened 11 years ago Closed 11 years ago

set AMO-compatible Firefox targetApplication/maxVersion for desktop-helper/activities extensions

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: myk)

References

()

Details

Attachments

(1 file)

AMO's extension validator requires all install.rdf files inside extensions to specify an application and maxVersion listed on <https://addons.mozilla.org/en-US/firefox/pages/appversions/>.

That includes extensions inside other extensions, like the desktop-helper and activities extensions inside the Gaia profile shipped by the Simulator extension, even though those "inner" extensions will never be installed directly by an AMO user.

So this change makes desktop-helper specify compatibility with Firefox (it previously specified compatibility with "Toolkit", which includes Firefox, but AMO requires "Toolkit" extensions to also specify a specific product).

And it makes both desktop-helper and activities claim a Firefox maxVersion of 25.*, which is apparently preferable to (and more reliable than) 25.0.*, even though the aforementioned web page claims the latter variant is also supported.

The IRC conversation in #amo-editors:

---
10:54:58 - myk: editors! the validator doesn't appear to recognize toolkit@mozilla.org as a "supported Mozilla product"; but doesn't that designation include multiple supported products?
10:56:33 - John-Galt: myk: It does, but for AMO uploads you still need to include a specific product.
10:57:41 - myk: John-Galt: ah, ok; on another note, i'm also getting 'Version "24.0.*" isn't compatible with "firefox"', which is not what https://addons.mozilla.org/en-US/firefox/pages/appversions/ says
10:59:57 - John-Galt: myk: You should use 24.*. The only reason we have 24.0.* is that the language pack build process generates those.
---

I built the Simulator with the change and validated it with <https://github.com/mozilla/amo-validator> locally to verify that the change resolves the issue.
Attachment #781206 - Flags: review?(21)
Attachment #781206 - Attachment is patch: false
Attachment #781206 - Attachment mime type: text/plain → text/html
Comment on attachment 781206 [details]
patch v1: fixes problem

Thanks.
Attachment #781206 - Flags: review?(21) → review+
Merged:

https://github.com/mozilla-b2g/gaia/pull/11170
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: