On Fri, Sep 06, 2019 at 09:52:40PM +0100, Chris Lamb wrote: > > I would suggest to compare only the first part (upstream > > version/major version/whatever). > > FYI I had to do something similar recently in src:xtrlock: > > > https://salsa.debian.org/debian/xtrlock/commit/eb0b4174c81fdb1b81926203af3bb8c7c34fdac9 > > Mattia, fancy implementing this? I believe you wrote the current > version check code.
i.e. just making sure the d/changelog version starts with the same string in diffoscope/__init__.py? Indeed, after thinking for a day I guess it's safe enough. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature