]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: support mbox locking by default
authorEric Wong <e@80x24.org>
Fri, 26 Feb 2021 09:41:38 +0000 (22:41 -1100)
committerEric Wong <e@80x24.org>
Fri, 26 Feb 2021 20:50:50 +0000 (16:50 -0400)
commit3104d7492aa4aee07455dcad7449f786188afdf5
tree037d7e28dadca739e6d48ec98e7fa08a4ac2327b
parent5d31cff1f1b3d59e4c2be534183aeda3725a7649
lei q: support mbox locking by default

While this diverges from from mairix(1) behavior, it's the safer
option.  We'll follow Debian policy by supporting fcntl and
dotlocks by default (in that order).  Users who do not want
locking can use "--lock=none"

This will be used in a read-only capacity for watching
mailboxes for keyword updates via inotify or EVFILT_VNODE.
MANIFEST
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/MboxLock.pm [new file with mode: 0644]
t/lei-q-remote-import.t
t/mbox_lock.t [new file with mode: 0644]