From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qJx1GJuxb2TabwAASxT56A (envelope-from ) for ; Thu, 25 May 2023 21:06:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2OEAGJuxb2R3DgEAauVa8A (envelope-from ) for ; Thu, 25 May 2023 21:06:03 +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 EB5541925A for ; Thu, 25 May 2023 21:06:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2Fml-0000KK-MJ; Thu, 25 May 2023 14:34:03 -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 1q2Fmk-0000Jm-Cb for bug-guix@gnu.org; Thu, 25 May 2023 14:34:02 -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 1q2Fmk-00039j-4O for bug-guix@gnu.org; Thu, 25 May 2023 14:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2Fmj-0000Ef-UX for bug-guix@gnu.org; Thu, 25 May 2023 14:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63726: time-machine without options does not get the latest commit Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 May 2023 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63726 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63726@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1685039631831 (code B ref -1); Thu, 25 May 2023 18:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2023 18:33:51 +0000 Received: from localhost ([127.0.0.1]:48093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2FmZ-0000DG-0a for submit@debbugs.gnu.org; Thu, 25 May 2023 14:33:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:40466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2FmX-0000D8-R0 for submit@debbugs.gnu.org; Thu, 25 May 2023 14:33:50 -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 1q2FmX-0000GY-Fr for bug-guix@gnu.org; Thu, 25 May 2023 14:33:49 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2FmV-00035b-Nc for bug-guix@gnu.org; Thu, 25 May 2023 14:33:49 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f60a7e132aso4783965e9.0 for ; Thu, 25 May 2023 11:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685039625; x=1687631625; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=jFC/VZsAVH+v0QZe1TLc1QAO2/zG3C9fKdfxTPxO5i0=; b=XVhbfXynaKWd/iVsghP4VWR91H5RDg61C3hAMYCR330WvhSfryySS/oHJoBVpo7Hge 6GqglVe0WjHFCOa3OMfCXsHBRmEO3j9WnCnp+vDV1JOyS+vnZiCiTg5RHjNeYkYo9LB2 M4VrdoRhqh4b2r3SKXUGohD0fBOD/ZrIFQH7HFoVP+YFVAelQRt/jMXQLu0Z9DKyOGcQ yFUYoKCJrUwEORXumA3hCYqiMjiDxE2EsNv2w+bqOy9sxhAeEygu+Q3vpAjW7wcWd81b nNjPR8bcwLhPyqxMyyTm5EPN/RAYh5RbAQwcyD4AvAyVRbXVucQnOLrPxZQQoWsj9pM8 7fLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685039625; x=1687631625; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jFC/VZsAVH+v0QZe1TLc1QAO2/zG3C9fKdfxTPxO5i0=; b=SQOasCKsSvQ5sGpFGItYbJajrcl4EXsKszdIiV1dJTstduxBKvI0iiCqGwLq5kI2P2 Jwr2kS8IF291CnfmKhDL1Bqxw8CUB8t6U5R9Neb0DnBNddP2fu3WbbJI9lSVi0UMlTG6 H9n3v2gqv/zu+5NdoeJ453WDZaWePttIgPGk7QR163CCWbB2yECZ8RY1qQiZOCcSzS+x ejvqgGgOvFrVH4RZCRkZ4xroFytPKKhyyYXLJubWlYHImCH1xM/dMaF6cVRa9BZ32drG Bory6uO7K4uD0YHG3+noRgOk1kPDBMBArFJyRkOyGcl/8yP6jL9nGyc+cNVD4XX+9DkI IWEA== X-Gm-Message-State: AC+VfDzYCk6/DqG6CCuQ/otWXF5EPTaXI/zxzxaDra/qCG+8wyNdVHBr 3dtt3DcCcDo//EuQMq5jC5HoCe7I5zs= X-Google-Smtp-Source: ACHHUZ5dCL+wQ1/nE4lpWQd9ie6bA5L8qwDRUMGLTkT5/LYCBx+Wc2n8xFaiWFmI35z5fKOMKa3xfQ== X-Received: by 2002:a05:600c:3c86:b0:3f5:f543:d81f with SMTP id bg6-20020a05600c3c8600b003f5f543d81fmr15506176wmb.3.1685039625024; Thu, 25 May 2023 11:33:45 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n5-20020a5d51c5000000b003064088a94fsm2576422wrv.16.2023.05.25.11.33.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 11:33:44 -0700 (PDT) From: Simon Tournier Date: Thu, 25 May 2023 15:52:26 +0200 Message-ID: <87v8ggwmat.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::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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=1685041563; a=rsa-sha256; cv=none; b=GQ4w4eteLRPdIyeDkxS3vCFuCh7Awl2pZYh2iW6FqK4wI6MhpzSPzKia1b6zSzMjROgMM0 DAf8ls7tr/eMCpOg0/4i7A3S7za7RI9c+X9mhkBFiK3dhC7+o/UHRiAeb2Y304c0NVRYzR p7wEdr7yRjt3z8rJ2UauwMMKjlOBpT+GBeZSKq8Mata6xxca4W1NN4U9IxX2qApfnJt8a9 RNom6gk5BijBQEAGreIBPiujQGEfFSnENJNTdxPqtx7LzQxw4J3B7w3tWFmzC+LiPhmhrp Ql0bBM7/a+/vlfqwyAcPCw3gHYTODUlLZwZUhhU/o1/GT1WFkje2LI5IYHY20Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XVhbfXyn; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685041563; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jFC/VZsAVH+v0QZe1TLc1QAO2/zG3C9fKdfxTPxO5i0=; b=WNQ6zGoNG7rjp+ShMbwc/5uU1b2rOsH+Sw460LLIZxJ4/qvPoaltPd9sxj+3e0qp41zYKM Wi90UQGhD9pa6LBbgpgQ9epzq56T5/+dTPCsKHQIgrN8VJcu4C5/xAQcrwJk3dXL4gfC8/ l7n8D6EzQjY36AHx7Hye//VizuKsvAtODH1VID43BLNa9K6mwxlNKnlxVguWa5ds84CqcD lBSfx88723N88QNrguWbYVLorfhP82TmCcU0vr/Bppxa83RW/o8xQhBaCAV0rhDwsQffta V5AckMmduWpIVUonCnXR8jEB/2hXPZph9RQUMl8FEAyASC2jVQ0VgwZgPqTqdQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XVhbfXyn; 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: 5.63 X-Spam-Score: 5.63 X-Migadu-Queue-Id: EB5541925A X-TUID: 1MVZ/4U/3j6R Hi, Well, I do not know if it is a bug or if I misuse something. Feel free to close if I am missing a point. --8<---------------cut here---------------start------------->8--- $ guix describe Generation 25 mai 19 2023 13:30:14 (current) guix 14c0380 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 14c03807ba4bc81d42cf869f5b827f7da54ff843 $ git -C ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27sh= j7apsnalwq log --oneline -1 14c03807ba4 (HEAD -> master) gnu: ruby-3.2: Upgrade to 3.2.2 [fixes CVE-202= 3-{28755, 28756}]. --8<---------------cut here---------------end--------------->8--- Well, that=E2=80=99s just a luck that both commit hash matches. Now, what I am missing. The manual says: As for =E2=80=98guix pull=E2=80=99, the absence of any options means= 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 th= e master branch, which is in general a newer revision of Guix than you have installed. Time travel works in both directions! and I get: --8<---------------cut here---------------start------------->8--- $ guix time-machine -- describe guix e499cb2 repository URL: https://git.savannah.gnu.org/git/guix.git commit: e499cb2c12d7f1c6d2f004364c9cc7bdb7e38cd5 --8<---------------cut here---------------end--------------->8--- 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, --8<---------------cut here---------------start------------->8--- $ git -C ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27sh= j7apsnalwq log origin/master --oneline -1 a9cde26133b (origin/master, origin/HEAD) gnu: Add mouseloupe. --8<---------------cut here---------------end--------------->8--- Therefore, let create a Guix revision: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3Da9cde26133b -- describe guix a9cde26 repository URL: https://git.savannah.gnu.org/git/guix.git commit: a9cde26133bd98498869a3528d9dff0d3f456a96 --8<---------------cut here---------------end--------------->8--- However, still this e499cb2 one: --8<---------------cut here---------------start------------->8--- $ guix time-machine -- describe guix e499cb2 repository URL: https://git.savannah.gnu.org/git/guix.git commit: e499cb2c12d7f1c6d2f004364c9cc7bdb7e38cd5 --8<---------------cut here---------------end--------------->8--- Cheers, simon 1: https://issues.guix.gnu.org/issue/63667