From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cAYFEV5ucmG8agEAgWs5BA (envelope-from ) for ; Fri, 22 Oct 2021 09:55:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oNLQDF5ucmF2dwAA1q6Kng (envelope-from ) for ; Fri, 22 Oct 2021 07:55:10 +0000 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 05AC725D2A for ; Fri, 22 Oct 2021 09:55:10 +0200 (CEST) Received: from localhost ([::1]:53298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdpOP-0001On-5B for larch@yhetil.org; Fri, 22 Oct 2021 03:55:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdpOB-0001OD-W3 for guix-devel@gnu.org; Fri, 22 Oct 2021 03:54:56 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:42622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdpOA-00059N-3G; Fri, 22 Oct 2021 03:54:55 -0400 Received: by mail-wr1-x430.google.com with SMTP id v17so1627034wrv.9; Fri, 22 Oct 2021 00:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=PUilGDd90vS/G6rTXOa4vPJ4YNr8ghTLZ9Vr+wxNB90=; b=NzoBfrL2XvRiLtlCtD51lOiX9cdCKmZO5uafjSaoLq4tvcSTp9zNGbXJ59WD2tPknF 6CxV19+tRBCP96PZs4/JTzGxmMt82dTfY2ayjGttEIADaUQkvIqPHKpYGz2hFWbHJNNq TyymaH087r9gy8ZrO2/kHGdds7Wt3ZHAzfF+6REYaafOBEPJEC1Y4+9/L1uCbxM7W4QM TyO8DEYAXK+Ap8RqtLzF9vkOn5bZOtgZnsgeXduSsgS+UhhYraqHo7lplQGV1itLFguQ Z42xmXZQh0uNM1Gxa5Io2vFb5RgdqlNDEEuXaKLNHo+C8uEg4Sfo3S8oJ+0Qidq9tUkC y0GA== 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:references:date :message-id:mime-version:content-transfer-encoding; bh=PUilGDd90vS/G6rTXOa4vPJ4YNr8ghTLZ9Vr+wxNB90=; b=7si3N55J+idhiipJVAMo1xEMD2wdLeIVjP0KJThuzBq/6/D1INOU2M4hN6lG6kkdRk ycwey7aDo8xMxS6yUBF5w4DNFv4gr6Ee5v2Vt88rZjPxSLPni7MsZOisb4copIjQmVD+ MEitRlmFmOaPpm5tKzfUpssB23K/zUGGzXM7m0gLNv6pUji95C2tiyu+qbPI3uYpkEyf BhwwXgl6dVkedEEbkV8ySIaBLmSF3OX8LlYYKCB4Xu8pkznidGEMFUUMCH7qlOH7iIYF KP3eIXfDDuttOHJMZmmHxhrHeq2PfOxMJR5SgL9z2ZZoC88Tgcu7IhaF5jysUdtmLqwy mV5g== X-Gm-Message-State: AOAM532Q/rF6KQ8DG4i+b6SuM+9OfEYNfXMrFyYL70xnbpK7SlvNpCrj ZJOUfmtsbtKn7IuogGQIetY5PLVLhYk= X-Google-Smtp-Source: ABdhPJxN/uQ1QdIx2++swN966lWpCi2cj6ak0JhzlihSjSvjJUfO3GonB/dCSk6KaGbsKKWP0gTnIQ== X-Received: by 2002:adf:d228:: with SMTP id k8mr9829414wrh.139.1634889291957; Fri, 22 Oct 2021 00:54:51 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id k17sm6989978wrc.93.2021.10.22.00.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 00:54:51 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Timothy Sample Subject: Re: Preservation of Guix Report In-Reply-To: <87a6j2w1et.fsf@gnu.org> References: <87o87jjx54.fsf@ngyro.com> <87a6j2w1et.fsf@gnu.org> Date: Fri, 22 Oct 2021 09:53:02 +0200 Message-ID: <86ilxpzeap.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634889310; 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=PUilGDd90vS/G6rTXOa4vPJ4YNr8ghTLZ9Vr+wxNB90=; b=hMHbIKn/M6+/smjYlkRcPELKbXt6xBNlS8yOpUzzXb7UlRycAPNccqTuRxc7GOofbAcyMQ wC/0K44P8OAS2AtLr7W3WG5U9iOUE+rOz/i93wd1MHiNuA08VIOrt88fQ8KS90lyLCyCfg xRYU6pZ9tXb2PcV3YTVrAOAU1G1exD3ieKnLe2i6Qkhldm+mCJVUc3/iKaoLKGPua9ke5/ DW8uQo0qoUQ6tzxEaih/c8Q5g4pZY36TRdCEnkZJ6C4rRCvvc/GQ7QZP5GEj1bfP2epPPp S7hem46JkIJ07DnlJLeQo+gTDttjDWcnpv6l++3D2bZ5UoVsC00ZjPQ8kXVq7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634889310; a=rsa-sha256; cv=none; b=MdUVhlx07vxn/7HsQeoywPDpzF69SKM+H+s/82faZSYGN/VPbJYhkh9thgCke9ixKr00jn tijgfM9eBdQl8MTlcz1BCeNKsj6p/5+H48vbm1z2g4YgGdKH1+zQAlVIgYclwJd9Nz8wV9 htxAHvhGKPQE9Kniszbcc7N8xXsxPdHeNinbYvy31mZvtpkQldvWkINKzXwpIhD3iMzPsa Uf75wVpwZfoMoBXKPheU0PRbZEagL64ufsQ8q0fLTfez3IkCm0maYXqU87J2WicaNXKL/Q mknwlX+h4fdoTB6p8ogyxoAfy3LtN0Zm1RsSfd/gHaboXE4F0tktQonzd9ww9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NzoBfrL2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=NzoBfrL2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 05AC725D2A X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: qCw7X6UH3u8I Hi Ludo, On Thu, 21 Oct 2021 at 22:47, Ludovic Court=C3=A8s wrote: > =E2=80=98guix lint -c archival=E2=80=99 uses =E2=80=98lookup-origin-revis= ion=E2=80=99, which is a good > approximation, but it=E2=80=99s not 100% reliable because tags can be mod= ified > and that procedure only tells you that a same-named tag was found, not > that it=E2=80=99s the commit you were expecting. (And really, we should = stop > referring to tags.) At package time, Guix uses tag. Then =E2=80=9Cguix lint=E2=80=9D saves the= upstream repo; containing the correct tag. Now, upstream replaces in-place the tag and saves to SWH by their own. How does SWH deal with this case? Well, because it is not affordable to switch from the current tag-address to immutable commit-address for defining packages, in order to be 100% reliable, any fallback should use Disarchive-DB which stores the mapping from checksum to swhid; for all kind origins. Is it what you have in mind? Cheers, simon