From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mG4PAw94EGNlhgAAbAwnHQ (envelope-from ) for ; Thu, 01 Sep 2022 11:14:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EK0xAg94EGOA3AAAG6o9tA (envelope-from ) for ; Thu, 01 Sep 2022 11:14:55 +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 B2E313CA43 for ; Thu, 1 Sep 2022 11:14:54 +0200 (CEST) Received: from localhost ([::1]:60464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTgHk-0006H3-9x for larch@yhetil.org; Thu, 01 Sep 2022 05:14:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTg1S-0007LY-NC for bug-guix@gnu.org; Thu, 01 Sep 2022 04:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTg1S-0004lW-AX for bug-guix@gnu.org; Thu, 01 Sep 2022 04:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTg1S-0008Dd-6c for bug-guix@gnu.org; Thu, 01 Sep 2022 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57306: guix pull to old commit fails due to unsupported manifest format Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 01 Sep 2022 08:58: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Arun Isaac , 57306-done@debbugs.gnu.org Received: via spool by 57306-done@debbugs.gnu.org id=D57306.166202265231555 (code D ref 57306); Thu, 01 Sep 2022 08:58:02 +0000 Received: (at 57306-done) by debbugs.gnu.org; 1 Sep 2022 08:57:32 +0000 Received: from localhost ([127.0.0.1]:41161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTg0y-0008Cs-28 for submit@debbugs.gnu.org; Thu, 01 Sep 2022 04:57:32 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:41911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTg0u-0008Ce-MM for 57306-done@debbugs.gnu.org; Thu, 01 Sep 2022 04:57:30 -0400 Received: by mail-wr1-f54.google.com with SMTP id v16so18668483wrm.8 for <57306-done@debbugs.gnu.org>; Thu, 01 Sep 2022 01:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=m+fosF4noo9hSi0Wgv4bYjFk2J6c6EUIzrzrHUHiwYc=; b=ajK8HQwe6+cRfKorJ1VmF9nVVNSCmGI+rB5X5ZWH2Cs9+jLorPwYytpJtTPaLntC2E kyqaheNh3tgnhL3Ouubi0SYneQv1QIUkTzzgk6inmUO1F9fgtq0+vv50PO3R9PKKqf7m POIcdxPUOB5JYu2TfS54EeVn9dPGcOUHHMnaa5SfDwRz9gJ1m9aJAafz4TfZ/75XnVPr e8VmAUydtI9eJ2+hft9k3lXOyio9w1FGgEuD0EqGi8CUiG3cXVvSMI0coqLlpAvIF4DM Z8mz7paldnw2J13kKKHdGlcmXH1WeYI7xhFhTUL+8OKALCD3g84yIOwcBFFakxLerjgg Ow+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=m+fosF4noo9hSi0Wgv4bYjFk2J6c6EUIzrzrHUHiwYc=; b=CYlCt4mJMntcXDnA7XiwFdbkQqjRnXDfu2i68frPeGGUCr7ccwt9dVU57fYPDkVeHO 1zT2FbYu1qqwFmzYqKE7n7gNw6weNOhuvTNfas5Vp/ZBdNslnP/OuYNdXeVdn/+dZPFe EILFuBLL0d79JeJyI/Lg2ZS7me7HIYA3xWpDiGw+mSJtqbPNVtcRyEMkjPPSBeBeC4KI MrpCd+qS8qHbScTuvzK+eR+RdwL/qKPe6fpMrDfPdtLXkwqf2yCE8CMSMsveSX2lmyEe 2qttvVWKeH8qLIdqzcAxwFVHqEoE/MUxjw7cuCu8mdr7lLNI0pbdurrzcSvN1IKQAvD8 s/Wg== X-Gm-Message-State: ACgBeo3b6AQxeu9aiVJHJXNKOia14TsSxMoefWrpBZvxzxEizT7AtDnA pIn3ZFpwSMsXiSIGFb0d1R9TH1tBLnY= X-Google-Smtp-Source: AA6agR7kXUFWiNtQa8y7Qo4D5Ne72t0B4g6yQhsdWadzrL5G4umce3O2KykohbJ2cNYaYyd7xbS4Eg== X-Received: by 2002:a5d:4601:0:b0:21d:8db4:37c with SMTP id t1-20020a5d4601000000b0021d8db4037cmr14039070wrq.390.1662022642964; Thu, 01 Sep 2022 01:57:22 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id i14-20020a05600c354e00b003a5dde32e4bsm4707619wmq.37.2022.09.01.01.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 01:57:22 -0700 (PDT) From: zimoun In-Reply-To: <87y1v37d87.fsf@gnu.org> References: <87k0735k84.fsf@systemreboot.net> <87v8qbumcn.fsf@gmail.com> <87v8qaygzo.fsf@systemreboot.net> <87bks0brkj.fsf@gnu.org> <86zgfkblks.fsf@gmail.com> <87y1v37d87.fsf@gnu.org> Date: Thu, 01 Sep 2022 10:50:44 +0200 Message-ID: <86r10vbhqz.fsf@gmail.com> 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=1662023694; 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=m+fosF4noo9hSi0Wgv4bYjFk2J6c6EUIzrzrHUHiwYc=; b=SGYF3gX5sZlH7zfKn7Gso5Y9eEa+sxtX8LhRK9f7BZt0osrPzGfBKk52U+hSWUwjOBLyAX 5h9qj21SrKyuE1qm+T1o2ST0xs5YwVlATJKLmSK9W2z30fjvCnIwalndbz9CwEylzln5pk L5wZLDk0FSnOc80WsDGgelDi7upPIpQb1LFvE48vEVH5dujWM1nZXSB3H8HMdH2I8mTfsh YhHK/QiHRMjTiNZ7ztSzEM+pxN0K3uUTbopsX62I1DyAPDzbjQwzZ6973Fa4vO+ZU20prs av3L7PIizpOwfQQa4p5byj9WQzIg+7kFbSZVm3ipqAMFtluEhhjNcU0GVy0erg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662023694; a=rsa-sha256; cv=none; b=Cz+2izXLlnUKQgLd6lv2v4flj4KHSjRi/GWbrCbvpSAY5K6Uzz7NfnlJX0mKNXNja832JE L+KHNs00SZi6A4gnJF93bEq76MlDm+hUWAsXBy69ntjkxYsFypeNtQjYR7L8Vdrsi0H0yq CTdYiAobecAFMKy+6Tgw+YKuYm1L/4wt/OzHnCn0Bs6yMWoZZ8bhZZPkDo7Kr/AmW0jna6 TlZDa8VCpux78MyLkuEyspM3TVuRGc43l8t+MzsrzTNPPYA9mdSyzkqU6W96vNBMEXPCLu EtqflTorrX/VmPBCdL7Qluxt1JIFE1u/cwd+pzO90sw9XWQwxFqFPHKhDPVyTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ajK8HQwe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ajK8HQwe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: B2E313CA43 X-Spam-Score: 6.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: q22FP7/YMS8U Hi Ludo, Thanks for explaining. On Thu, 01 Sep 2022 at 09:42, Ludovic Court=C3=A8s wrote: >> 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. It means that the manifest of ~/.config/current is fixed =E2=80=9Cforever= =E2=80=9C to version 3. And version 4 is only used by other profiles, e.g., created by =E2=80=99guix package=E2=80=99. >> 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 trou= ble though. Ok, yeah it makes sense. The question could be revisited when the manifest of the profile ~/.config/current would require a version update. Cheers, simon