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

[SCM] Debian package checker branch, master, updated. 2.1.3-53-g020d7aa



The following commit has been merged in the master branch:
commit 26fb4f492902296d3b018d6d0942e2a181c85b31
Author: Russ Allbery <rra@debian.org>
Date:   Wed Dec 31 17:33:46 2008 -0800

    Only take the first line of the archive timestamp
    
    * reporting/html_reports:
      + [RA] We only care about the first line of the archive timestamp.

diff --git a/debian/changelog b/debian/changelog
index 8c88de3..67c6331 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -111,6 +111,9 @@ lintian (2.1.4) UNRELEASED; urgency=low
     + [RA] Merge data from both test suites and use the tag files for the
       old test suite rather than relying on runtests -v.
 
+  * reporting/html_reports:
+    + [RA] We only care about the first line of the archive timestamp.
+
   * t/runtests:
     + [RA] Check that a test produces all tags listed in Test-For and
       doesn't produce any tages listed in Test-Against.
diff --git a/reporting/html_reports b/reporting/html_reports
index 743261c..400247c 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -88,7 +88,8 @@ closedir(CHECKDIR);
 our $LINTIAN_VERSION = `$LINTIAN_ROOT/frontend/lintian --print-version`;
 our $timestamp = `date -u --rfc-822`;
 our $mirror_timestamp = slurp_entire_file($LINTIAN_TIMESTAMP);
-chomp ($LINTIAN_VERSION, $timestamp, $mirror_timestamp);
+chomp ($LINTIAN_VERSION, $timestamp);
+$mirror_timestamp =~ s/\n.*//s;
 
 
 # ------------------------------

-- 
Debian package checker


Reply to: