]> Sergey Matveev's repositories - public-inbox.git/commit
net_reader: NNTP: remove article numbers from mail_sync folders
authorEric Wong <e@80x24.org>
Sun, 19 Sep 2021 22:51:57 +0000 (17:51 -0500)
committerEric Wong <e@80x24.org>
Sun, 19 Sep 2021 22:52:45 +0000 (22:52 +0000)
commit41c3eed65eb03256b0916cfdbf43723e070a633a
tree9cd607c386a42482b8a707969b238e0cb58eee94
parenta1ab37f1c67ad06faf03186361263adf25bc1efe
net_reader: NNTP: remove article numbers from mail_sync folders

NNTP article numbers are stored separately from folder names
in mail_sync.sqlite3.

Recovering from this is optional, worse case is wasting
bandwidth refetching some messages.  To (optionally) recover
from this, use:

lei forget-mail-sync $URL_WITH_ARTNUMS

Some articles will be refetched on the next import, but
duplicate data won't be indexed in Xapian.
lib/PublicInbox/NetReader.pm
t/lei-import-nntp.t