Bug#939387: Please provide a way to rebuild the package with debian/changelog-only changes

Chris Lamb lamby at debian.org
Sat Sep 7 21:18:26 BST 2019


Hi Mattia,

> > 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?

My change to xtrlock actually plays it safer than this and splits around
"+" on the basis that one is either doing a "+b1" or a "+localsuffix".

The danger of not doing this and taking the naive approach is that,
after all, "1" is a string prefix of "10"...


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list