]> Sergey Matveev's repositories - public-inbox.git/commit
index: --reindex w/ --{since,until,before,after}
authorEric Wong <e@80x24.org>
Tue, 5 Oct 2021 09:40:17 +0000 (09:40 +0000)
committerEric Wong <e@80x24.org>
Tue, 5 Oct 2021 23:09:45 +0000 (23:09 +0000)
commitef68ada3b207fdb511ebe6d33b072a84277e6cd6
tree1154347962fccb85bbf0d8fcbb6489f4045448a7
parent88344a50f62a39dcb5673b0aa42ebec7ec44bd71
index: --reindex w/ --{since,until,before,after}

This lets administrators reindex specific time ranges
according to git "approxidate" formats.  These arguments
are passed directly to underlying git-log(1) invocations
and may still reach into old epochs.

Since these options rely on git committer dates (which we infer
from the most recent Received: header), they are not guaranteed
to be strictly tied to git history and it's possible to
over/under-reindex some messages.  It's probably not a major
problem in practice, though; reindexing a few extra messages
is generally harmless aside from some extra device wear.

Since this currently relies on git-log, these options do not
affect -extindex, yet.
Documentation/public-inbox-index.pod
MANIFEST
lib/PublicInbox/Admin.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm
script/public-inbox-index
t/reindex-time-range.t [new file with mode: 0644]