]> Sergey Matveev's repositories - public-inbox.git/commit
import: force Message-ID generation for v1 here
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:14:46 +0000 (08:14 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Mon, 19 Mar 2018 08:16:34 +0000 (08:16 +0000)
commit12c3eb5b2b0860292a32d5743ea0157996e9a4b9
treee77046682726121988548e0ef968cf33233f3d6d
parent1cc19f3f8ffe37e341e219884c6856210ba6fa52
import: force Message-ID generation for v1 here

This allows us to share code for generating Message-IDs
between v1 and v2 repos.

For v1, this introduces a slight incompatibility in message
removal iff the original message lacked a Message-ID AND
the training request came from a message which did not
pass through the public-inbox:

The workaround for this would be to reuse the bad message from
the archive itself.
lib/PublicInbox/Import.pm
lib/PublicInbox/V2Writable.pm
lib/PublicInbox/WatchMaildir.pm