From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CB66E1F46C for ; Sat, 11 Jan 2020 22:35:03 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/9] more small fixes and cleanups Date: Sat, 11 Jan 2020 22:34:54 +0000 Message-Id: <20200111223503.24473-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: One bugfix for solver, a couple of optimizations which will make sense when dealing with many and larger code repos. And some cleanups to reduce redundant code. Eric Wong (9): config: do not slurp entire cgitrc at once git: modified: don't slurp `rev-parse --branches' git: packed_bytes: use GLOB_NOSORT solver: path_a may be undef from /dev/null cgit: drop cgit_parse_hdr wrapper xapcmd: use popen_rd for running xapian-compact xt/git_async_cmp: do not slurp large OID list into memory t/solver_git: avoid uninitialized warnings in hostname generation use popen_rd for bidirectional pipes lib/PublicInbox/Cgit.pm | 9 ++------- lib/PublicInbox/Config.pm | 4 ++-- lib/PublicInbox/Git.pm | 24 +++++++++++------------- lib/PublicInbox/Import.pm | 8 +++----- lib/PublicInbox/SolverGit.pm | 4 ++-- lib/PublicInbox/V2Writable.pm | 11 +++-------- lib/PublicInbox/Xapcmd.pm | 16 +++++----------- t/solver_git.t | 12 ++++++------ xt/git_async_cmp.t | 4 ++-- 9 files changed, 36 insertions(+), 56 deletions(-) DELETE! DELETE! DELETE!