{"action":"created","issue":{"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/367","repository_url":"https://api.github.com/repos/OfflineIMAP/offlineimap","labels_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/367/comments","events_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/367/events","html_url":"https://github.com/OfflineIMAP/offlineimap/issues/367","id":168978608,"number":367,"title":"[FEATURE REQUEST] Please add the ability to write changed files to a file","user":{"login":"avar","id":45301,"avatar_url":"https://avatars.githubusercontent.com/u/45301?v=3","gravatar_id":"","url":"https://api.github.com/users/avar","html_url":"https://github.com/avar","followers_url":"https://api.github.com/users/avar/followers","following_url":"https://api.github.com/users/avar/following{/other_user}","gists_url":"https://api.github.com/users/avar/gists{/gist_id}","starred_url":"https://api.github.com/users/avar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avar/subscriptions","organizations_url":"https://api.github.com/users/avar/orgs","repos_url":"https://api.github.com/users/avar/repos","events_url":"https://api.github.com/users/avar/events{/privacy}","received_events_url":"https://api.github.com/users/avar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/labels/feature","name":"feature","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-02T20:19:33Z","updated_at":"2016-08-09T07:08:51Z","closed_at":"2016-08-08T14:20:19Z","body":"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.\r\n\r\nIt would be much more efficient if offlineimap could write a plain text file like:\r\n\r\n    NEW <path>\r\n    MODIFIED <path>\r\n    CHANGED <path>\r\n\r\nAnd 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.\r\n\r\nIf 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."},"comment":{"url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/comments/238471692","html_url":"https://github.com/OfflineIMAP/offlineimap/issues/367#issuecomment-238471692","issue_url":"https://api.github.com/repos/OfflineIMAP/offlineimap/issues/367","id":238471692,"user":{"login":"dolohow","id":1408564,"avatar_url":"https://avatars.githubusercontent.com/u/1408564?v=3","gravatar_id":"","url":"https://api.github.com/users/dolohow","html_url":"https://github.com/dolohow","followers_url":"https://api.github.com/users/dolohow/followers","following_url":"https://api.github.com/users/dolohow/following{/other_user}","gists_url":"https://api.github.com/users/dolohow/gists{/gist_id}","starred_url":"https://api.github.com/users/dolohow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolohow/subscriptions","organizations_url":"https://api.github.com/users/dolohow/orgs","repos_url":"https://api.github.com/users/dolohow/repos","events_url":"https://api.github.com/users/dolohow/events{/privacy}","received_events_url":"https://api.github.com/users/dolohow/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T07:08:51Z","updated_at":"2016-08-09T07:08:51Z","body":"> Yeah something hookable would be great. For what it's worth it's not just \"new\" mail, it's anything that currently would result in rw file operation in the Maildir, i.e.:\r\n\r\nOnce again, if application wants to observe that kind of operations, it should use fs specific features like aforementioned inotify.  This is why it was created in the first place."}}
{"actor":{"display_login":"dolohow"}}