The start of a message store definition. Whether this will end up being used
commit2e4314fc178f34170b82aaa2f8ed4d0f5440f4f4
authorBarry Warsaw <barry@python.org>
Sun, 22 Jul 2007 23:52:34 +0000 (22 19:52 -0400)
committerBarry Warsaw <barry@python.org>
Sun, 22 Jul 2007 23:52:34 +0000 (22 19:52 -0400)
treefa45f70d2643a8f42d727feb9de694e7c78ac1a8
parent8158f01c930d856b0ff892aab53cfbbcc25c85ec
The start of a message store definition.  Whether this will end up being used
for the archive or not is left to be seen.

Define an interface, test, and implementation of a basic message store using
globally unique identifiers of the form: archive/hash/seqno

- archive is the base url of the archive, e.g. http://archives.example.com.
  This is available in the List-Archive header.
- hash is the base32 encoded sha1 hash of the message's Message-ID and Date
  headers, which it must have.  This is available in the X-List-ID-Hash
  header.
- seqno is a sequence number specific to the archive which will uniquely
  identify the message should there be a Message-ID/Date collision.  this is
  available in the X-List-Sequence-Number header.

Added a MESSAGES_DIR variable to the config.

Added a .message_store attribute to the config.
Mailman/configuration.py
Mailman/database/__init__.py
Mailman/database/messagestore.py [new file with mode: 0644]
Mailman/database/model/__init__.py
Mailman/database/model/message.py [new file with mode: 0644]
Mailman/docs/archives.txt
Mailman/docs/messagestore.txt [new file with mode: 0644]
Mailman/interfaces/messagestore.py [new file with mode: 0644]