]> Sergey Matveev's repositories - public-inbox.git/commit
xapcmd: quietly no-op on indexlevel=basic
authorEric Wong <e@yhbt.net>
Fri, 7 Aug 2020 01:14:00 +0000 (01:14 +0000)
committerEric Wong <e@yhbt.net>
Fri, 7 Aug 2020 23:45:34 +0000 (23:45 +0000)
commit14f9a4dc0e9d77910df364adbe329246bf1693fd
tree67bac0b0d474d5d03ff1bf6d8c0307a57c43964e
parent62068fafcb40c2f91d31cf3fa5e775ecc52a6ba8
xapcmd: quietly no-op on indexlevel=basic

I find myself mindlessly adding "-c" to public-inbox-index,
and other users may do the same.  Instead of erroring out,
we'll just silently ignore it, for now and allow
public-inbox-compact to work on SQLite-only inboxes.

We'll only check for xapian-compact if search exists, since
it won't be needed in case we support SQLite VACUUM.
lib/PublicInbox/Xapcmd.pm
t/indexlevels-mirror.t