Ok so it looks like bug 1554029 has landed and stuck and will be rolling
out in a 67.0.1 soon. During testing of that I found that the suggestion
I made in comment 6 would have actually only worked on some platforms
due to a bug in the version comparator code. It probably would have
worked on Linux but now the code is fixed it that changes things a
little.

If you care about your users being able to upgrade from a version with
the old-style build ID (14 digits based on the date) then either you
need to:

1. Continue to use a purely numeric build ID that is larger each time
you build (and the first must be larger than the last build ID your
users have).

2. Switch to a build ID that can be parsed by the toolkit version code
(https://developer.mozilla.org/en-
US/docs/Mozilla/Toolkit_version_format) and must contain a character
that is not a digit in it (or Firefox will just parse it as a number)
and do the above.

For the second option in the first upgrade where users are switching
from the old build ID to your new one the version comparator will
consider the old build ID to be "0" because the number is too large and
overflows. So for your new build ID to be larger than that then it has
to be a valid version considered larger than or equal to 0. Mostly that
means it must start with at least one digit so "1build1" would work (and
then after "1build2" etc. would be considered larger.

It's a little uglier than I'd like unfortunately but it should work.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1830096

Title:
  Firefox 67 in Ubuntu 18.10 thinks it's an older version

Status in Mozilla Firefox:
  New
Status in firefox package in Ubuntu:
  Fix Committed

Bug description:
  Today I installed the Firefox 67 update on Ubuntu 18.04, then updated
  to Ubuntu 18.10. After this, launching Firefox gave me a "Using an
  older version of Firefox" message with only two options: create a new
  profile or quit.

  Apparently the Firefox 67 build for 18.10 thinks it's an older version
  than the Firefox 67 build for 18.04.

  For now I worked around the issue by manually installing the Firefox
  67 build for Ubuntu 18.04, which did load the existing user profile
  correctly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1830096/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to