[Mailman-Developers] GSoc Project : Doubt regarding listarchiverset

Anirudh Dahiya anirudhdahiya9 at gmail.com
Wed Jun 1 06:30:59 EDT 2016


Hi
I am have built an interface(IArchiver) as part of my gsoc project,which is
supposed to work on the basis of message queues. I am intending to use the
same interface for multiple archives, using separate queues for each
archive in this system.
So for this I am registering different archivers(say ArchiverA and
ArchiverB) in the config(mailman.cfg), with their class parameter being the
same. But it has come to my notice, that the Archiver runner while
enumerating the archieverset(IListArchiverSet), builds the set based on
their class name, i.e. it builds a dictionary where the key is determined
by the class of the archiver interface, and not the actual archive. I feel
this makes us use a separate interface for each archive, and my design goes
against that(my design wants to use the same class for multiple archives).
Is there a special reason such a design was chosen, and if my idea seems
fine, should I go ahead and make some changes in the mailman core. If so,
please provide suggestions on how you would like me to go about it.
Thanks
Anirudh Dahiya


More information about the Mailman-Developers mailing list