OfflineIMAP/offlineimap

introduce hook to track down any change to local Maildirs

Open

#367 建立於 2016年8月2日

在 GitHub 查看
 (13 留言) (1 反應) (1 負責人)Python (1,765 star) (373 fork)batch import
featuregood first issueneed contributor!

描述

Some programs like "mu-index" will consume the Maildir that offlineimap writes out. Currently many of them have to scan the entire Maildir on every invocation to find what files have changed.

It would be much more efficient if offlineimap could write a plain text file like:

NEW <path>
MODIFIED <path>
CHANGED <path>

And these other tools could simply atomically move that file out of the way (offlineimap would have to re-open the file for every write) and consume the file list.

If you're not interested in hacking this up I'd be interested in doing it myself with my limited experience of how offlineimap works, pointers about where in the code to put this would be most welcome.

貢獻者指南

introduce hook to track down any change to local Maildirs · OfflineIMAP/offlineimap#367 | Good First Issue