unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Philippe Veber <philippe.veber@gmail.com>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Dependence on an old version of a package.
Date: Thu, 21 Dec 2023 11:31:55 +0100	[thread overview]
Message-ID: <CAOOOohS14VbH_jiaX6cM-RJrTsXLv=Muz_75iAiEc4tbcqjMXQ@mail.gmail.com> (raw)
In-Reply-To: <877cla45q6.fsf@gmail.com>

Thanks a lot for having a look at it!

So I'm guessing that even when the bug is corrected, it won't be possible
to depend on a commit prior to May 1st 2019, is that right?

Le mar. 19 déc. 2023 à 15:42, Simon Tournier <zimon.toutoune@gmail.com> a
écrit :

> Hi,
>
> On Sun, 10 Dec 2023 at 09:18, Philippe Veber <philippe.veber@gmail.com>
> wrote:
>
> > (define mychannels
> >   (list (channel
> >          (name 'guix)
> >          (url "https://git.savannah.gnu.org/git/guix.git")
> >          ;; Last commit that still has openmpi < 4.0.0
> >          (commit
> >           "1482531cd7d0f1f7e565207240affb68dd822e17"))))
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=1482531cd7d0f1f7e565207240affb68dd822e17 --
> help
> guix time-machine: error: cannot travel past commit `6298c3ffd965' from
> May 1st, 2019
> --8<---------------cut here---------------end--------------->8---
>
>
> >      My question is this: should I just be patient and wait for it to
> > complete or I'm doing this wrong?
>
> You are trying to time-travel to something before the introduction of
> time-travel.  Hence the unexpected behaviour, I guess.
>
> Thanks for reporting that something is missing.  The inferior should
> stop and error out.  It does not because ’cached-channel-instance’ is
> currently called with the argument ’#:validate-channels’ set to the
> default (const #t).
>
> Currently, the verification is only done in
> guix/scripts/time-machine.scm.  Well, this issue seems being part of
> bug#65788 [1].
>
>
> 1: bug#65788: poor information when updating using “guix time-machine”
> Simon Tournier <zimon.toutoune@gmail.com>
> Wed, 06 Sep 2023 18:57:38 +0200
> id:87pm2vme7x.fsf@gmail.com
> https://issues.guix.gnu.org/65788
> https://issues.guix.gnu.org/msgid/87pm2vme7x.fsf@gmail.com
> https://yhetil.org/guix/87pm2vme7x.fsf@gmail.com
>
> Cheers,
> simon
>

  reply	other threads:[~2023-12-22  7:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-10  8:18 Dependence on an old version of a package Philippe Veber
2023-12-19 14:38 ` Simon Tournier
2023-12-21 10:31   ` Philippe Veber [this message]
2024-01-11 18:29     ` Simon Tournier
2024-01-14 14:41       ` Philippe Veber

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='CAOOOohS14VbH_jiaX6cM-RJrTsXLv=Muz_75iAiEc4tbcqjMXQ@mail.gmail.com' \
    --to=philippe.veber@gmail.com \
    --cc=help-guix@gnu.org \
    --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.
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).