]> Sergey Matveev's repositories - public-inbox.git/commit
v2: generate better Message-IDs for duplicates
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 18 Apr 2018 09:13:10 +0000 (09:13 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 18 Apr 2018 09:14:14 +0000 (09:14 +0000)
commit69329215485cf2ab9d8cd1fa7faf65d8ec42dc0b
treedcf2a469711f8e61ce428f521d5e57d13a2e97c7
parent2a49233ab00a366251974824658a20bf68e519da
v2: generate better Message-IDs for duplicates

While hunting duplicates, I noticed a leading '-' in some
Message-IDs as a result of RFC4648 encoding.  While '-' seems
allowed by RFC5322 and URL-friendly (RFC4648), they are uncommon
and make using Message-IDs as arguments for command-line tools
more difficult.  So prefix them with a datestamp to at least
give readers some sense of the age.  And shorten the "localhost"
hostname to "z" to save space.
MANIFEST
lib/PublicInbox/Import.pm
lib/PublicInbox/V2Writable.pm
scripts/dupe-finder [new file with mode: 0644]
t/v2writable.t