unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63726: time-machine without options does not get the latest commit
@ 2023-05-25 13:52 Simon Tournier
  2023-05-25 21:03 ` Ludovic Courtès
  0 siblings, 1 reply; 15+ messages in thread
From: Simon Tournier @ 2023-05-25 13:52 UTC (permalink / raw)
  To: 63726

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/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq log --oneline -1
14c03807ba4 (HEAD -> master) gnu: ruby-3.2: Upgrade to 3.2.2 [fixes CVE-2023-{28755, 28756}].
--8<---------------cut here---------------end--------------->8---

Well, that’s just a luck that both commit hash matches.

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:

--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/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq 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=a9cde26133b -- 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




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-09-08 15:40 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).