Bug#492626: lintian: If only internal debconf questions are used, do not report not-using-po-debconf errors
On Sat, Jan 10, 2009 at 08:27:05PM -0800, Russ Allbery wrote:
> Russ Allbery <rra@debian.org> writes:
> > Julian Andres Klode <jak@jak-linux.org> writes:
>
> >> If only internal debconf questions are used, lintian should not
> >> complain about not using po-debconf. (as these questions are not meant
> >> to be translated)
>
> > This is somewhat intentional since I hadn't yet seen a case of this
> > where doing that makes sense, other than when using some debconf
> > frameworks that Lintian recognizes. Could you point me at an example?
>
> We didn't get a reply to the above question, so I'm going to go ahead and
> close this bug with the reasoning in the paragraph above. If you do have
> examples where Lintian gets this wrong, please feel free to re-open.
For example, readahead-list just uses the debconf questions for preseeding,
has no config script and does not need translated descriptions (as we do not
display them).
This is the actual code which does this (in postrm configure):
db_get readahead/profile-once
if [ "$RET" = "true" ]; then
touch /etc/readahead/profile-once
fi
db_set readahead/profile-once false
And this is the template:
Template: readahead/profile-once
Type: boolean
Default: false
Description: for internal use
Profile once on the next boot
>
> --
> Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: juliank@jabber.org
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
Reply to: