On Tue, Dec 19, 2017 at 01:29:48PM +0800, Paul Wise wrote: > It would be nice to warn about present but unused or used but unknown > dpkg-gencontrol substitution variables. Here is an example of these: > > https://buildd.debian.org/status/fetch.php?pkg=python-backports-shutil-get-terminal-size&arch=all&ver=1.0.0-3&stamp=1469703308&raw=0 > > dpkg-gencontrol: warning: Depends field of package > python-backports-shutil-get-terminal-size: unknown substitution variable > ${python-Depends} > dpkg-gencontrol: warning: package python-backports-shutil-get-terminal-size: > unused substitution variable ${python:Versions} > dpkg-gencontrol: warning: package python-backports-shutil-get-terminal-size: > unused substitution variable ${python:Depends} > dpkg-gencontrol: warning: package python-backports-shutil-get-terminal-size: > unused substitution variable ${python:Provides}
I disagree: "unused substitution variable" often contains stuff that is deprecated (e.g. ${python:Provides} and ${python:Versions} in your example) that the maintainer is better off not using it. I second warning on "unknown substitution variable" though. -- 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