Author: barry.warsaw
Date: Mon Mar 21 12:15:51 2005
New Revision: 43

Modified:
   trunk/mailman/src/mailman/database/schema.py
Log:
added a comment about content_uri

Modified: trunk/mailman/src/mailman/database/schema.py
==============================================================================
--- trunk/mailman/src/mailman/database/schema.py        (original)
+++ trunk/mailman/src/mailman/database/schema.py        Mon Mar 21 12:15:51 2005
@@ -185,6 +185,18 @@
     header_in_reply_to  = UnicodeCol(default=None)
     # Internal values
     received_date       = DateTimeCol(default=datetime.datetime.now)
+    # XXX IWBNI we could make content_uri an alternate id, however that
+    # requires that it not be NULL, otherwise you'll get an IntegrityError.
+    # We're not yet sure whether we will be able to (or want to) calculate the
+    # content_uri when we create the Message object.
+    #
+    # RFC 2369 defines the List-Archive: header, the content_uri should be a
+    # unique value, which combined with the List-Archive value could be used
+    # to fine the message.  content_uri should be calculable from some small
+    # subset of headers that are unlikely to be changed in transport.  That
+    # way any external system could arrive at the same content_uri knowing
+    # only the header of the message and the hash function.  Those headers (at
+    # least) should be stored in this table (see above).
     content_uri         = UnicodeCol(default=None)
     collection          = RelatedJoin('MessageCollection')
 
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to