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

qa.d.o/orphaned.html should only show packages > 14 days orphaned



Hi,

http://qa.debian.org/orphaned.html says:

This page lists all orphaned packages which do not have their Maintainer:
header set to the QA Group. If a package has been orphaned for longer than 14
days, please check the changelog whether a new maintainer has uploaded a new
version already -- if so, then close the WNPP bug (and CC: the new maintainer).
Otherwise, please upload a new version of the package and set:

Wouldn't it be better to just list the bugs which are orphaned > 14 days so
you don't have to look if the listed package is just orphaned for a few days?

Patch for this is attached.
Kind regards
Nico

-- 
Nico Golde - http://www.ngolde.de
JAB: nion@jabber.ccc.de - GPG: 0x73647CFF
Forget about that mouse with 3/4/5 buttons,
gimme a keyboard with 103/104/105 keys!
--- orphaned.wml	2007-03-22 12:52:07.000000000 +0100
+++ orphaned_new.wml	2007-03-23 21:14:17.000000000 +0100
@@ -41,6 +41,9 @@
     chomp($age);
     <ORPHANED>;
 
+    if ($age < 14) {
+       next;
+    }
     print "<A NAME =\"", protect($package), "\"></A>",
           "<H2><A HREF = \"http://packages.qa.debian.org/";, protect($package),
           "\">", protect($package), "</A></H2>\n";
@@ -50,11 +53,7 @@
           "#", protect($bugid), "</A>\n";
     print "Subject: ", protect($subject), "\n";
     print "Submitter: ", protect($submitter), "\n";
-    if ($age > 14) {
-        print "<I>Age: orphaned ", protect($age), " days ago</I>\n";
-    } else {
-        print "Age: orphaned ", protect($age), " days ago\n";
-    }
+    print "<I>Age: orphaned ", protect($age), " days ago</I>\n";
     print "</PRE>\n";
 
 }

Attachment: pgp6Q34VIvikA.pgp
Description: PGP signature


Reply to: