[tech] mailman2 vs python3, mailfish/mail9 Re: Is the tech list working?

Nick Bannon nick at ucc.gu.uwa.edu.au
Thu Apr 6 06:59:04 AWST 2023


On Wed, Apr 05, 2023 at 08:20:39PM +0800, Mark Tearle wrote:
> Hi folks
> Please don't dist-upgrade mailfish.    

Hoping to make the new VM mail9 a rebuildable testbed/CI host (details
are in uccpass).

re:
https://discord.com/channels/264401248676085760/264401248676085760/983962991047368704
https://discord.com/channels/264401248676085760/264401248676085760/1093151204336488521

> UCC mailman is old and brittle and requires Python 2.   Python 2 support is bad in bullseye and will be even worse in bookworm.

bookworm is nearly here - however... mailman2 in Python3 is a thing that
we could use for a while:

https://github.com/jaredmauch/mailman2-python3
https://lists.debian.org/debian-python/2022/08/msg00075.html
https://lists.debian.org/msgid-search/[email protected]

One of the things that stop mailman3 being an easy drop-in upgrade
is the change in archiving - I'd like to keep our current pipermail
structure for at least a while, even if we were to add something new,
like HyperKitty. Both are available in mailman2, above, and I think at
least pipermail can be and has been plucked out and run independently,
which would make things simpler.

https://github.com/jaredmauch/mailman2-python3/blob/main/Mailman/Archiver/pipermail.py
https://github.com/jaredmauch/mailman2-python3/blob/main/Mailman/Archiver/HyperArch.py

Is the above msgid-search a Debian tweak? That'd be a lovely feature to add,
I'm not sure exactly where all the code is for that.

> I managed to build a fresh package and dependencies so we could get things working again.
> 
> Thanks to [MPT] for his assistance.
> 
> 
> Also, for the moment, please don't run the UCC ansible SOE against mailfish as things will be broken there too.   The playbook has not been tested on bullseye and there's a little bit of work I need to do to add the mailman build changes/etc to the the SOE.   [1]
> 
> Cheers,
> Mark
> [1] But not tonight, as I've burnt my hours for the day fixing this ...
> --
> Mark Tearle <mtearle at ucc.asn.au>
> 
> On Wed, 5 Apr 2023, at 12:56 PM, James Arcus wrote:
> > Hi there,
> > Is this thing on? Mailfish upgrades may have broken the lists...
> List Archives: http://lists.ucc.asn.au/pipermail/tech
> Unsubscribe here: https://lists.ucc.gu.uwa.edu.au/mailman/options/tech/nick%40ucc.gu.uwa.edu.au

Nick.

-- 
   Nick Bannon   | "I made this letter longer than usual because
nick-sig at rcpt.to | I lack the time to make it shorter." - Pascal


More information about the tech mailing list