From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oLlHJxbD7mEg2QAAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 16:17:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iDXJIxbD7mFhCwEAauVa8A (envelope-from ) for ; Mon, 24 Jan 2022 16:17: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 554183D15A for ; Mon, 24 Jan 2022 16:17:42 +0100 (CET) Received: from localhost ([::1]:38804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC16D-00080A-IP for larch@yhetil.org; Mon, 24 Jan 2022 10:17:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC164-0007zP-5h for guix-devel@gnu.org; Mon, 24 Jan 2022 10:17:32 -0500 Received: from [2a0c:e300::1] (port=49824 helo=hera.aquilenet.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC162-0006bP-F6 for guix-devel@gnu.org; Mon, 24 Jan 2022 10:17:31 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 19F12289; Mon, 24 Jan 2022 16:17:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3k-maimCWAvR; Mon, 24 Jan 2022 16:17:27 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3F4F48B; Mon, 24 Jan 2022 16:17:27 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: Preservation of Guix report 2022-01-16 References: <864k5yoim0.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Pluvi=C3=B4se?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= 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: Mon, 24 Jan 2022 16:17:26 +0100 In-Reply-To: <864k5yoim0.fsf@gmail.com> (zimoun's message of "Thu, 20 Jan 2022 10:35:03 +0100") Message-ID: <871r0xtb7d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: + X-Rspamd-Server: hera X-Rspamd-Queue-Id: 19F12289 X-Spamd-Result: default: False [1.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a0c:e300::1 (failed) Received-SPF: softfail client-ip=2a0c:e300::1; envelope-from=ludo@gnu.org; helo=hera.aquilenet.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Cc: Vagrant Cascadian , guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1643037462; 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; bh=Erz+WOLaEP1Vb1h25T6dcNJQg6IFW5N3aVKBRIDB9D0=; b=Kk84Ta+MXVFaydkUVIno06ApLExbjEXGrSaTxARZcIigGkxKTqCTZFAWP6wbgtd9lenw1g brNf2l38amZD5DYrApHRJrn78yOgHXm234IoOTZ73LeZismxph4OdgTUiRSEDQD3a7kLSj p4TVIPp0XbJAOWxo7qlGE3Sc2+t8SfgJdL9bnkzYhl/pgooF+95CJa8LI1ihXk0z4pNS5M 6UmHTqU7pFijrBDLpejIqwEc44xO9RTyZ+fWI1xZj+byEDthviiGD0qpJeQqw9uSvfN5zk QcUPNMJy9pr6Ov0kJVuedqSOZLEWr3wE/qEs5/1Gok6EuF7Rcag21apYbaqqGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643037462; a=rsa-sha256; cv=none; b=pqkbLzqDKTI7qqaXFOlKIkZSebBvrHDzHht75sc8GPJFOcy8NR1lyfn3LPSOxtIhOEhdFC lj3CsWQ3Npl6hPMyWuVZg2bxU7+Od+8iwAnUiwgmrmpPRxs0aM6sj2GzfKVwl9VYUJrad8 /zVlBLYkItkkn5mie5QqKu+DlFy7rpuPemW+kdMzKiTA4QjaSnFTsU3Y2jSrTS5+T4dJwb JinOeZGmDSatbrEcLJmjzXCGIDLvlaVGwvstN0kmRDql13xQLlF0MVFtd4E/9iMcpcslzT qvvZ7nOyBtM4oPqKzXepvC2US7bqePqKMy/fw+7dQc2yDvZmUjyK7Lz1QCbdSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 554183D15A X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: yi93XEfqF7WG Hi, zimoun skribis: >> The more we make progress, the more it seems we won=E2=80=99t be able to= avoid >> storing multiple hashes. > > Yes, it appears to me unavoidable. The question is where store such > hashes? At the origin level? At the package level via =E2=80=99properti= es=E2=80=99? > Using an external service? As Disarchive database? Other? I was thinking could accept several hashes. > From my point of view, the bridge between all the hashes should be done > by SWH itself. They promote their =E2=80=99swhid=E2=80=99 which is far l= ess common than > Git hashes, for instance. It would make sense, at least to me, that > they would provide various maps using different keys. They already > somehow provide the map Git+Sha1 to swid, they could also provide > NAR+Sha256 to swhid and maybe other serializers checksum to swhid. The > world existed before swhid. ;-) In principle, sure, it would be nice if SWH could map from one hash flavor to another. In practice, I can understand why they wouldn=E2=80=99t want to compute nar/sha256 or some other underground flavor for all the archived source. I think we have to do something on our side. We could =E2=80=9Cupgrade=E2= =80=9D , =E2=80=98guix-daemon=E2=80=99, and =E2=80=98guix publish=E2=80=99= so they can usefully handle multiple hashes. That=E2=80=99d be a long-term effort. Now, an external =E2=80=9Chash mapping service=E2=80=9D has its appeal: it = could be put to work right away. Tricky! Ludo=E2=80=99.