]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: emit progress and counting via PktOp
authorEric Wong <e@80x24.org>
Tue, 2 Feb 2021 11:46:49 +0000 (11:46 +0000)
committerEric Wong <e@80x24.org>
Wed, 3 Feb 2021 07:32:34 +0000 (07:32 +0000)
commit7349713101700e488231ad9ffece8ee42de0928c
tree45de833819a70eae44219515945ce7299059fbdf
parenta9ba3d10482daea78739f3da6c8d7739ac8af3fc
lei q: emit progress and counting via PktOp

Sometimes it can be confusing for "lei q" to finish writing to a
Maildir|mbox and not know if it did anything.  So show some
per-external progress and stats.

These can be disabled via the new --quiet/-q switch.

We differ slightly from mairix(1) here, as we use stderr
instead of stdout for reporting totals (and we support
parallel queries from various sources).
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/PktOp.pm
t/lei.t
xt/lei-sigpipe.t