From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GAfdCHlDi1/wCQAA0tVLHw (envelope-from ) for ; Sat, 17 Oct 2020 19:18:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iHCUBHlDi1+RGwAAB5/wlQ (envelope-from ) for ; Sat, 17 Oct 2020 19:18:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.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 CDBAF94014A for ; Sat, 17 Oct 2020 19:18:16 +0000 (UTC) Received: from localhost ([::1]:37230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTriT-0005mg-2U for larch@yhetil.org; Sat, 17 Oct 2020 15:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTriG-0005mC-PC for guix-devel@gnu.org; Sat, 17 Oct 2020 15:17:57 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTriF-0004UF-3F; Sat, 17 Oct 2020 15:17:56 -0400 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 6717FE0007; Sat, 17 Oct 2020 19:17:48 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: File search progress: database review and question on triggers In-Reply-To: <874kmttdrl.fsf@ambrevar.xyz> References: <87sgcuh8rb.fsf@ambrevar.xyz> <86imd4e7cr.fsf@gmail.com> <87eenspcf8.fsf@ambrevar.xyz> <865z94dz83.fsf@gmail.com> <87zh6gns4l.fsf@ambrevar.xyz> <87zh5c7hx6.fsf@ambrevar.xyz> <87k0w4zw8q.fsf@gnu.org> <875z7oijxu.fsf@ambrevar.xyz> <87eem3u4n8.fsf@gnu.org> <875z7f6663.fsf@ambrevar.xyz> <87blh6jl32.fsf@gnu.org> <878scaz0te.fsf@ambrevar.xyz> <87y2k9g6ta.fsf@gnu.org> <87eem1xn4i.fsf@ambrevar.xyz> <87k0vq79ai.fsf@gnu.org> <874kmttdrl.fsf@ambrevar.xyz> Date: Sat, 17 Oct 2020 21:17:47 +0200 Message-ID: <87v9f8r7ac.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/17 15:17:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Mathieu Othacehe Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.89 X-TUID: 1g1dSQQzjHkr --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: > So we could do the same with `guix filesearch`: > > - First try the entry in the database. > > - If not there, try query-path-info and if it succeeds, populate the > database. > > - If query-path-info does not succeed, try our new > query-substitutable-filesearch-info. > > That would work, no? Oops, I must have been distracted when writing this, of course this cannot work "just in time" because we `guix filesearch' does not take the local package as argument (unlike `guix size'). The local package must be indexed right after it's built, there is no way around it. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl+LQ1sSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/nC8IAJLnFnSo1pTfbqDXk0q4ALUAoHNFdDyc avvH4r61od8Mk8Njs83a4SVcv9G3yLgSm6gQr5yqoXJV96X52+CLE2VN6hSDDK/Q WaVWkDagztuw3JCgsOmitCWfTXmZnPn5qvJqbKJnpHB+JYN0dOz9Yp3p0cjwkN2q E+8DJSEtJd+1Nssa8/ab12N20XZEf3l+QyY99KaeesaFWjgKtb4Oa4rYvJ6rhJNV SM8qvS1dreZi6QasmQBCPziWrNybXWbHoQoiJ+sJrg8jX2ma4xSY/RyWANJbYLHq 7F6NBM8/aZvkSBCSB6wo9+SQ8iZoycJbkDeqsBOpaArVC4aFEi5DquE= =y3QB -----END PGP SIGNATURE----- --=-=-=--