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

[SCM] Debian package checker branch, master, updated. 2.2.5-25-g420fd25



The following commit has been merged in the master branch:
commit 420fd25ed6167e7be679c30672f374cea767f664
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Wed Feb 18 21:57:42 2009 +0000

    "Homepage: <http://example.com>" is certainly an embedded homepage
    
    * checks/description:
      + [ADB] Warn of homepages embedded in the description which use the
        syntax "Homepage: <http://example.com>" using the warning level
        tag description-contains-homepage rather than the info level tag
        description-possibly-contains-homepage.  (Closes: #515998)

diff --git a/checks/description b/checks/description
index 3813bf5..fc06e03 100644
--- a/checks/description
+++ b/checks/description
@@ -112,7 +112,7 @@ foreach (split /\n/, $description) {
 	tag "description-contains-tabs", "" unless $tabs++;
     }
 
-    if (m,^\s*Homepage: https?://,i) {
+    if (m,^\s*Homepage: <?https?://,i) {
 	tag "description-contains-homepage";
 	$flagged_homepage = 1;
     }
diff --git a/debian/changelog b/debian/changelog
index 4a912b9..f621f81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,11 @@ lintian (2.2.6) UNRELEASED; urgency=low
   * checks/control-file:
     + [ADB] Properly exclude packages built from the glibc source package
       from the "hardcoded depends on libc" test.  (Closes: #515831)
+  * checks/description:
+    + [ADB] Warn of homepages embedded in the description which use the
+      syntax "Homepage: <http://example.com>" using the warning level
+      tag description-contains-homepage rather than the info level tag
+      description-possibly-contains-homepage.  (Closes: #515998)
   * checks/fields:
     + [RA] Load virtual packages from data/fields/virtual-packages.
   * checks/files{,.desc}:

-- 
Debian package checker


Reply to: