Version numbering problem

Bug reports and enhancement requests
Post Reply
jdg
Posts: 2
Joined: Thu Sep 24, 2009 12:51 am

Version numbering problem

Post by jdg »

Firefox thinks that 1.9.8.86 > 1.9.8.9, whereas NoScript thinks the opposite. So Firefox cheerfully "upgrades" NoScript from 1.9.8.9 to 1.9.8.86, whereupon NoScript complains that it's not the latest version. Could the version be numbered 1.9.8.90 instead, please?
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.13) Gecko/2009082121 Iceweasel/3.0.14 (Debian-3.0.14-1)
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Version numbering problem

Post by therube »

How do you like that, it does do that.
Wonder if that is only because the AMO isn't yet updated to the 1.9.8.9 version (or at least fully updated)?

Or is it simply a bug in FF?
(SeaMonkey 2 does the same.)

I guess for something like this, Bug 301191 - Warn before downgrading to an older version of an extension, to be implemented & to work, one has to understand version numbering.

Bug 376638 - should warn if developer uploads with version number that is considered to less than an existing version

Toolkit version format

Software versioning
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090903 SeaMonkey/2.0b2
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Version numbering problem

Post by therube »

Additionally, on http://noscript.net/feed?t=a, 1.9.8.9's release notes show up under (a doubled) "1.9.8.87" entry.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090903 SeaMonkey/2.0b2
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: Version numbering problem

Post by al_9x »

therube wrote:Or is it simply a bug in FF?
Why would it be a bug? 86 > 9.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Version numbering problem

Post by therube »

Because in reality (depending on how you want to look at it) it is either 8.6 < 9.0 or 86 < 90.
At least that is the way it is intended to be understood to work out.
Just so happens it is not working out that way (at present?).

If I (manually) reinstall noscript-1.9.8.89.xpi, NoScript reports (on restart):
Looks like you are running an older version (1.9.8.89), probably because addons.mozilla.org did not publish the latest version yet.
You are strongly encouraged to upgrade manually to latest stable version (1.9.8.9).
So it knows that I'm behind.

But now if I go to Add-ons | Find Updates, AMO reports nothing, because .89 > .86 (which is what they currently have).

If I put in 1.9.8.85, then both NoScript & AMO know that I am out of date.

(If not for this post, I had never before used Find Updates.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090903 SeaMonkey/2.0b2
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Version numbering problem

Post by Alan Baxter »

We've discussed this problem with NoScript using 1.a.b.cd instead of 1.a.b.c.d before, and it's finally bit us in the butt. AMO can't be a mind-reader, regardless of Giorgio's intent. AMO is doing it right: 86 is greater than 9. I hope Giorgio fixes this pronto. Changing the version to 1.9.8.90 or 1.9.9 should fix the problem.

Edit: Changed 89 to 86
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Version numbering problem

Post by Giorgio Maone »

Fixed, thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Post Reply