Package: nm.debian.org
Severity: normal
Tags: patch

Heya, thanks for dm_list.html, it's a very neat page to give credit and
visibility to Debian Maintainers!

To avoid people puzzled by (apparent) out of dateness of the page (e.g. [1]),
it would be nice to have some timestamp on the page. The attached, untested!,
patch should implement something akeen what's needed.

Cheers.

[1] http://lists.debian.org/debian-newmaint/2010/10/msg00029.html

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From e3d5c1fa036c9a90af423bef9b8c8b55a694e620 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Tue, 2 Nov 2010 15:55:32 +0100 Subject: [PATCH] add timestamp information rationale: avoid people believing that last update time comes from WML template --- html/dm_list.html | 6 +++++- make-dm-list | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/html/dm_list.html b/html/dm_list.html index e92101d..92c4ae9 100644 --- a/html/dm_list.html +++ b/html/dm_list.html @@ -50,4 +50,8 @@ in the DM keyring.

-

The code can be found on Alioth as make-dm-list

+

+The list above was last updated on: ${str(timestamp)}
+The code can be found on +Alioth as make-dm-list. +

diff --git a/make-dm-list b/make-dm-list index d548b47..11eea06 100755 --- a/make-dm-list +++ b/make-dm-list @@ -1,5 +1,6 @@ #!/usr/bin/python +import datetime import sys import os, os.path import re @@ -248,5 +249,7 @@ if not opts.verbose: maints = Maintainers() renderer = Template() -print renderer.render("dm_list.html", maints=maints) +print renderer.render("dm_list.html", + maints=maints, + timestamp=datetime.datetime.now()) -- 1.7.2.3

Reply via email to