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 SF+1DAy7hV9UBwAA0tVLHw (envelope-from ) for ; Tue, 13 Oct 2020 14:34:52 +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 IOubCAy7hV/DTgAAB5/wlQ (envelope-from ) for ; Tue, 13 Oct 2020 14:34:52 +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 D16CA94029C for ; Tue, 13 Oct 2020 14:34:51 +0000 (UTC) Received: from localhost ([::1]:44780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSKqC-0004v2-AO for larch@yhetil.org; Tue, 13 Oct 2020 09:59:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSKps-0004hx-I7 for guix-devel@gnu.org; Tue, 13 Oct 2020 09:59:28 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:37703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSKpq-000557-C6; Tue, 13 Oct 2020 09:59:28 -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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 4BFF54000A; Tue, 13 Oct 2020 13:59:21 +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: <874kmyjkz2.fsf@gnu.org> 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> <87mu0u5ugq.fsf@ambrevar.xyz> <87o8l7u4ua.fsf@gnu.org> <878scb66b0.fsf@ambrevar.xyz> <874kmyjkz2.fsf@gnu.org> Date: Tue, 13 Oct 2020 15:59:21 +0200 Message-ID: <875z7ez0p2.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.194; envelope-from=mail@ambrevar.xyz; helo=relay2-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/13 09:59:23 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 , 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: -3.11 X-TUID: 7zfTiUmj1rzP --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Pierre Neidhardt skribis: > >> Ludovic Court=C3=A8s writes: >> >>> I would lean towards keeping it separate, so that it=E2=80=99s an optio= nal >>> feature (given that it relies on downloading an external database). >> >> I was leaning towards downloading the database with "guix pull", so that >> the "filesearch" subcommand would not download anything. > > Like substitutes, it should be an optional feature IMO, which means we > need to keep clear boundaries. We can still fetch the database with =3Dguix pull=3D while making it optional. > There=E2=80=99s also the question of whether we should have a system-wide > database so that each user doesn=E2=80=99t have to download it, especiall= y if > it=E2=80=99s relatively big. I'm leaning towards storing them in /var/guix/. Something like this: /var/guix/filesearch-databases/guix-$COMMIT.db /var/guix/filesearch-databases/guix-$OTHER_COMMIT.db > Apologies for throwing more questions than answers into the mix. :-) No problem, it's a good sign that we are going forward :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl+FsrkSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/Im8IAJASmYiueuvqyjsurgGL6RRN1uCa++d7 Sr1KZFxg+McQIPVw0esmcfanWKMkEGjwd7g7/5k1fEb2TvD8Lq7sJYS4lyI+xBeT v3j92SvdROr3Sq1Bn9EQba9bAJELMLP0a5C9Pw9MIsGrL83J9XkSwvBAbbqcYU2l 34bajdi4akHo6nHbxxn/Cv9iT8z2raah0CS3WVDx6ECNLP9NKRYMqUuMfGfx1dFD 1uhznYN5Tr8bpGieILNzY3NRJMERkGHNAe+thCgUmiolZaby86S0L/biLeMFzIru QqTsdsYSnQO0zr5gYGpnOwYDU3l96v6b+z8uM7uU9C2T6fuD9TiygZ8= =DuSq -----END PGP SIGNATURE----- --=-=-=--