On Thu, 2008-05-01 at 00:43 +0200, Frank Lichtenheld wrote: > > I'm still not sure that the original patch in this bug report (trying to > > guess at whether a random URL found in the extended description should be > > a homepage) is really a good idea. > > I personally would vote for closing this bug.
I agree that the last-paragraph test isn't necessarily a good idea now, but I still think there are some useful things in the patch. Firstly, extra phrases for the description check. These are based on stuff I saw in the archive and this is the match used in the last version: m/(homepage|webpage|website|url|upstream|web site|home page|further information|more info|official site|project home)/is Looking at today's sid Packages, here are some others: Upstream URL Upstream webpage Just the url on the last line by itself. Secondly, checking for best-practise CPAN homepages. This basically just checks if there is a version at the end of the URL. IMO I got this wrong and the URLs used should be like this: http://search.cpan.org/search?module=Chart::Base Instead of like this: http://search.cpan.org/~chartgrp/Chart/ I'd suggest consensus about this be sought on debian-perl before adding this to lintian though. Also, I saw 3 packages that use the Url: field instead of the Homepage: field. Probably isn't worth adding a lintian test for this and instead bugs could be filed. -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part