From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Package file indexing Date: Mon, 13 Jan 2020 15:28:20 +0100 Message-ID: <87ftgjqvln.fsf@ambrevar.xyz> 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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38218) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir0hc-0004Ik-S9 for guix-devel@gnu.org; Mon, 13 Jan 2020 09:28:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir0hb-0007dT-PF for guix-devel@gnu.org; Mon, 13 Jan 2020 09:28:24 -0500 In-Reply-To: <871rs4g5vd.fsf@cbaines.net> 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: Christopher Baines Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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) quer= ies. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4cfoQACgkQm9z0l6S7 zH9RAAf/WkRbVYSpdMrKq7Cyq8PE6Wt8Y3PB0NI1YlW/8TMb9UzH8DIBOyCVQNi3 NI8u4jXvZtYv1N2ZoBlCFhsRtO2k+wDhtyIo6gxwmmNE6GhVfbneZOtxL5Dr0w8z 3+xGYNBJ+dELkSZddGtMNaxuM4mrwedeespAcUd6SKij5RfM70bUT8KLo1C9o2Qv csH/rjn1AUTzSul452Lrhc/Usd24GIKjyCk6HE2rNdZDrOkSlIdP8pdsWV+XVCep Ed6P+w4G1wZQZkPprfNwtuW48jwvLgUfAEMxIkqldWtG84pO4zCuy76Qw6RXZuu7 u/jTZqT+MiRDpWHIT6NTkVXf/9/SEw== =7qsv -----END PGP SIGNATURE----- --=-=-=--