The following commit has been merged in the master branch: commit ad1d2f0ecb6356ba7d009020a4d81e39c8f498fa Author: Russ Allbery <r...@debian.org> Date: Fri Feb 6 22:08:27 2009 -0800
Also check for URLs on the last line of the package description diff --git a/checks/description b/checks/description index f86859b..3813bf5 100644 --- a/checks/description +++ b/checks/description @@ -166,12 +166,13 @@ if ($type ne 'udeb') { # Check for a package homepage in the description and no Homepage field. This # is less accurate and more of a guess than looking for the old Homepage: # convention in the body. -unless ($info->field('homepage')) { +unless ($info->field('homepage') or $flagged_homepage) { if ($description =~ /homepage|webpage|website|url|upstream|web\s+site |home\s+page|further\s+information|more\s+info |official\s+site|project\s+home/xi - and $description =~ m,\b(https?://[a-z0-9][^>\s]+),i - and not $flagged_homepage) { + and $description =~ m,\b(https?://[a-z0-9][^>\s]+),i) { + tag 'description-possibly-contains-homepage', $1; + } elsif ($description =~ m,\b(https?://[a-z0-9][^>\s]+)>?\.?\s*\z,i) { tag 'description-possibly-contains-homepage', $1; } } -- Debian package checker -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org