From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0CA8E1F404 for ; Thu, 29 Mar 2018 20:17:21 +0000 (UTC) From: "Eric Wong (Contractor, The Linux Foundation)" To: meta@public-inbox.org Subject: [PATCH 0/4] tooling updates for v2 Date: Thu, 29 Mar 2018 20:17:16 +0000 Message-Id: <20180329201720.7165-1-e@80x24.org> List-Id: I suppose people will use -mda for large mailing lists, too (as opposed to -watch); so it now supports v2. After importing a giant archives into a v2 inbox, the new -compact wrapper can consolidate and reduce Xapian space (and FD) overhead. Eric Wong (Contractor, The Linux Foundation) (4): import: run_die supports redirects as spawn does v2writable: initializing an existing inbox is idempotent public-inbox-compact: new tool for driving xapian-compact mda: support v2 inboxes Documentation/public-inbox-compact.pod | 50 ++++++++++++++++++ MANIFEST | 4 ++ lib/PublicInbox/Emergency.pm | 3 +- lib/PublicInbox/Import.pm | 6 +-- lib/PublicInbox/V2Writable.pm | 1 - script/public-inbox-compact | 94 ++++++++++++++++++++++++++++++++++ script/public-inbox-init | 17 +++++- script/public-inbox-mda | 14 ++++- t/convert-compact.t | 57 +++++++++++++++++++++ t/init.t | 32 +++++++++++- t/v2mda.t | 59 +++++++++++++++++++++ 11 files changed, 327 insertions(+), 10 deletions(-) create mode 100644 Documentation/public-inbox-compact.pod create mode 100755 script/public-inbox-compact create mode 100644 t/convert-compact.t create mode 100644 t/v2mda.t -- EW