From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8CM9EyXdrl6YIQAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 15:03:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qBceBDDdrl5KLgAAbx9fmQ (envelope-from ) for ; Sun, 03 May 2020 15:03:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 09EED9445DB for ; Sun, 3 May 2020 15:03:10 +0000 (UTC) Received: from localhost ([::1]:37510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVG98-0005r8-6T for larch@yhetil.org; Sun, 03 May 2020 11:03:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVG92-0005o6-0C for guix-patches@gnu.org; Sun, 03 May 2020 11:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVG91-0000lM-KU for guix-patches@gnu.org; Sun, 03 May 2020 11:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVG91-0005Ch-H3 for guix-patches@gnu.org; Sun, 03 May 2020 11:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#39258] [PATCH v4 3/3] DRAFT guix package: Use cache in 'find-packages-by-description'. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 May 2020 15:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 39258@debbugs.gnu.org Cc: arunisaac@systemreboot.net, mail@ambrevar.xyz, ludo@gnu.org, zimoun Received: via spool by 39258-submit@debbugs.gnu.org id=B39258.158851814919915 (code B ref 39258); Sun, 03 May 2020 15:03:03 +0000 Received: (at 39258) by debbugs.gnu.org; 3 May 2020 15:02:29 +0000 Received: from localhost ([127.0.0.1]:57644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVG8T-0005B8-0N for submit@debbugs.gnu.org; Sun, 03 May 2020 11:02:29 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVG8R-0005AW-3K for 39258@debbugs.gnu.org; Sun, 03 May 2020 11:02:27 -0400 Received: by mail-wr1-f67.google.com with SMTP id f13so17774925wrm.13 for <39258@debbugs.gnu.org>; Sun, 03 May 2020 08:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iUk5aRBWe+0sYmv5/HX8bzBOaoivPCZk8Goly8Oin4A=; b=kXrcXCCe7XIBPjLQgMIyH2n2sUT5eM7cCLF3JKEPEQFq7FJPXaOLU0DYTM4v1R/XX/ HHTZxgoo6CWDhzpSmzSrFJmfU+wOngIY48XnFB6GZE8x+PuRnALU3HlBILJcWzZxhMhf HasSQmgDS6gUCdjedF6Z2WFoCKKCNdDNch3vWgpJV9M+MzyH3yYLTMbB9o6quOBqeFHx W8dHuvcB80215JeAHJ7dz9ZWGKzOqs2Lpr827Ilm+Wsk2l5+PgE2+NtzoskGAHQUvOQv n5XLVtl70ASvXiKAQSbu8UCg1EZBNQ9TBjgtrU50mtMfw/VXHeld8jazBWK5dRep/Q6H zeIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iUk5aRBWe+0sYmv5/HX8bzBOaoivPCZk8Goly8Oin4A=; b=YLoJEEaFjmEgFE+33mRONwSDspcOE8FmHWWG7HQJ66Xn4khB6OUWZzHXnk2rcfR5iM MeXdugDjDpoR+sOzI39ps42aish0XiSyME+XFJ+k4JFY2+bK3V1zSpa1VuhU4aVjV3Pv RjkhI0ezAZ5ueH347upkS8n7MSYbUF3jV9mo3kTFT5GJZ2rgcjXf/pkOQ4HiYPJr6W3E /HYMvJAv3ADgPUvzOWQQWR/tWEDwFt4QQUVuNk1kgtZU8ShjP0xCn4ViBlOUAizhNCXy 2+WrS6/s/jR6NxTfCZT8WKOacj7pfCMLftyaAKLPa5HszBfC4ZYsVT0nJKpde4QWGNoM 4Ndg== X-Gm-Message-State: AGi0Pua/lFzib4rTRNGdBI4Dc/+6dbrfUoOMt4mdCVsmwFWfiaPdXvX8 yU2eu+pt4xsJdydiYePtkojz7WD8 X-Google-Smtp-Source: APiQypI/fDORsUp1o7/lXlNckqXRq+1eqXZp7lUQCbp3F3iPATsw08yflmm2IUvJg8Nvldc+NRfNaA== X-Received: by 2002:a5d:6b85:: with SMTP id n5mr14583110wrx.370.1588518141213; Sun, 03 May 2020 08:02:21 -0700 (PDT) Received: from localhost.localdomain (57.246.195.77.rev.sfr.net. [77.195.246.57]) by smtp.gmail.com with ESMTPSA id x13sm9787829wmc.5.2020.05.03.08.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 May 2020 08:02:20 -0700 (PDT) From: zimoun Date: Sun, 3 May 2020 17:01:54 +0200 Message-Id: <20200503150154.26532-4-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200503150154.26532-1-zimon.toutoune@gmail.com> References: <20200503150154.26532-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: 5.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=kXrcXCCe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [5.59 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49374809743678]; FORGED_SENDER_MAILLIST(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; BROKEN_CONTENT_TYPE(1.50)[]; RCPT_COUNT_FIVE(0.00)[5]; R_MISSING_CHARSET(2.50)[]; DKIM_TRACE(0.00)[gmail.com:-]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; FROM_NEQ_ENVFROM(0.00)[zimontoutoune@gmail.com,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[39258@debbugs.gnu.org]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; FREEMAIL_CC(0.00)[systemreboot.net,ambrevar.xyz,gnu.org,gmail.com]; RCVD_COUNT_SEVEN(0.00)[9]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: vm6VS0RmyXHT --- guix/scripts/package.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index badb1dcd38..6b982eb172 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -174,7 +174,7 @@ hooks\" run when building the profile." "Return a list of pairs: packages whose name, synopsis, description, or output matches at least one of REGEXPS sorted by relevance, and its non-zero relevance score." - (let ((matches (fold-packages (lambda (package result) + (let ((matches (fold-packages* (lambda (package result) (if (package-superseded package) result (match (package-relevance package -- 2.26.1