Bug#872611: lintian: Please warn for package using sensible-utils w/o relationship
On Mon, 2018-07-16 at 19:40:26 +0100, Chris Lamb wrote:
> tags 872611 + moreinfo
> thanks
>
> Chris Lamb wrote:
>
> > > $ strings /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0.0 \
> > > | grep sensible-
> >
> > Hm, is "strings" safe for this kind of thing? :) As in, I fear too many
> > false-positives...
>
> Gentle ping on this? :-)
Sorry had forgotten about this one. Not sure which part do you find
unsafe? The grep was just an example, I'd probably use a regex similar
to the one I used on codesearch.debian.net, so something like:
m/(?:select-editor|sensible-(?:pager|editor|browser))/
or something along these lines. The one that I could see triggering
false-positives is select-editor. I think any reference to sensible-foo
should be pretty much relevant. But we'll not know until this is run by
lintian. :)
Thanks,
Guillem
Reply to: