From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GK89HpDNb2SoawAASxT56A (envelope-from ) for ; Thu, 25 May 2023 23:05:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SEQPHpDNb2Q9pgAA9RJhRA (envelope-from ) for ; Thu, 25 May 2023 23:05:20 +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 5B417A688 for ; Thu, 25 May 2023 23:05:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2I8u-0007Dx-UU; Thu, 25 May 2023 17:05:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2I8s-0007Dm-Um for bug-guix@gnu.org; Thu, 25 May 2023 17:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2I8s-0006w9-L0 for bug-guix@gnu.org; Thu, 25 May 2023 17:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2I8s-0007NS-1r for bug-guix@gnu.org; Thu, 25 May 2023 17:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63726: time-machine without options does not get the latest commit Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 May 2023 21:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63726 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier Cc: Konrad Hinsen , 63726@debbugs.gnu.org Received: via spool by 63726-submit@debbugs.gnu.org id=B63726.168504864428285 (code B ref 63726); Thu, 25 May 2023 21:05:02 +0000 Received: (at 63726) by debbugs.gnu.org; 25 May 2023 21:04:04 +0000 Received: from localhost ([127.0.0.1]:48270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2I7w-0007M8-0Z for submit@debbugs.gnu.org; Thu, 25 May 2023 17:04:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2I7u-0007Lf-UT for 63726@debbugs.gnu.org; Thu, 25 May 2023 17:04:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2I7p-0006kr-Ka; Thu, 25 May 2023 17:03:57 -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=o+oZiHdO7lKUib63XD0PLkzEzO5tXD3Gf47PLzkuPGM=; b=KNXRaD4kxyrQeAs0iFSW E4YTdnj/Q0ijpuA+vHhcbsQpANAkNmAO3q8XypkLGvVWYEoehHyVLB9gNnhT+Vlb4yzE8i0nqhbgX zrmOLe2EcUCMH5E7TvwK6hSBs9o6ju8z9sfw9iHHWpXKbTsHa8Igg4dnx+PiL0uAGrMgZ27emc6jj /JIL9iG5j2I3DppXzL5Pr+/cswdvwgSXnhdGOIr6BXAAEagYhCbgNFkkwP3zBLLQzPNIvatK/ebdx MFSnM12o6dFaorOigewKTXJ+2MiY/320Y7gYo5sftjNFt0tHioELTr/iNnmPhrYmjBbz+/uaBsjTN 1jjvacIn/rOOqw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2I7p-0008DO-7w; Thu, 25 May 2023 17:03:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v8ggwmat.fsf@gmail.com> Date: Thu, 25 May 2023 23:03:54 +0200 In-Reply-To: <87v8ggwmat.fsf@gmail.com> (Simon Tournier's message of "Thu, 25 May 2023 15:52:26 +0200") Message-ID: <875y8gcedh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685048720; a=rsa-sha256; cv=none; b=Q365zWNAxWX2qTFENY3SZDjHbafBUqkKR+cC85ieDYp0TDMqToGNaoGZVz+wyNR7Oar2AF aOJIm65wBIt0pzEjc8rOuScPc9QllgF+41TMwhxq2NblBELoIX+AnSNVcMYxN+lf8h2BvK yOlTczGc6AYYZT6unnpYB5bHdmtn63crm3aJ+4PzQO/vC08EZp8qvMTkcX6pbUM+Uu2YNS DrDOJJI0+HKWY/1RSh1LIBAjzNAjXQPKeMe0n6/E4HKl1Y2SaZqs22y7aJ8bJc8IN2OVRF 8I9afBv3oyQVdapte9RSJeLRa2homTo4J8YfTEueqRAq1Dh3QI/G3SOzxcQ5hg== 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=KNXRaD4k; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685048720; 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=o+oZiHdO7lKUib63XD0PLkzEzO5tXD3Gf47PLzkuPGM=; b=Aavpyu9tXERKBd9VbTwmqAfp89b+xVFMfm6rnHjo9LBtKu4PF4PJcShf/bH/4YMlgy0Cnp dw0Lc2aFVXPaWj2gXV7sitTgcywJwKA8sbxB4VepgBU04RIRfrP7I2HDUvdrol5yzA45aN ko/n5cnR6NY1HvGHOe5EdZgM3s5lwL12ksk97iqZa/IQYjqwHAlLAlcid2RHvgHo9LHQHB wih0t+iUyvOxUDxH3WtFwLaYB40lV5vIOCNaZPAnO/ZHGKvEmZGLVGuko+SkILwJqaYErB JgsWA9eL6ylgpvegTv82tiww5JUxpTZ3boR69FqzYZevQdZEIgVdwqwtn16P3w== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=KNXRaD4k; 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: -4.07 X-Spam-Score: -4.07 X-Migadu-Queue-Id: 5B417A688 X-TUID: OweKp1nhSoEG Hi, Simon Tournier skribis: > Now, what I am missing. The manual says: > > As for =E2=80=98guix pull=E2=80=99, the absence of any options mea= ns that the latest > commit on the master branch will be used. The command > > guix time-machine -- build hello > > will thus build the package =E2=80=98hello=E2=80=99 as defined in = the master branch, > which is in general a newer revision of Guix than you have installed. > Time travel works in both directions! > > and I get: > > $ guix time-machine -- describe > guix e499cb2 > repository URL: https://git.savannah.gnu.org/git/guix.git > commit: e499cb2c12d7f1c6d2f004364c9cc7bdb7e38cd5 > > > But I do not understand from where this commit hash is coming from. And > please note that this commit seems coming from my previous experiments > reported in #63667 [1]. > > Well, the last commit seems a9cde26133b, I had to check the code, but =E2=80=98guix time-machine=E2=80=99 follows th= e same logic as =E2=80=98guix pull=E2=80=99: it reads ~/.config/guix/channels.scm, and s= o on (that=E2=80=99s the =E2=80=98channel-list=E2=80=99 procedure). I must say I=E2=80=99m surprised, but it=E2=80=99s always been this way. Should we fix the doc or should we fix the code?=E2=80=A6 Ludo=E2=80=99.