Re: Ideas wrt debconf templates checks
On Thu, 2008-07-03 at 07:03 +0200, Christian Perrier wrote:
> Hello Lintian maintainers and i18n 'informal team',
> Before I report this as a wishlist bug, I'd like to have your input
> on two ideas that popped up in my mind for possible lintian checks wrt
> debconf templates:
> 1) Checking if a declared template is still used
> Sometimes, maintainers rewrite maintainer scripts and remove the use a
> a given debconf template but do not think about dropping it from
> debian/*templates. It therefore clutters the debconf database and adds
> extra useless work to translators.
I've been playing with a check for this, which mostly seems to work.
Perhaps unsurprisingly, debconf itself throws up quite a few false
positives as debconf-apt-progress makes use of a number of templates
which are otherwise unused. If desirable, debconf could be exempted from
the check, as it is from some of the other checks.