From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2BIMO3KXcGTcGQAASxT56A (envelope-from ) for ; Fri, 26 May 2023 13:26:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sHTnOXKXcGQpJQEAG6o9tA (envelope-from ) for ; Fri, 26 May 2023 13:26:42 +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 816BDBDFB for ; Fri, 26 May 2023 13:26:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2VaZ-0003V4-Bf; Fri, 26 May 2023 07:26:31 -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 1q2Va8-0003EN-6Q for bug-guix@gnu.org; Fri, 26 May 2023 07:26:04 -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 1q2Va7-0003Ca-Cn for bug-guix@gnu.org; Fri, 26 May 2023 07:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2Va7-0008HD-5N for bug-guix@gnu.org; Fri, 26 May 2023 07:26:03 -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: Fri, 26 May 2023 11:26:03 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Konrad Hinsen , 63726@debbugs.gnu.org Received: via spool by 63726-submit@debbugs.gnu.org id=B63726.168510033631730 (code B ref 63726); Fri, 26 May 2023 11:26:03 +0000 Received: (at 63726) by debbugs.gnu.org; 26 May 2023 11:25:36 +0000 Received: from localhost ([127.0.0.1]:48991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2VZf-0008Ff-KV for submit@debbugs.gnu.org; Fri, 26 May 2023 07:25:36 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:38346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2VZS-0008En-Jg for 63726@debbugs.gnu.org; Fri, 26 May 2023 07:25:23 -0400 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3f600a6aa00so770165e9.1 for <63726@debbugs.gnu.org>; Fri, 26 May 2023 04:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685100316; x=1687692316; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=6qkzAYoHeV39gMsDycWSBHJhw1MU8DiQV8XpIJf+lQA=; b=gc9C74bxWgqZdpQjBS04/OlVAnQq5k03hZi8TMNUFTOxaHl0ZBjUDRYLbJWVSJwhMu QvB5Is9NJLqzTrClTFoRj8lyhD1GWWjWFO8UxOB5ZlelWLRr8aDDnlEP7ZngM9nhoRjJ iVpeuaqg2Kq1VNnTkzMTj2IQOyPRR9NbkTujPQ4aMm21hsX0TuqFRFZ0b9mUwA2QcV/7 /pAdf/JJplt6tHmb5WBeH0aD5fzT3j4WicnW03kIXIz92dFhcsaBOm15jYPuP4hsYl3T U1egY6IN4en8mHtpOHQecVcfD2khTaPBDT6iTPZIAPHnZOLZhS1xADVbxlwVMpP+/HWE Fq6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685100316; x=1687692316; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6qkzAYoHeV39gMsDycWSBHJhw1MU8DiQV8XpIJf+lQA=; b=b+8FM3k3zLUk44upHJpxWMkcwgggGExFSgyZlw7LZVijNaQZDNLVQ4FFVkOXxii1aO hYbeyT7n6ItK1Tf64fnKpm4LgOIfU9hEvVDmfZ7kvhkaCxnuIBtVLwJkAG/Y+VJlMnmg 7rhYKhadZuyWaMyx3VOgetwnc+RwCqidi3NCIUxGlJu+OhNC+zk0V69Es9WgMe2VGX6E k7s+YuVg4hZVv0vORaXCKnRRfwaFwxENGrfPK11vX7v7C0fsyHwmu3E8BdHdyVUPNyuH Tl124joBncWFtjOdD7knUcX3evOw9iACXSKnJ8WO4dr1FF1CB+7NynShe57u2Tx1L7el Y9ag== X-Gm-Message-State: AC+VfDx7014BELLZqf3iJUNpUQ8GOxA0QYF+chnsAac58DISCHYo8HNr e/sTHGzqYEbeazk5EwW0yhxrfcsX5cA= X-Google-Smtp-Source: ACHHUZ6BKYByyfGYp4nMn8PdSlx4L5vsi9Nqz1fWEGXl9lZMESeRs7fyadmmzQnnA6IscPxkzjwKzg== X-Received: by 2002:a05:600c:3ba6:b0:3f1:7490:e595 with SMTP id n38-20020a05600c3ba600b003f17490e595mr1411632wms.2.1685100316452; Fri, 26 May 2023 04:25:16 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id r8-20020adfdc88000000b003077f3dfcc8sm4699744wrj.32.2023.05.26.04.25.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 04:25:16 -0700 (PDT) From: Simon Tournier In-Reply-To: <875y8gcedh.fsf@gnu.org> References: <87v8ggwmat.fsf@gmail.com> <875y8gcedh.fsf@gnu.org> Date: Fri, 26 May 2023 11:31:01 +0200 Message-ID: <874jnzv3qi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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=1685100402; a=rsa-sha256; cv=none; b=Py9xugkue2aKX0q6zZ2PDj2eY59DBQf7KiaDKZ4B7Q0IqnZnIHt9Ca9swp2IQmQ6TjWKrW Enb/3F9h4EgGGB1WtDGKGlTIrZ7om3Pzf1exdYq4spzSGMf/X4kSRR7N22lthZh5dj0aO8 tZfbNYzX02RLOWPQxd2dEcIfqMOaPYZSSrgIoZaj3FZvPDjb+lmeGTreAAAK56137G7gl3 1sexfJR/XlNKl+947sNX2FWNO4Ug8/YzYi87rBGD9JlduzPLP0FWzjbvosTxYLC2YmOs3B m6hol4o07AwM3qLc3oV6fdAOeHOGl+118x37NB/rna5+ROgGN5j1kDATdJLaQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=gc9C74bx; 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=1685100402; 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: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=6qkzAYoHeV39gMsDycWSBHJhw1MU8DiQV8XpIJf+lQA=; b=rpkN8I3kOKXeAcMR++we6ARlaJQhMPOdMSRi/QuEsS7fb2jhxHyyqTP33zNx5h/5K1ASqt OzvWe0aZClNNFqSznOUpD8KKRl1ma7eS8GEDX8DImObfb2qSEn96sY02iNECSnp7gK+klR i7IxmD38IjL17qgoEwe4XHKt9wRb8claK4tZve74Sm5fiT9h/74YByd2VAqfKBuPP6qI5Q wz0/tpSIP75JvKRdwcxAQUfqv5+/HyZaUilu0mfBsw83Fr6rSik4BQHwXlYbDlNT7VEFQp qvFE78y8aoXv96ApL27Uu9EBKbS3Z9qVxWJTW5WSG+o8aZbJSldIXP4A1eR0Dw== 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=gc9C74bx; 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: 7.34 X-Spam-Score: 7.34 X-Migadu-Queue-Id: 816BDBDFB X-TUID: Vw3pIdowFh7Z --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On jeu., 25 mai 2023 at 23:03, Ludovic Court=C3=A8s wrote: > I had to check the code, but =E2=80=98guix time-machine=E2=80=99 follows = the same logic > as =E2=80=98guix pull=E2=80=99: it reads ~/.config/guix/channels.scm, and= so on (that=E2=80=99s > the =E2=80=98channel-list=E2=80=99 procedure). --8<---------------cut here---------------start------------->8--- $ cat ~/.config/guix/channels.scm (use-modules (guix ci)) (list (channel-with-substitutes-available %default-guix-channel "https://ci.guix.gnu.org")) $ guix time-machine -C ~/.config/guix/channels.scm -- describe Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% compute-guix-derivation 1013B = 373KiB/s 00:00 =E2=96=95=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=8F 100.0% Computing Guix derivation for 'x86_64-linux'... \ substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivations will be built: /gnu/store/80sisjhmmb0sbvyylavm3c2rgjnhypw2-profile.drv /gnu/store/3213n6v442d1zv17xidg8s48hx02f433-guix-daemon.drv /gnu/store/77k19wqklyw4gvxqjjdg8ah4k9llb5c0-guix-command.drv /gnu/store/3cyv2vdk3v0asjqbspzlgbzibk1f50p2-guix-system-tests-modules.drv /gnu/store/9pq5bivbzg476svaqv38xjgwyhg0ml2k-guix-cli-core-modules.drv /gnu/store/gpjmcxvr10fnzjvkwr7yf2wpyrzyb5nm-guix-packages-base-modules.drv /gnu/store/gqamr3s5amc1ayqa4xbzv114zy6l8ac8-guix-system-modules.drv /gnu/store/xv2yv334dpxvq8bw605avhcf6dv0smyp-guix-home-modules.drv /gnu/store/yya1dwvx7svj588vnqznabqaa2ahv4a3-guix-cli-modules.drv [...] building profile with 1 package... guix 849286b repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 849286ba66c96534bddc04df1a47d5692cbc977e $ guix time-machine -- describe guix 849286b repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 849286ba66c96534bddc04df1a47d5692cbc977e $ mv ~/.config/guix/channels.scm /tmp/channels.scm $ guix time-machine -C ~/.config/guix/channels.scm -- describe guix time-machine: error: failed to load '/home/simon/.config/guix/channels= .scm': No such file or directory $ guix time-machine -- describe Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to 3299b40 (36 new commits).= .. substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% compute-guix-derivation 1016B = 168KiB/s 00:00 =E2=96=95=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=8F 100.0% Computing Guix derivation for 'x86_64-linux'... - substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivations will be built: /gnu/store/4gm2ay6gjsjq6iclmbm4jqnvja12axy2-profile.drv /gnu/store/7b50p1xnh4r5ahfj4da8yb8xgzqdjsyv-guix-daemon.drv /gnu/store/qgcnzghwqxkak53rhnggl73d6r1jkq4q-guix-command.drv /gnu/store/1spf6ndyz62izy3xgr9v5jnjin305s2v-guix-cli-core-modules.drv /gnu/store/3fib3w2cjl83r75zfllby6wp3znh362p-guix-system-tests-modules.drv /gnu/store/7vn6pq6j5psjwlcgvl1nbgwlspamx1wx-guix-home-modules.drv /gnu/store/9qr483y1law33nqdwz7bjr32sbkka2xw-guix-cli-modules.drv /gnu/store/iq10xaghbj6435w4c6nmyqb3kwzs119f-guix-packages-base-modules.drv /gnu/store/wzssfkmqywrqm86vjlyxzpf26d4h30qd-guix-system-modules.drv [...] building profile with 1 package... guix 3299b40 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 3299b40b3599371890816b52d65a6a5ada1b1131 --8<---------------cut here---------------end--------------->8--- Hum. Now, I am not seeing anymore e499cb2. Related to #63667 [1]? 1: https://issues.guix.gnu.org/issue/63667 > Should we fix the doc or should we fix the code?=E2=80=A6 What about this patch? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-doc-Reword-guix-time-machine-without-option.patch Content-Description: doc.patch >From 63b862ed9f3d3b019af3c6926bc1737f573bdfe6 Mon Sep 17 00:00:00 2001 Message-Id: <63b862ed9f3d3b019af3c6926bc1737f573bdfe6.1685093404.git.zimon.toutoune@gmail.com> From: Simon Tournier Date: Fri, 26 May 2023 11:26:32 +0200 Subject: [PATCH] doc: Reword guix time-machine without option. * doc/guix.texi (Invoking guix time-machine): Reword the behaviour in the absence of any option. --- doc/guix.texi | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 31dc33fb97..54f8a20196 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4958,16 +4958,20 @@ Invoking guix time-machine @xref{Channels} for more information. @end table -As for @command{guix pull}, the absence of any options means that the -latest commit on the master branch will be used. The command +Similarly as @command{guix pull}, the absence of any options means that +either the user's @file{~/.config/guix/channels.scm} file, or either the +system-wide @file{/etc/guix/channels.scm} file, or either the built-in +default channels specified in the @code{%default-channels} will be +honored, in that order. The command @example guix time-machine -- build hello @end example -will thus build the package @code{hello} 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! +will thus build the package @code{hello} as defined by the previous +@dfn{channels} file (@pxref{Channels}). In general, it builds a newer +revision of Guix than you have installed. Time travel works in both +directions! Note that @command{guix time-machine} can trigger builds of channels and their dependencies, and these are controlled by the standard build base-commit: 99fc7e5dd3c9c92f9b6c2e51db9dc5b0481a56b2 prerequisite-patch-id: 7ff5f10954ba2e9663c6e7b15e7aee448c8b74c2 prerequisite-patch-id: cb31c4d7ad8d27df155dcf57b61116048a6b0681 prerequisite-patch-id: f256649d0fac1d618b07615c97c46e66436b9262 -- 2.38.1 --=-=-= Content-Type: text/plain Cheers, simon --=-=-=--