unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: Konrad Hinsen <konrad.hinsen@fastmail.net>, 63726@debbugs.gnu.org
Subject: bug#63726: time-machine without options does not get the latest commit
Date: Thu, 25 May 2023 23:03:54 +0200	[thread overview]
Message-ID: <875y8gcedh.fsf@gnu.org> (raw)
In-Reply-To: <87v8ggwmat.fsf@gmail.com> (Simon Tournier's message of "Thu, 25 May 2023 15:52:26 +0200")

Hi,

Simon Tournier <zimon.toutoune@gmail.com> skribis:

> Now, what I am missing.  The manual says:
>
>        As for ‘guix pull’, 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 ‘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!
>
> 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 ‘guix time-machine’ follows the same logic
as ‘guix pull’: it reads ~/.config/guix/channels.scm, and so on (that’s
the ‘channel-list’ procedure).

I must say I’m surprised, but it’s always been this way.

Should we fix the doc or should we fix the code?…

Ludo’.




  reply	other threads:[~2023-05-25 21:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 13:52 bug#63726: time-machine without options does not get the latest commit Simon Tournier
2023-05-25 21:03 ` Ludovic Courtès [this message]
2023-05-26  9:31   ` Simon Tournier
2023-05-26 11:15   ` Konrad Hinsen
2023-05-30 13:32     ` Simon Tournier
2023-06-01 15:01       ` Konrad Hinsen
2023-08-11 15:36         ` Ludovic Courtès
2023-08-14 10:13           ` Konrad Hinsen
2023-08-16 13:51             ` Simon Tournier
2023-08-17  8:42             ` Ludovic Courtès
2023-08-17 13:41               ` Maxim Cournoyer
2023-08-17 14:07                 ` Ludovic Courtès
2023-08-17 14:39                   ` Maxim Cournoyer
2023-09-04 16:55   ` Simon Tournier
2023-09-08 15:39     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875y8gcedh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=63726@debbugs.gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).