[ mailman-Patches-1290317 ] add date field to the mail list archive index page

SourceForge.net noreply at sourceforge.net
Fri Dec 16 01:50:42 CET 2005


Patches item #1290317, was opened at 2005-09-13 10:37
Message generated for change (Comment added) made by elfern
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1290317&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pipermail
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt Ryanczak (ryanczak)
Assigned to: Nobody/Anonymous (nobody)
Summary: add date field to the mail list archive index page

Initial Comment:
I was asked to make the date for each message in a
mailman archive be visible in the index for that month.
This required that I modify HyperArch.py and the
template file archidxentry.html. I thought others might
find this useful so here is the relevant patch for the
mailman-2.1.6 source tree. 

Apply the following patch to your mailman-2.1.6 source
tree and build as usual. patch -p0 <
date-in-archive-index.patch. This patch will modify the
following files:

mailman-2.1.6/Mailman/Archiver/HyperArch.py
mailman-2.1.6/templates/ca/archidxentry.html 
mailman-2.1.6/templates/en/archidxentry.html
mailman-2.1.6/templates/es/archidxentry.html
mailman-2.1.6/templates/eu/archidxentry.html
mailman-2.1.6/templates/fr/archidxentry.html
mailman-2.1.6/templates/hr/archidxentry.html
mailman-2.1.6/templates/hu/archidxentry.html
mailman-2.1.6/templates/it/archidxentry.html
mailman-2.1.6/templates/ja/archidxentry.html
mailman-2.1.6/templates/lt/archidxentry.html
mailman-2.1.6/templates/pl/archidxentry.html
mailman-2.1.6/templates/pt/archidxentry.html
mailman-2.1.6/templates/pt_BR/archidxentry.html
mailman-2.1.6/templates/ro/archidxentry.html
mailman-2.1.6/templates/ru/archidxentry.html
mailman-2.1.6/templates/sl/archidxentry.html
mailman-2.1.6/templates/sr/archidxentry.html
mailman-2.1.6/templates/tr/archidxentry.html
mailman-2.1.6/templates/uk/archidxentry.html
mailman-2.1.6/templates/zh_CN/archidxentry.html

----------------------------------------------------------------------

Comment By: elfern (elfern)
Date: 2005-12-15 16:50

Message:
Logged In: YES 
user_id=1406050

Is it possible to put a tarball of these patches ?

I downloaded these patches, and did:
patch -p0 < date-in-archive-index.patch

This reported:

  Looks like a unified context diff.
File to patch: mailman-2.1.6/Mailman/Archiver/HyperArch.py
Reversed (or previously applied) patch detected! Assume -R 
[yes]
Apply anyway? [no] yes
Hunk #2 failed at line 1032.
Hunk #3 failed at line 1.
Hunk #4 failed at line 1.
Hunk #5 failed at line 1.
Hunk #6 failed at line 1.
Hunk #7 failed at line 1.
Hunk #8 failed at line 1.
Hunk #9 failed at line 1.
Hunk #10 failed at line 1.
Hunk #11 failed at line 1.
Hunk #12 failed at line 1.
Hunk #13 failed at line 1.
Hunk #14 failed at line 1.
Hunk #15 failed at line 1.
Hunk #16 failed at line 1.
Hunk #17 failed at line 1.
Hunk #18 failed at line 1.
Hunk #19 failed at line 1.
Hunk #20 failed at line 1.
Hunk #21 failed at line 1.
Hunk #22 failed at line 1.
21 out of 22 hunks failed: saving rejects to mailman-
2.1.6/Mailman/Archiver/HyperArch.py.rej
done


Now, I am not sure if the patch got applied.
The timestamp on HyperArch.py is updated.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1290317&group_id=103


More information about the Mailman-coders mailing list