[lintian] 01/01: Consistently use the same "Debian style" RFC 822 date format for both "Mirror timestamp" and "Last updated" on the index page. (Closes: #828720)
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 4d2ef25d0bc7d3aae83d14d6dca1201e05066bfe
Author: Chris Lamb <lamby@debian.org>
Date: Wed Jul 12 22:45:26 2017 +0100
Consistently use the same "Debian style" RFC 822 date format for both "Mirror timestamp" and "Last updated" on the index page. (Closes: #828720)
---
commands/reporting-html-reports.pm | 2 ++
debian/changelog | 3 +++
2 files changed, 5 insertions(+)
diff --git a/commands/reporting-html-reports.pm b/commands/reporting-html-reports.pm
index f66874f..f4be328 100644
--- a/commands/reporting-html-reports.pm
+++ b/commands/reporting-html-reports.pm
@@ -464,6 +464,8 @@ sub process_data {
my $trace_file= "${path}/project/trace/${trace_basename}";
my $mirror_timestamp = slurp_entire_file($trace_file);
$mirror_timestamp =~ s/\n.*//s;
+ $mirror_timestamp
+ = safe_qx('date', '-u', '--rfc-822', '-d', $mirror_timestamp);
my %info = (
'name' => $archive,
'architectures' => $architectures,
diff --git a/debian/changelog b/debian/changelog
index 016c3d3..fb2723c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -61,6 +61,9 @@ lintian (2.5.52) UNRELEASED; urgency=medium
* commands/reporting-html-reports:
+ [NT] Enable re-use of the memory for the maintainer mapping once the
log file as been parsed.
+ + [CL] Consistently use the same "Debian style" RFC 822 date format for
+ both "Mirror timestamp" and "Last updated" on the index page.
+ (Closes: #828720)
* commands/reporting-sync-state:
+ [NT] Re-encode checksums into base64 encoded strings (from hex).
This reduces size per checksum by about ~30% (disk and memory). This
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: