]> Sergey Matveev's repositories - public-inbox.git/commit
xcpdb: new tool which wraps Xapian's copydatabase(1)
authorEric Wong <e@80x24.org>
Thu, 23 May 2019 09:36:46 +0000 (09:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 May 2019 17:43:50 +0000 (17:43 +0000)
commitac5a695030be64059fcb1ae826a0f3bfd2ca035b
tree316fd6d6a1ece471b8e0a6996c8e1a9c6f73d162
parentf0cc8e6795077bc7a04e579655a1c5e90c80a4e8
xcpdb: new tool which wraps Xapian's copydatabase(1)

copydatabase(1) is an existing Xapian tool which is the
recommended way to upgrade existing DBs to the latest Xapian
database format (currently "glass" for stable/released
versions).  Our use of Xapian relies on preserving document IDs,
so we'll wrap it like we do xapian-compact(1) and use the
"--no-renumber" switch.

I could not name the tool "public-inbox-copydatabase" since it
would be ambiguous as to which DB it's actually copying.  So, I
abbreviated the suffix to "xcpdb" (Xapian CoPy DataBase), which
I hope is acceptable and unambiguous.
Documentation/include.mk
Documentation/public-inbox-xcpdb.pod [new file with mode: 0644]
MANIFEST
script/public-inbox-xcpdb [new file with mode: 0755]
t/indexlevels-mirror.t