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

[SCM] Debian package checker branch, master, updated. 2.1.6-19-g6928edf



The following commit has been merged in the master branch:
commit 6f4ba57efd52b3703632177d69537c60776f2fb0
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Jan 11 13:46:14 2009 -0600

    Check for missing homepage field
    
    Signed-off-by: Raphael Geissert <atomo64@gmail.com>

diff --git a/checks/fields b/checks/fields
index 9d58b62..6e4edf7 100644
--- a/checks/fields
+++ b/checks/fields
@@ -402,6 +402,8 @@ if (defined $info->field('homepage')) {
 	unless ($uri->scheme) { # not an absolute URI
 		tag "bad-homepage", $homepage;
 	}
+} elsif ($type eq "binary") {
+	tag "no-homepage-field";
 }
 
 #---- Installer-Menu-Item (udeb)
diff --git a/checks/fields.desc b/checks/fields.desc
index c8e904d..693bf11 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -942,3 +942,11 @@ Info: This package is also provided by one of the Perl core packages
  .
  Example: perl-modules (&gt;= 5.10.0) | libmodule-build-perl (&gt;= 0.26)
 Ref: policy 7.5
+
+Tag: no-homepage-field
+Severity: pedantic
+Certainty: possible
+Info: The package lacks the <tt>Homepage</tt> field which, if it contains
+ useful information or resources to the end user, should be provided in the
+ <tt>control</tt> file.
+Ref: policy 5.6.23

-- 
Debian package checker


Reply to: