From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 WIfKBcUz6WGMgQEAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 11:04:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AIYrA8Uz6WHNdwEA9RJhRA (envelope-from ) for ; Thu, 20 Jan 2022 11:04:53 +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 AACA727EEA for ; Thu, 20 Jan 2022 11:04:52 +0100 (CET) Received: from localhost ([::1]:45204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAUJE-0006RI-8l for larch@yhetil.org; Thu, 20 Jan 2022 05:04:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nATuG-0007WH-7Q for guix-devel@gnu.org; Thu, 20 Jan 2022 04:39:01 -0500 Received: from [2a00:1450:4864:20::332] (port=41781 helo=mail-wm1-x332.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nATuE-0006cb-7i; Thu, 20 Jan 2022 04:38:59 -0500 Received: by mail-wm1-x332.google.com with SMTP id q141-20020a1ca793000000b00347b48dfb53so12365093wme.0; Thu, 20 Jan 2022 01:38:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=sZS4hf5Lp1ZUFb6UwhFBfLKrUru0a4TNayyVzQ+QnI8=; b=KVcSiRMZd/J7RC/1Dnc7mhiDv+uctU8WqeOsiWhompRRsmuKAjF/MMseIpIK+6Dc1k 9JysUn0lAIzHr5WYqjRMnLLTrSHOKJ7sdwWRN9R5mX9d6JWPk/FMHXKtaRuVA/mwW26x cQkvzm/wzz1NPhbS3RQPlRT6ORIHPQMiF3vsaQ88Hu4LlTlKGn6pWXxyT0KO5ef+U0uY yK9ZvZCUzZzfHFqwvH6wD/NkJ/qFnG3/IvEQ3HYKtJANfLJDP9phg4bZNchT6lfHbptj a/FgefF4TlMWCgKyyLbWzYy+xj1L6hL2ZFWXmyWSRDP/5Otly/DouauANki125otxu9F vzMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-transfer-encoding; bh=sZS4hf5Lp1ZUFb6UwhFBfLKrUru0a4TNayyVzQ+QnI8=; b=08MzayQa3245N9NhouJG+J9hIbNXXJ8WR0Iw6wHpRTP9+bykSV3tFPfGIaYQz17lHx f7+mVuFvHmGnYHAAWAtaB3ecT1CHywVLeMlA6TLqk/32K3vgTDhhHew5DO6PIFMLGmD8 V5eI4xWeubqXiXF8Rzsj+kwRP6CAnxm0d53OEjFsSYNT/JiDgETfkFLPKJKwPAcn1YXS ovZDD6+j9c42Gqz9Hxap1bYXF9vF00dBf0JB25ffSRiDv5xI540VjKE3m1SVCysBVQn4 4s0ncRZ6CRjhUyPrjp8XS0DaFpLpVZudzzjW33b4JhRMsH/qYS7MjEhX2kCOXSlRmdWZ N7Lw== X-Gm-Message-State: AOAM530/7CHnldTRGFReFSV+2dU9OrUVLa4v2Gch6vzEdC1+ZAmX0v36 Aelgtd2r6Qo02fFdI3+WFo5INNdzCoM= X-Google-Smtp-Source: ABdhPJy3D6AexbcQecC43z/TtTg2aqhEAYf4Iia4yjMA1SLlZKwI4XJD/iD8aZg0xvso0Q3BYERfYQ== X-Received: by 2002:a1c:9d41:: with SMTP id g62mr7920560wme.125.1642671533191; Thu, 20 Jan 2022 01:38:53 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l13sm2363859wrs.109.2022.01.20.01.38.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 01:38:52 -0800 (PST) From: zimoun To: =?utf-8?Q?Ludovic_Court=C3=A8s?= , Timothy Sample Subject: Re: Preservation of Guix report 2022-01-16 In-Reply-To: <87czkoatt8.fsf@gnu.org> Date: Thu, 20 Jan 2022 10:35:03 +0100 Message-ID: <864k5yoim0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::332 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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.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=1642673092; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sZS4hf5Lp1ZUFb6UwhFBfLKrUru0a4TNayyVzQ+QnI8=; b=J7q8yKsvS6gxWzdr/uyfmXs907QUe2S6WFYnYS4sd1kpWPt374CHMRkjPky5C8dQj8gWac /a6NUuQ4MPvVJ8vovGQ8LP4o2mZIH8tiJQZmphhIuL/jqMCA82br4EHRYDmCl5nEYGcqTf +dlZtjxDm6TmIJi8Qz3cXE+A8TWLaglhpa4XJABhS8xuDGCX7dIsDtrBkmCTUNbweBLsdD mAsjPZel7kk21Za1advPZUseS5q+wpXKo22kUzKjirUGOl3GT6qyEsT4C4D1ppZZFC/IaG rOUyxciP5lyqK8kOrGOvedkf7dBeFXb/o0JyaVSve6pLpQK24mmEXMoceeSE6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642673092; a=rsa-sha256; cv=none; b=YjSnjkaEe842eXZZd6pgPPFdcI6xlGn9UcAm33uJwZ1Ym0UXqVeEALWLSUZJDQTbE7oYgr KUw2F6Vm14nMiuDqQHj5RaV5YwwsXp4h1Sf6OCBnkBMFHRACQ883NV5uervuPUcXj2FBkg hWLdpqy65qSBSkv0FjMhqm3nqhIoKc4pxqzEfnRcJ0KH+p4K9m+OMLRBT/L8IJgbJ8HVBZ j6b6fAstdKAnk3fFU7LX5FFbC46kHvi8aa3TKaGaRRO5lOPM2Ljofg+moq1oMtMRUGg7e7 nMvSp3CYpeudhe04ZSkVM08i+9Ub+FUuuVAkV2O3p4tvqMsU7865MCEkDb9zSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KVcSiRMZ; dmarc=pass (policy=none) header.from=gmail.com; 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.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KVcSiRMZ; dmarc=pass (policy=none) header.from=gmail.com; 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: AACA727EEA X-Spam-Score: -4.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: mIS+Lvh2EBWx Hi, > 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=99properties= =E2=80=99? Using an external service? As Disarchive database? Other? >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 les= s 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. ;-) The question about the metadata is another question. Perhaps, all is already a work-in-progress. :-) Well, therefore, maybe the step forward is that Guix relies more (or exclusively) on Disarchive-DB when it uses SWH as fallback. Cheers, simon