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 ms5.migadu.com with LMTPS id MEaFO9tpEGMgRQEAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 10:14:20 +0200 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 GAKRO9tpEGOW4gAA9RJhRA (envelope-from ) for ; Thu, 01 Sep 2022 10:14:19 +0200 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 AE290214A4 for ; Thu, 1 Sep 2022 10:14:19 +0200 (CEST) Received: from localhost ([::1]:37864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTfL8-0007h8-F4 for larch@yhetil.org; Thu, 01 Sep 2022 04:14:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTequ-00030j-2B for bug-guix@gnu.org; Thu, 01 Sep 2022 03:43:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTeqt-0002Ky-Pi for bug-guix@gnu.org; Thu, 01 Sep 2022 03:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTeqs-0006Dy-CZ for bug-guix@gnu.org; Thu, 01 Sep 2022 03:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57306: guix pull to old commit fails due to unsupported manifest format Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Sep 2022 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57306 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: Arun Isaac , 57306-done@debbugs.gnu.org Received: via spool by 57306-done@debbugs.gnu.org id=D57306.166201813423862 (code D ref 57306); Thu, 01 Sep 2022 07:43:02 +0000 Received: (at 57306-done) by debbugs.gnu.org; 1 Sep 2022 07:42:14 +0000 Received: from localhost ([127.0.0.1]:41056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTeq5-0006Co-NT for submit@debbugs.gnu.org; Thu, 01 Sep 2022 03:42:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTeq1-0006CZ-E5 for 57306-done@debbugs.gnu.org; Thu, 01 Sep 2022 03:42:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTepv-0002FL-Cp; Thu, 01 Sep 2022 03:42:03 -0400 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=p7BsuHyq21aP3EDNmcbglPB4Akl1DP5PyhNl7PBt48w=; b=Adq/Cj48hrCP4QTdsSQ+ B1V5twMexjY4J41xQ5F9pWcJfVOsR5KkG5+/Ztmg6+KADr062q5AShn9t4dTGbbTAVomgpsj96nsd n4KUyxpQJ91DHLRrUm9xGEzUHp8wJGlee93y7c8JkTrsF+w7nboQowdOuesgRAvLzOLLftUG2ZkpL H3nE2eL0P8RW/1BcfEgoP4oRH58Z5W/C6gJVQQNke8RvSgywrlylcWwt95uHzK5x+cWqL6yP9pUNQ lsvZV4RECtYQ6KoLkzM0vOdytq+B9cWUu1ssj1v5UN0hAL8gEMyarHM28NB/asQqjKfe0EtOy/uc3 mfxcRjvC7TMmIQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55234 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTepv-0002eR-03; Thu, 01 Sep 2022 03:42:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87k0735k84.fsf@systemreboot.net> <87v8qbumcn.fsf@gmail.com> <87v8qaygzo.fsf@systemreboot.net> <87bks0brkj.fsf@gnu.org> <86zgfkblks.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 Fructidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la Truite 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, 01 Sep 2022 09:42:00 +0200 In-Reply-To: <86zgfkblks.fsf@gmail.com> (zimoun's message of "Wed, 31 Aug 2022 15:15:47 +0200") Message-ID: <87y1v37d87.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662020059; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=p7BsuHyq21aP3EDNmcbglPB4Akl1DP5PyhNl7PBt48w=; b=IHXttMTRnyvKvMDQEU8QpD6OYjUpSWHc+PP8azFMzVv80NxVP6WxjJlnKiysq5Hi8vQjRU wXhDsLfefaocXql9WBH4oihdCBLxMtQEu369djdRI68/7ObG+W/M5OG3IDU5PA8QL1CNrN ztLRTV7yW+Od/SeIJxmW1/ONSerA+tzAoSQ8P9TUHVfwy93XaGrdVY1iifzWm60vcOnDA5 uQ8YHGNdI06IfWuAYoqFHMuansmrStilr8ihbmBuHkO3t0T7sNq1LaZAKA7kWAHaKFtgB+ zF8bdlsd5tQfIRS8E4Iqaji1NwmJ8AOzn0QAyFUHnGgNZ1sKvTdgtQuhHCtXxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662020059; a=rsa-sha256; cv=none; b=gQF4Bm8GwUiXNK+XWOHnYrr+P8uK1jh6bpESSJ3XHoxPnH3EzHWkBY7Y2a6f6awSZ+EmPF 2nbrC4CMGfdAGRLsOlkFwiHeNJYQ0V9I9Wd7sC35rHnkBLP8i/1unTJOF7wMqYiHUxDKvG 8ZKruJlC5rFp2CyLP4jg+/Wo9suqx5jeUXiWXJ6ndEUxAHxlO9A7MXpWM3hB0TAlZsVbb9 VDxi8Pk/r5aC9CWk6l8xtMr5lm/tx+QiBBiX4Cw+6EY5JTOztAsNFp/4yZ4wg7/zxaGicM L2mn6KaUE4J8+EUzYCxiruX0TIZVp9Cv5LSi1pJw4Y/VW9AcKbaTfJj+GmOdCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Adq/Cj48"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Adq/Cj48"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AE290214A4 X-Spam-Score: -3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: IA+zGitFJnu7 Hi, zimoun skribis: > On Wed, 31 Aug 2022 at 13:06, Ludovic Court=C3=A8s wrote: > >> I fixed it in 67a6828b2bb821274757f686f7c685b664339a96 using the same >> trick as earlier. > > It means version 3 is used all the time, right? Yes. > Well, I miss when or where version 4 is used then. Generations that were created with a slightly older Guix have a version-4 manifest. > From my understanding, set #:format-version to 3 should only be > considered when is a parent/ancestor of current commit in > =E2=80=99--commit=3D=E2=80=99. Here #:format-version 3 is unconditional. That avoids having to make assumptions about whether or not the target commit understands newer format versions. But you=E2=80=99re right: a refinement would be to use version 3 only when targeting an ancestor. I don=E2=80=99t think it=E2=80=99s worth the troubl= e though. > Well, I do not remember all the discussion about --allow-downgrades. > For instance, why is > > $ guix pull --commit=3D6f75565b -p /tmp/test > > not complaining about downgrade? Because it is a downgrade. :-) Whether it=E2=80=99s a downgrade depends on what=E2=80=99s in /tmp/test whe= n you run it. Thanks, Ludo=E2=80=99.