[Pkg-mozext-maintainers] How to autoconvert extension browser version constraints into deb package relationships
Ximin Luo
infinity0 at debian.org
Thu Aug 2 04:22:00 BST 2018
Hi all,
Currently tree-style-tab requires >= firefox 57 to work. What's the best way to deal with this in dh_webext?
If I add a Depends: >= for every constraint, this is not ideal: if an extension supports both chromium and firefox, but the user only wants to install chromium, then firefox (>= 57) will be installed unnecessarily as well.
If I add a Breaks: << for every constraint, this prevents the user from keeping around older versions of firefox if they really need to - perhaps they only care about having the extension work in chromium?
If I add a single Depends: for every constraint but use "|" to join them together, this seems OK but perhaps there are other bad consequences I didn't yet think of. For example, does it make package upgrades work in a weird way, like uninstall chromium in order to install a newer version of firefox when the more natural action would be to upgrade chromium.
Perhaps we should use Recommends: or Enhances: instead?
Does anyone remember what dh_xul-ext did?
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Pkg-mozext-maintainers
mailing list