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

Recent list (News/Security)



Hi.

Yesterday I browsed a little trough the www.debian.org bug list.
I ran into the bugs
#161118: security web page doesn't show DSA updates (also #161117,
#133800)
#156679: www.debian.org: Recent security advisory list too short.

Both are related to the fact that the list of recent items
(templates/debian/recent_list.wml) are actually sorted by filename
instead by date .

Because I was in the mood for a little dirty Perl hacking, I produced an
alternate recent_list method. "Features:" you can specify a time frame
from now back (in days, weeks or months) and a minimum number of entries.
Items are sorted by their date/report_date tags. To solve #16118 it would
be necessary to either change the report_date with the revision or add a
new tag (f.e. revision_date). Opinions?

An example output you can see
at http://www.lichtenheld.de/debian-www/
I added to a random DSA (134) a revision_date tag to demonstrate my
proposed solution for the bug.
There you also find the source code (yet pourly documented and not
tested with other items than DSAs).

Feedback welcome,
	Frank

-- 
Frank Lichtenheld
www:  http://www.djpig.de
mail: frank@lichtenheld.de




Reply to: