Mattia Rizzolo: > Control: tag -1 moreinfo > > On Tue, Dec 25, 2018 at 06:50:08PM +0000, Thorsten Glaser wrote: >> Please release the first version of each major debhelper >> not as “12” but as, for example, “12.0”. >> >> Rationale: backporting. >> >> When backporting 12.0 it will be versioned 12.0~bpo9+1, >> when backporting 12 it will be versioned 12~bpo9+1. >> >> Version constraints normally read like: debhelper (>= 12~) >> >> Only 12.0~bpo9+1 fulfills this criterium, 12~bpo9+1 doesn’t. > > That's not true: > > mattia@warren ~ % dpkg --compare-versions 12~bpo9+1 gt 12~ && echo true > true > > >> This was a _real_ problem when debhelper 11 first entered >> stretch-backports. > > The issue back then was because people used "debhelper (>= 11)" without > the trailing ~ (I know I didn't as well, and I keep not using it tbh). >
Wouldn't this be solved if people migrated to using "debhelper-compat (= X)" instead? That variant is immune to this problem (and also removes some redundancy in the package). Thanks, ~Niels