[Erp5-report] r42767 jp - in /experimental/bt5/erp5_email_reader: DocumentTemplateItem/ bt/
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Jan 29 18:51:49 CET 2011
Author: jp
Date: Sat Jan 29 18:51:49 2011
New Revision: 42767
URL: http://svn.erp5.org?rev=42767&view=rev
Log:
some comments added to explain how a perfect implementation should be architectured
Modified:
experimental/bt5/erp5_email_reader/DocumentTemplateItem/EmailReader.py
experimental/bt5/erp5_email_reader/bt/revision
Modified: experimental/bt5/erp5_email_reader/DocumentTemplateItem/EmailReader.py
URL: http://svn.erp5.org/experimental/bt5/erp5_email_reader/DocumentTemplateItem/EmailReader.py?rev=42767&r1=42766&r2=42767&view=diff
==============================================================================
--- experimental/bt5/erp5_email_reader/DocumentTemplateItem/EmailReader.py [utf8] (original)
+++ experimental/bt5/erp5_email_reader/DocumentTemplateItem/EmailReader.py [utf8] Sat Jan 29 18:51:49 2011
@@ -247,16 +247,16 @@ class EmailReader(ExternalSource):
although this design approach is still uncertain (XXX)
TODO:
- - rename to EmaiLReader
- - make protocol choice modular (ex. IMAP, IMAPS, POP, POPS, etc.)
- through server classes (DONE)
- - register transactions to implement clean logout / close (DONE)
- make server classes resistant to network failure
(ie. if DNS is down, there is no reason to set activity to -2
since the next crawl will download again)
- should we subscribe to IMAP folders?
- if the imaplib using UID really? probably not, only sequence numbers
API must thus be revised
+ - refactor using the future merged architecture for crawling
+ and synchronization (ie. crawling = sync)
+ - consider integration with ERP5 Connect approach and data
+ tiling as in data publica, instead of ad hoc implementation
"""
# CMF Type Definition
meta_type = 'ERP5 Email Reader'
Modified: experimental/bt5/erp5_email_reader/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_email_reader/bt/revision?rev=42767&r1=42766&r2=42767&view=diff
==============================================================================
--- experimental/bt5/erp5_email_reader/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_email_reader/bt/revision [utf8] Sat Jan 29 18:51:49 2011
@@ -1 +1 @@
-20
\ No newline at end of file
+21
\ No newline at end of file
More information about the Erp5-report
mailing list