From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CC6811F452 for ; Tue, 25 Apr 2023 11:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1682420578; bh=9J2yqUQrxMFKVvMp826LOCQH2oB6TKRmocbHgw7KQcY=; h=From:To:Subject:Date:From; b=Hbxb1W/pDLEa4QRpNSVLXsLzlHB1ZjLQC3l3jBcwccl/SjWWVHYzABtoeGt/L5dYX Q3Xik3+bk0hVEmNiTEMY8mdtKycSrwkOdnYqrdcm7G1P+eq3/5pcB2X+y4g92YmqaG iD18kbU1bknLlQaWobMsij6d2tY6MPN5H5RSScAs= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/6] cleanups and error message consistency Date: Tue, 25 Apr 2023 11:02:52 +0000 Message-Id: <20230425110258.2538658-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: A bunch of minor things leftover from working on -cindex and random code reading. Eric Wong (6): cindex: drop unneeded module use cindex: simplify tmpfile management for indexing cindex: simplify store_repo searchidxshard: use BUG error messages more consistently searchidx: reduce short-lived variables for TermGenerator emergency: make error messages more consistent lib/PublicInbox/CodeSearchIdx.pm | 41 ++++++++++--------------------- lib/PublicInbox/Emergency.pm | 21 ++++++++-------- lib/PublicInbox/SearchIdx.pm | 12 ++++----- lib/PublicInbox/SearchIdxShard.pm | 10 +++----- 4 files changed, 32 insertions(+), 52 deletions(-)