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-Status: No, score=-4.0 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 9773F1F4B4; Fri, 18 Dec 2020 20:23:13 +0000 (UTC) Date: Fri, 18 Dec 2020 20:23:13 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH 26/26] lei: extinbox: start implementing in config file Message-ID: <20201218202313.GA7418@dcvr> References: <20201218120950.23272-1-e@80x24.org> <20201218120950.23272-27-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201218120950.23272-27-e@80x24.org> List-Id: Will squash these changes in before pushing: diff --git a/MANIFEST b/MANIFEST index e2d4ef72..f0847e3c 100644 --- a/MANIFEST +++ b/MANIFEST @@ -162,6 +162,7 @@ lib/PublicInbox/InboxWritable.pm lib/PublicInbox/Isearch.pm lib/PublicInbox/KQNotify.pm lib/PublicInbox/LEI.pm +lib/PublicInbox/LeiExtinbox.pm lib/PublicInbox/LeiSearch.pm lib/PublicInbox/LeiStore.pm lib/PublicInbox/Linkify.pm diff --git a/lib/PublicInbox/LeiExtinbox.pm b/lib/PublicInbox/LeiExtinbox.pm index 2f52b115..c2de7735 100644 --- a/lib/PublicInbox/LeiExtinbox.pm +++ b/lib/PublicInbox/LeiExtinbox.pm @@ -20,7 +20,6 @@ sub lei_ls_extinbox { $boost{$loc} = $cfg->{"$sec.boost"}; push @loc, $loc; } - my $out = $self->{1}; use sort 'stable'; # highest boost first, but stable for alphabetic tie break for (sort { $boost{$b} <=> $boost{$a} } sort keys %boost) {