From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: Package file indexing Date: Mon, 13 Jan 2020 17:57:19 +0000 Message-ID: <87k15vck8w.fsf@cbaines.net> References: <20190314204941.GA21065@jasmine.lan> <87mulx9kuv.fsf@nckx> <87zhpx846u.fsf@ambrevar.xyz> <87bm21y2s2.fsf_-_@gnu.org> <87imw7cpe7.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> <87pnqdhkpf.fsf@gnu.org> <87imlt3hr2.fsf@ambrevar.xyz> <87png11xgi.fsf@cbaines.net> <87tv5cpypp.fsf@gnu.org> <874kx4anch.fsf@ambrevar.xyz> <87blrc1sos.fsf@cbaines.net> <87h813wktw.fsf@ambrevar.xyz> <878smf1lrr.fsf@cbaines.net> <87o8v9j1df.fsf@ambrevar.xyz> <871rs4g5vd.fsf@cbaines.net> <87ftgjqvln.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir3xv-0002LO-Dh for guix-devel@gnu.org; Mon, 13 Jan 2020 12:57:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir3xu-0002mb-9X for guix-devel@gnu.org; Mon, 13 Jan 2020 12:57:27 -0500 Received: from mira.cbaines.net ([212.71.252.8]:44536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ir3xu-0002jP-3F for guix-devel@gnu.org; Mon, 13 Jan 2020 12:57:26 -0500 In-reply-to: <87ftgjqvln.fsf@ambrevar.xyz> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Pierre Neidhardt writes: > Christopher Baines writes: > >> Maybe sqlite is one to try initially. There's guile-sqlite3 for reading >> and writing, and it can contain multiple tables as well as indexes for >> fast searching. >> >>> Where would we store this database? In /var? >> >> Per user is probably most flexible, so in the home directory somewhere. > > Hmm, but this data relates to items in the store and online, they are > global. Per-user would mean redundant packages and redundant (remote) queries. Yeah, maybe there's some way of optimising things for systems with multiple users. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl4cr39fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeiVBAAi5sSScYXMN32VVdpHUTSsi3l1c1s3S/c0WAAYQL8/JmowDXFdDyr07P2 nm6G1NVW936s21PqD1l8f0FQ4s4TpZ5lIw8RP7q61xlP150KRb2pA69UhqDqGA7m BA88rRrJlNVrJeOlctN6Evf/CGM8Q4BwDKWtSEUuh2suWk6Fp7w1bb4XDCA90AwH YzLxXuEDOniXP3KLbbQwE3kNY8briDSZiJRZZLkSdQY1EJY4h+4yDU4copbceKZ7 xRx4GFCuUZYvsxRdfeJ2JAOdoYy4DG30KlihUcDUrd/bgea50DR04QX3bSS4iFvQ 9lPJoO3QzeDYPHCM7KVSwPQZ5mK8OcNaQugyhJYLBRYgKp0VFB1MSHT9fj7orAx6 Ss/76O7xWPaqiD42mQtcXP7H9Vp3NFBT+H+C+enScRnMGHmmwuKXgPU60qUrEoH8 Sy0lNz0KYCjJmAm2tIXkQLlwRMTF+Xl7RpxuEbrBrZXpj6KTB4hulFiSFM/BkMQ7 t4/0Rf1czlO+yNLFY9FFOUJR+enDIIUPQhxEDSamf7sAcpny0smx1ctthPOr+Xls 8WCFzTVZLmu/xhEVi/bfeNlR0A9U29Lq81FqRLNTZ27bdagPS7jxd2HL2/jrfu2J Nd3+0299JrY5FWVJVS906aY+Bvd5c7D3w/SWvXhk1+vREngTV4Q= =C2Hp -----END PGP SIGNATURE----- --=-=-=--