> What algorithm should be used for generating ${xpi:Breaks}?

For maxVersion, I suggest
  • append 0 to a trailing letter, or
  • append + to a trailing number, or
  • replace a trailing * with +.

maxVersion 9.0a ⇒ break (>= 9.0~a0)
maxVersion 9.0a1 ⇒ break (>= 9.0~a1+)
maxVersion 9.0 ⇒ break (>= 9.0+)
maxVersion 9.0.* ⇒ break (>= 9.0.+)

No changes are needed for minVersion beyond what moz-version already
does.

> Should we really have break items for too old xul applications?

I think this is necessary to stop the extension from being upgraded if
the upgrade would increase minVersion beyond the application’s installed
version.  Admittedly, that’s a less common problem than the other
direction.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/839130

Title:
  Add versioned package dependency for maximum thunderbird version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mozilla-devscripts/+bug/839130/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to