[Mailman-Developers] Speaking about kitties (or archivers)
Toshio Kuratomi
a.badger at gmail.com
Thu May 31 19:28:52 CEST 2012
On Thu, Apr 26, 2012 at 06:36:02PM +0200, Pierre-Yves Chibon wrote:
>
> The current version of HK relies on mongodb for the storage, but I want
> to test HK with a traditionnal SQL backend. So I have started to work on
> this.
>
> The interface I defined is there:
> https://github.com/pypingou/kittystore/blob/master/kittystore/__init__.py
>
> And its implementation using SQLAlchemy is there:
> https://github.com/pypingou/kittystore/blob/master/kittystore/kittysastore.py
>
> The mongodb implementation isn't done yet but should be quite trivial to
> do (most function from the API were coming from it).
>
> The idea is that now, we can have different backend and each module
> needing access to the emails can use the API directly without having to
> bother about which storage system is behind.
>
Wacky looked at this today and asked if we should have the x-message-id-hash
as another key value to look up an email. That seems proper to me. Would
we want a separate function or to overload get_email() so that it can either
take message_id or message_id_hash?
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/mailman-developers/attachments/20120531/5baaa0bb/attachment.pgp>
More information about the Mailman-Developers
mailing list