Donate Share March 2004: Project of the Month

Mailman

Tracker: Patches

5 Mailman/pipermail/MHonArc integration patch - ID: 820723
Last Update: Comment added ( mmokrejs )

This patch tightly integrates the MHonArc mail-to-HTML
convertor with Mailman and its internal pipermail
archiving code.

The purpose of the patch is to produce a fusion of
(hopefully) the best features of pipermail and MHonArc
for handling Mailman mailing list archives.

For more detail see patch content or
http://www.openinfo.co.uk/mailman/patches/mhonarc/index.html


Richard Barrett ( ppsys ) - 2003-10-09 16:19

5

Open

None

Nobody/Anonymous

Pipermail

Mailman 2.1

Public


Comments ( 18 )

Date: 2009-10-07 12:38
Sender: mmokrejs

Richard, do you have a patch for 2.1.12? I need to switch over to
python-2.6. :(


Date: 2008-05-17 15:59
Sender: ppsys


File Added: mhonarc-2.1.10-0.1.patch.gz


Date: 2006-10-21 09:43
Sender: mmokrejs

Logged In: YES
user_id=696559

Yes, that helped. Thanks. After years I documented a bit
which patches I use for mailman:

#!/bin/sh
gzip -dc mailman-2.1.9.tgz | tar xvf -
cd mailman-2.1.9
patch -p1 < ../mailman-2.1.9-patches/modinc-2.1.9-0.1.patch
gzip -dc
../mailman-2.1.9-patches/antispam-2.1.9-0.1.patch.gz | patch -p1
gzip -dc ../mailman-2.1.9-patches/mhonarc-2.1.9-0.1.patch.gz
| patch -p1
cat ../mailman-2.1.9-patches/11_handle_propfind.patch |
patch -p0
cat ../mailman-2.1.9-patches/72_fblast_add_shebang.patch |
patch -p0
cat
../mailman-2.1.9-patches/75_emaillist_only_show_bad_emails.dpatch
| patch -p1
cat ../mailman-2.1.9-patches/passwd-rfc3834.patch | patch -p0
cat ../mailman-2.1.9-patches/mailman-2.1.6rc3-relpath.patch
| patch -p1



Date: 2006-10-20 08:03
Sender: ppsys

Logged In: YES
user_id=75166

Apologies, but the URL cited above had to be changed when I changed
hosting
service provider as they have co-opted the /mailman/ URI root. See
instead:

http://www.openinfo.co.uk/mm/patches/mhonarc/index.html


Date: 2006-10-20 07:50
Sender: ppsys

Logged In: YES
user_id=75166

The file INSTALL.mhonarc-mm installed by this patch contains the following

words. The same information is also on the openinfo web page whose URL is

above.

Necessary Precursors
--------------------

The following patch must be applied to Mailman before applying this patch:


1. Mailman Patch #760567: both this patch and #760567 update the
version number ...



Date: 2006-10-19 22:18
Sender: mmokrejs

Logged In: YES
user_id=696559

ribosome mailman-2.1.9 # gzip -dc
../mailman-2.1.9-patches/antispam-2.1.9-0.1.patch.gz | patch -p1
patching file Mailman/Cgi/private.py
patching file Mailman/Defaults.py.in
ribosome mailman-2.1.9 # gzip -dc
../mailman-2.1.9-patches/mhonarc-2.1.9-0.1.patch.gz | patch -p1
patching file INSTALL.mhonarc-mm
patching file Mailman/Archiver/Archiver.py
patching file Mailman/Archiver/HyperArch.py
patching file Mailman/Archiver/pipermail.py
patching file Mailman/Cgi/create.py
patching file Mailman/Defaults.py.in
Hunk #2 succeeded at 1390 (offset 73 lines).
patching file Mailman/Errors.py
patching file Mailman/Gui/Archive.py
patching file Mailman/Mailbox.py
patching file Mailman/Version.py
Hunk #1 FAILED at 39.
1 out of 1 hunk FAILED -- saving rejects to file
Mailman/Version.py.rej
patching file bin/arch
patching file bin/newlist
patching file templates/Makefile.in
patching file templates/en/author.mrc
patching file templates/en/mhonarc.mrc
patching file templates/en/subject.mrc
ribosome mailman-2.1.9 # less Mailman/Version.py.rej
***************
*** 39,45 ****
# config.pck schema version number
# DATA_FILE_VERSION = 96
# 96.1 to take account of extra moderate_inc_body list
attribute
- DATA_FILE_VERSION = 96.1

# qfile/*.db schema version number
QFILE_SCHEMA_VERSION = 3
--- 39,50 ----
# config.pck schema version number
# DATA_FILE_VERSION = 96
# 96.1 to take account of extra moderate_inc_body list
attribute
+ # DATA_FILE_VERSION = 96.1
+ # 96.2 to take account of extra which_archiver and
+ # archiver_when_wiped list attributes
+ # must be applied AFTER the modinc-2.1.7-0.1.patch
+ DATA_FILE_VERSION = 96.2
+

# qfile/*.db schema version number
QFILE_SCHEMA_VERSION = 3
ribosome mailman-2.1.9 #

So, which patch do I have to apply before applying the 2.1.9
-0.1 version of this? It is a pitty this is not yet in the
official releases. I am using mailman-20041012.tar.bz2 with
these for some years and see only 2 or three types of error
in the logs. But damn mailman ignores some subscription
confirmation messages and breaks on some non-us-ascii
encoded messages so I should upgrade to see if it helps. :((


Date: 2006-10-03 11:08
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.9-0.1.patch.gz is a MM 2.1.9 compatible version of
the patch


Date: 2006-04-19 23:01
Sender: ppsys

Logged In: YES
user_id=75166

Use mhonarc-2.1.7-0.1.patch.gz for both MM 2.1.7 and MM 2.1.8


Date: 2006-03-02 21:17
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.6-0.3.patch.gz corrects a long standing omission in the code
of
Mailman/Cgi/create.py which fails to get the initial setup of lists
created
through the web quite right. This leads to spurious errors being logged on

message archiving until bin/arch --wipe is run for such a list affected.
Lists
created with bin/newlist did not have this problem.


Date: 2005-09-23 21:45
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.6-0.2.patch.gz corrects an error in the modified code of
$prefix/bin/arch introduced by the mhonarc-2.1.6-0.1.patch.gz - the
problem was not present in patches for previous MM versions. In some
circumstances, after running $prefix/bin/arch --wipe, subsequent post to a

list my be generated using the wrong archiver. Examining index pages in
the archives of a list will show if this problem has affected that list.
Reinstallation with this revised patch and rerunning $prefix/bin/arch
--wipe
should resolve the problem.


Date: 2005-08-23 17:43
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.6-0.1.patch.gz is a MM 2.1.6 compatible version of the patch


Date: 2005-07-21 15:24
Sender: dfragos

Logged In: YES
user_id=1310569

what about MM 2.1.6?


Date: 2004-08-03 10:04
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.5-0.1.patch.gz is a MM 2.1.5 compatible version of the
patch


Date: 2004-04-19 23:53
Sender: mmokrejs

Logged In: YES
user_id=696559

I've applied this patch(mhonarc-2.1.4-0.1.patch.gz) and it
works great for me. Would someone apply to offcial cvs tree?
Thanks.


Date: 2004-01-02 15:32
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.4-0.1.patch is a MM 2.1.4 compatible version of
this patch


Date: 2003-10-22 14:32
Sender: ppsys

Logged In: YES
user_id=75166

mhonarc-2.1.3-0.6.patch better supports the use of MHonArc
-saveresources option. Also fixes minor HTML syntax error in
mhonarc.mrc and author.mrc that affected generated date and
author index pages.



Date: 2003-10-14 05:49
Sender: ppsys

Logged In: YES
user_id=75166

With mhonarc-2.1.3-0.4.patch, the default path to MHonArc itself
defined in Defaults.py is the empty string and, until this is
changed, the option to select MHonArc instead of pipermail for
per-list archiving is not offered on the web admin GUI.


Date: 2003-10-10 17:51
Sender: ppsys

Logged In: YES
user_id=75166

Under some circumstances, when a single message is passed to
MHonArc for archiving via a pipe, MHonArc may finish its
processing and exit, closing its STDIN before the Mailman
process that invoked it has finished output of the message
to the pipe. Mistakenly, the patched pipermail code treated
this as an error. mhonarc-2.1.3-0.3.patch corrects this mistake.


Attached Files ( 9 )

Filename Description Download
mhonarc-2.1.3-0.4.patch.gz Revised patch for MM 2.1.3 Download
mhonarc-2.1.3-0.6.patch.gz Revised patch for MM 2.1.3 Download
mhonarc-2.1.4-0.1.patch.gz MM 2.1.4 compatible version of the patch Download
mhonarc-2.1.7-0.1.patch.gz Patch revised for MM 2.1.7 compatibility Download
mhonarc-2.1.6-0.3.patch.gz Corrected patch for MM 2.1.6 Download
mhonarc-2.1.5-0.1.patch.gz Patch revised for MM 2.1.5 compatibility Download
mhonarc-2.1.6-0.2.patch.gz Corrected patch for MM 2.1.6 Download
mhonarc-2.1.9-0.1.patch.gz Patch revised for MM 2.1.9 compatibility Download
mhonarc-2.1.10-0.1.patch.gz Patch revised for MM 2.1.10 compatibility Download

Changes ( 15 )

Field Old Value Date By
File Added 278156: mhonarc-2.1.10-0.1.patch.gz 2008-05-17 15:59 ppsys
File Added 196343: mhonarc-2.1.9-0.1.patch.gz 2006-10-03 11:08 ppsys
File Added 169542: mhonarc-2.1.6-0.3.patch.gz 2006-03-02 21:17 ppsys
File Added 169541: mhonarc-2.1.7-0.1.patch.gz 2006-03-02 21:12 ppsys
File Deleted 146706: 2005-09-23 21:45 ppsys
File Added 150187: mhonarc-2.1.6-0.2.patch.gz 2005-09-23 21:45 ppsys
File Added 146706: mhonarc-2.1.6-0.1.patch.gz 2005-08-23 17:43 ppsys
File Added 96181: mhonarc-2.1.5-0.1.patch.gz 2004-08-03 10:04 ppsys
File Added 72056: mhonarc-2.1.4-0.1.patch.gz 2004-01-02 15:32 ppsys
File Deleted 63992: 2003-10-22 14:32 ppsys
File Added 65075: mhonarc-2.1.3-0.6.patch.gz 2003-10-22 14:32 ppsys
File Deleted 63894: 2003-10-14 05:51 ppsys
File Added 64278: mhonarc-2.1.3-0.4.patch.gz 2003-10-14 05:49 ppsys
File Added 63992: mhonarc-2.1.3-0.3.patch.gz 2003-10-10 17:51 ppsys
File Added 63894: mhonarc-2.1.3-0.2.patch.gz 2003-10-09 16:19 ppsys