Smart install box should allow "*pre" users to install extension with minVersion $1

RESOLVED WONTFIX

Status

addons.mozilla.org Graveyard
Public Pages
P5
enhancement
RESOLVED WONTFIX
10 years ago
2 years ago

People

(Reporter: aryx, Unassigned)

Tracking

Details

The smart install box should allow "*pre" users to install extension with minVersion $1, i.e. 3.0pre users to install extension which have 3.0 as minVersion. (Because they have the code of the RCs as nightlies.)

Comment 1

10 years ago
I am not sure this is desired: The unit tests for the original implementation of the version comparator (http://mxr.mozilla.org/mozilla/source/xpcom/tests/TestVersionComparatorRunner.pl) consider 1.1pre lower than 1.1, and this behavior is reflected in the Javascript code too. If authors want their add-on to be compatible with *pre, they need to mark it as such.

As a workaround, you are always able to get the version anyway from the "all versions" page, by the way.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INVALID
Yes, 1.1pre is lower than 1.1, but if an RC1 has been released as 1.1, the newer nightlies are still 1.1pre, so you can install the add-on only in an older build.

Comment 3

10 years ago
Hm, I see your point. Have you tried if the add-on manager will actually allow installing an add-on on, say, a 3.0pre nightly when the add-on is marked as compatible with 3.0-... only? If not, there's no use showing a green button on AMO.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

Updated

9 years ago
Depends on: 498825
Priority: -- → P5
Target Milestone: --- → Future

Comment 4

8 years ago
archaeopteryx, comment 3?
No, by default the x.0 application can't install x.0pre add-ons, but you can do this with the extension Nightly Tester Tools. Currently, you can't access the file, IIRC. (There is currently no RC/later pre situtation, meh.)
We have an "install anyway" button now.  -> fixed
Status: REOPENED → RESOLVED
Last Resolved: 10 years ago7 years ago
Resolution: --- → FIXED
I don't see this fixed on production or preview, there is a popup telling to upgrade (sic for RCs and pre nightly builds) or to check the older versions. The 'Install anyway' button is only shown if used appversion > add-on maxVersion, not for <.

Example: https://addons.mozilla.org/en-US/firefox/addon/14228/ (I have no pre Nightly here to test this.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → NEW
1) Authors should be setting the min version correctly.  This isn't a moving target like maxversion so it shouldn't be hard to do.

2) We want to encourage people to upgrade to the newer versions of Firefox.

I don't want to add additional complexity to already complex code for this edge case.  Calling this wontfix.
Status: NEW → RESOLVED
Last Resolved: 7 years ago7 years ago
Resolution: --- → WONTFIX
(Assignee)

Updated

2 years ago
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.