From 1323196d1df67db5cb47a171a60236049c1e5ce5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 16 Sep 2021 20:56:39 -0500 Subject: lei refresh-mail-sync: replace prune-mail-sync Merely pruning mail synchronization information was insufficient for Maildir: renames are common in Maildir and we need to detect them after-the-fact when lei-daemon isn't running. Running this command could make "lei index" far more useful... v2: close R/O mail_sync.sqlite3 dbh before fork Keeping the DB file handle open across fork can cause bad things to happen even if we don't use it since sqlite3 itself still knows about it (but doesn't know Perl code doesn't know about it). --- MANIFEST | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 640eabd1..9f11f2f9 100644 --- a/MANIFEST +++ b/MANIFEST @@ -235,9 +235,9 @@ lib/PublicInbox/LeiNoteEvent.pm lib/PublicInbox/LeiOverview.pm lib/PublicInbox/LeiP2q.pm lib/PublicInbox/LeiPmdir.pm -lib/PublicInbox/LeiPruneMailSync.pm lib/PublicInbox/LeiQuery.pm lib/PublicInbox/LeiRediff.pm +lib/PublicInbox/LeiRefreshMailSync.pm lib/PublicInbox/LeiRemote.pm lib/PublicInbox/LeiRm.pm lib/PublicInbox/LeiRmWatch.pm @@ -450,6 +450,7 @@ t/lei-q-kw.t t/lei-q-remote-import.t t/lei-q-save.t t/lei-q-thread.t +t/lei-refresh-mail-sync.t t/lei-sigpipe.t t/lei-tag.t t/lei-up.t -- cgit v1.2.3-24-ge0c7