From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WC47B/IFkmO9TQAAbAwnHQ (envelope-from ) for ; Thu, 08 Dec 2022 16:42:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id /A4cB/IFkmPoDwAAauVa8A (envelope-from ) for ; Thu, 08 Dec 2022 16:42:42 +0100 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 D456328BC for ; Thu, 8 Dec 2022 16:42:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3J1Y-0000fh-Qk; Thu, 08 Dec 2022 10:41:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3J1X-0000fU-TF for guix-devel@gnu.org; Thu, 08 Dec 2022 10:41:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3J1X-0001O7-He; Thu, 08 Dec 2022 10:41:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=LE5p0gGxXLgA/830KUgJ+jDv0UFVFHbvEtPzxkY0pbE=; b=GCVfbUMi4SnUCOU2qdU7 xFxv0TvJgLbrj7FljPZRlFO/seqJGy3smJxqVfWT0h+xPxNv/mBIKqyUhCNKniOKag3X2dy0YrUYO 9uPkHDBIsZU/qPNKVecPCpoGvvOH9bX5rQteapYBgclsVfyUElIpdEV1Kxpjn9BSBsabQGO7ZqFYT s7oXuq/c90req6go0msn8OX+CGsiZrc8FpQRVSP5TWZOgpuV42kBtbB3KsEotTr8n00lNCX58ay67 95QMaFit9SXtBQPXb880vjXuvotZpRgnaUeYtMg+ye5VDfePA+Dj9iHfhTOjCHeKi0qreu3OXS535 XulsoBk+6djqtA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3J1W-0003gD-VC; Thu, 08 Dec 2022 10:41:23 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "(" Cc: "Antoine R. Dumont (@ardumont)" , Subject: Re: File search References: <87pmd1r8kt.fsf@gmail.com> <87mt85r7h8.fsf@gmail.com> <87lenonydz.fsf@gnu.org> <877cz7qg80.fsf@gmail.com> <878rjkn949.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 Frimaire an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du Lierre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 08 Dec 2022 16:41:20 +0100 In-Reply-To: (paren@disroot.org's message of "Tue, 06 Dec 2022 18:27:10 +0000") Message-ID: <87lenhdhsv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670514161; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LE5p0gGxXLgA/830KUgJ+jDv0UFVFHbvEtPzxkY0pbE=; b=FdATiuG8TmBTybraWuuKimbsTAWSk3XDDEUZnWxPY4iVykSeA9XNwRu/mQVmXBiDDGBCmU 0G0Tt1uzQIn3NV79trwA2nrPLh8NKiUjHT1B1aI8OH5xH0f7wpq5J9tw/4i+RXxz+Ix9oO CVHzW3m38IlCWKIOgA4hXBZizCRYCE/cpeEyugayirKYAU/E2h9E40+rMdaXitUwJgFD05 qGRNCJ3MqxN6nw2A1Ivt8Sf+3GCvDRpZxJ2eJixU/D5x5a3NeLJlDvDZYYrAyVJToWegpm Ve0hu3GvbBfNxNOQcOq9pjei3PJUfI+U+z9ATFCMaa8cOGfv8H4jr4MSQ5jeWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670514161; a=rsa-sha256; cv=none; b=T8WRtj5oceIJFqKnDy1Be0UAm1y2xiURE1RtJ1dnRv0lWnIzvCuDOFgz+gwCfqXhG9A97X 5xczFdgeX0QU4xqxPXgqyKqiMHoccL7tdYcX8hek/eRBrsw+DfdWrPOeq3Z0vqiFt39+DB e0ZF1nvTykQS3xcHH6vqPNT5Qrs5IQ/iJt47qajHEH6G73/zk6iwmyP/xI4g0KraQsB2rs pw/lB8AklibAKZff9OuQFGFKIH4/fKUZh4Zcvq/m4te5P+C2QvIpAF/PhS4XBgKamFTZdb CEWx7x93ztnWFmScu6Ohhp1MC/C5Fg/zCIDmHadJOmS8Ap0wa4qNbDJlvp6f4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=GCVfbUMi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=GCVfbUMi; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D456328BC X-Spam-Score: -7.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: iiqQC9Awdiul Hi, "(" skribis: > Someone on IRC suggested that we use GraphQL to allow us to request > that a substitute server search for files in a database constructed > using all the packages that have been built. > > I suggest something like this: > > # on the client > when [built a package derivation] > [add files to local database] > > when [user ran guix find] > if [send find request to substitute server] didn't work > [search through local database] > [display result] Upthread I started the discussion of criteria for file search: https://lists.gnu.org/archive/html/guix-devel/2022-01/msg00354.html Among them, there=E2=80=99s privacy and support for off-line operation. To= meet these criteria, I think we should refrain from sending individual file search requests to the server, and instead have the option of fetching a full database. Ludo=E2=80=99.