unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Ricardo Wurmus <rekado@elephly.net>, 56441@debbugs.gnu.org
Subject: bug#56441: Time travel doesn't resist profile format changes
Date: Fri, 08 Jul 2022 16:34:06 +0200	[thread overview]
Message-ID: <875yk7brmp.fsf_-_@gmail.com> (raw)
In-Reply-To: <87zghjx557.fsf@gnu.org> ("Ludovic Courtès"'s message of "Fri, 08 Jul 2022 12:36:36 +0200")

Hi,

On ven., 08 juil. 2022 at 12:36, Ludovic Courtès <ludo@gnu.org> wrote:
> Hi,
>
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Another option (thinking out loud):
>>
>>   • in ‘package-cache-file’, unconditionally generate a v3 profile (we
>>     could add a ‘version’ field to <profile> etc.);
>>
>>   • likewise in ‘channel-instances->derivation’.
>
> The patches below do that.  As discussed on IRC, it’s not pretty but
> it’s pragmatic.
>
> Tested with:
>
>   ./pre-inst-env guix time-machine \
>     --commit=85a5110de79f4fe9fd822ede3915654ee699d6c5 -- describe
>
> How does that sound?

It sounds good!  Here a check from v1.3 to v0.16.

--8<---------------cut here---------------start------------->8---
$ for ci in a0178d34f582b50e9bdbb0403943129ae5b560ff   \
              a099685659b4bfa6b3218f84953cbb7ff9e88063 \
              d62c9b2671be55ae0305bebfda17b595f33797f2 \
              d68de958b60426798ed62797ff7c96c327a672ac \
              6298c3ffd9654d3231a6f25390b056483e8f407c \
              4a0b87f0ec5b6c2dcf82b372dd20ca7ea6acdd9c;
do
    ./pre-inst-env guix time-machine --commit=$ci -- describe
done

  guix a0178d3
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: a0178d34f582b50e9bdbb0403943129ae5b560ff
  guix a099685
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: a099685659b4bfa6b3218f84953cbb7ff9e88063
guile: warning: failed to install locale
  guix d62c9b2
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: d62c9b2671be55ae0305bebfda17b595f33797f2
guile: warning: failed to install locale
  guix d68de95
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: d68de958b60426798ed62797ff7c96c327a672ac
guile: warning: failed to install locale
  guix 6298c3f
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: 6298c3ffd9654d3231a6f25390b056483e8f407c
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these
lines:

     guix package -i glibc-utf8-locales
     export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.


  guix 4a0b87f
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: 4a0b87f0ec5b6c2dcf82b372dd20ca7ea6acdd9c
--8<---------------cut here---------------end--------------->8---



Cheers,
simon




  reply	other threads:[~2022-07-08 14:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07 16:42 bug#56441: guix time-machine broken by profiles speed-up zimoun
2022-07-07 17:29 ` Ricardo Wurmus
2022-07-07 17:52   ` Ricardo Wurmus
2022-07-08  8:52     ` Ludovic Courtès
2022-07-08 10:36       ` Ludovic Courtès
2022-07-08 14:34         ` zimoun [this message]
2022-07-08 16:13           ` bug#56441: Time travel doesn't resist profile format changes Ludovic Courtès
2022-07-08 22:01         ` bug#56441: guix time-machine broken by profiles speed-up Ludovic Courtès
2022-07-08 10:46 ` bug#56441: Time travel doesn't resist profile format changes Ricardo Wurmus
2022-07-08 20:42   ` bug#56441: guix time-machine broken by profiles speed-up Ludovic Courtès
     [not found] ` <handler.56441.D56441.165731768325904.notifdone@debbugs.gnu.org>
2022-07-11  8:27   ` 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=875yk7brmp.fsf_-_@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=56441@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=rekado@elephly.net \
    /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).