[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#515998: lintian: description-contains-homepage should catch Homepage: <>



"Adam D. Barratt" <adam@adam-barratt.org.uk> writes:
> 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).
>
> Our test case for that tag uses "<http://lintian.debian.org/>", so I'm
> assuming the fact that description-contains-homepage doesn't flag that
> syntax is intentional - Russ?

If the line starts with "Homepage: ", we should probably catch it with the
stronger tag.  The weaker tag catches random URLs found in the description
that may or may not be a reference to the package homepage, but the
"Homepage: " prefix is a giveaway.  I think this was just an oversight.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: