opam
opam copied to clipboard
Use simplified version comparison function
As specified in the docs, and not as handled in Debian: we used to run the Debian comparison from Dose, which handled epoch prefixes and revision suffixes in an undocumented way (undocumented in opam, not blaming Dose here!).
Closes #4272
I thought we had agreed in #4566 to keep it to handle revisions
Huh, I am sorry if I skipped that part of a discussion... but I don't see a link between the explicit package revisions discussed in #4566 and the general version-comparison function (on strings) changed here. It may indeed be possible to implement #4566 using debian-like revision syntax, but I don't think it would be a good idea to squeeze that info into the version string instead of using a separate record field.