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

[SCM] Debian package checker branch, master, updated. 2.4.3-131-g0dbea67



The following commit has been merged in the master branch:
commit 0dbea671b26beae9a8074f32d64d0799df9f7fa9
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jan 16 22:49:26 2011 +0100

    Converted debian-source-dir KNOWN_FILES to a data file
    
      * data/debian-source-dir/known-files:
        + [NT] Added the file and included git-patches in it.  Thanks to
          Ron for the report and David Bremner for the initial patch.
          (Closes: #607502)

diff --git a/checks/debian-source-dir b/checks/debian-source-dir
index 4bba150..ddff2b6 100644
--- a/checks/debian-source-dir
+++ b/checks/debian-source-dir
@@ -28,8 +28,7 @@ use Util;
 our %KNOWN_FORMATS = map { $_ => 1 }
     ('1.0', '2.0', '3.0 (quilt)', '3.0 (native)', '3.0 (git)', '3.0 (bzr)');
 
-our %KNOWN_FILES = map { $_ => 1 }
-    qw(format include-binaries lintian-overrides options patch-header);
+our $KNOWN_FILES = Lintian::Data->new('debian-source-dir/known-files');
 
 sub run {
 
@@ -53,7 +52,7 @@ if (-d "debfiles/source") {
     while ($file = readdir(DEBSRC)) {
         next if $file eq "." or $file eq "..";
         tag "unknown-file-in-debian-source", $file
-            unless $KNOWN_FILES{$file};
+            unless $KNOWN_FILES->known($file);
     }
     closedir(DEBSRC);
 }
diff --git a/data/debian-source-dir/known-files b/data/debian-source-dir/known-files
new file mode 100644
index 0000000..cd4f235
--- /dev/null
+++ b/data/debian-source-dir/known-files
@@ -0,0 +1,10 @@
+# A manually maintained sorted list of files that we know can appear in
+# debian/source/
+
+format
+git-patches
+include-binaries
+lintian-overrides
+options
+patch-header
+
diff --git a/debian/changelog b/debian/changelog
index 03cdde2..4fd69d7 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -97,6 +97,10 @@ lintian (2.4.4) UNRELEASED; urgency=low
       suppress the {ancient,outdated}-autotools-helper-file tags.
       Currently this is manually updated.  This new list includes
       dh-autoreconf, thanks to Felix Geyer.  (Closes: #592358)
+  * data/debian-source-dir/known-files:
+    + [NT] Added the file and included git-patches in it.  Thanks to
+      Ron for the report and David Bremner for the initial patch.
+      (Closes: #607502)
   * data/fields/essential:
     + [RG] Add hurd.  (Closes: #591323)
   * data/fields/obsolete-packages:

-- 
Debian package checker


Reply to: