Bug#515998: lintian: description-contains-homepage should catch Homepage: <>
On Wed, 2009-02-18 at 21:59 +0100, Bill Allombert wrote:
> On Wed, Feb 18, 2009 at 08:07:46PM +0000, Adam D. Barratt wrote:
> > On Wed, 2009-02-18 at 19:25 +0100, Bill Allombert wrote:
> > > Lintian includes a test "description-contains-homepage", however this
> > > check is not triggered by packages that include in their description:
> > >
> > > Homepage: <http://www.example.org/>
> > > instead of
> > > Homepage: http://www.example.org/
> > >
> > > Maybe lintian should also catch this alternate syntax.
> >
> > We actually do catch the syntax, but via the info-level tag
> > description-possibly-contains-homepage (added in Lintian 2.2.3, and
> > therefore not currently included in the lintian.d.o output).
>
> I used 2.2.5 and I did not get a warning at all (the package involved
> being gap).
Thanks for the pointer. It is being flagged but as I mentioned only via
an info tag, rather than a warning. Russ added that tag and its test
case which uses "<http://foo>", but I'm not 100% sure whether not having
the warning tag catch that format was intentional or an oversight.
For completeness:
$ lintian -I -T description-contains-homepage,description-possibly-contains-homepage ../gap_4r4p10-2_amd64.changes
I: gap-doc: description-possibly-contains-homepage http://www.gap-system.org/
I: gap-dev: description-possibly-contains-homepage http://www.gap-system.org/
I: gap-core: description-possibly-contains-homepage http://www.gap-system.org/
I: gap: description-possibly-contains-homepage http://www.gap-system.org/
I: gap-online-help: description-possibly-contains-homepage http://www.gap-system.org/
I: gap-libs: description-possibly-contains-homepage http://www.gap-system.org/
Regards,
Adam
Reply to: