time-machine: Allow time travels to v0.16.0.
* guix/scripts/time-machine.scm (%oldest-possible-commit): Change to v0.16.0. * tests/guix-time-machine.sh: Adjust comment. Change-Id: I9ad82bd45fee0d172b5348a8ae16e990338a3a97
This commit is contained in:
parent
001dfb8957
commit
a26bce55e6
@ -1,6 +1,6 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
;;; Copyright © 2019 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
||||||
;;; Copyright © 2019, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2019-2021, 2023-2024 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||||
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
@ -147,7 +147,7 @@ Execute COMMAND ARGS... in an older version of Guix.\n"))
|
|||||||
;;; firmed up in v1.0.0; it is the oldest, safest commit that can be travelled
|
;;; firmed up in v1.0.0; it is the oldest, safest commit that can be travelled
|
||||||
;;; to.
|
;;; to.
|
||||||
(define %oldest-possible-commit
|
(define %oldest-possible-commit
|
||||||
"6298c3ffd9654d3231a6f25390b056483e8f407c") ;v1.0.0
|
"4a0b87f0ec5b6c2dcf82b372dd20ca7ea6acdd9c") ;v0.16.0
|
||||||
|
|
||||||
(define %reference-channels
|
(define %reference-channels
|
||||||
(list (channel (inherit %default-guix-channel)
|
(list (channel (inherit %default-guix-channel)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# GNU Guix --- Functional package management for GNU
|
# GNU Guix --- Functional package management for GNU
|
||||||
# Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
# Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
# Copyright © 2023 Ludovic Courtès <ludo@gnu.org>
|
# Copyright © 2023-2024 Ludovic Courtès <ludo@gnu.org>
|
||||||
#
|
#
|
||||||
# This file is part of GNU Guix.
|
# This file is part of GNU Guix.
|
||||||
#
|
#
|
||||||
@ -39,7 +39,7 @@ else
|
|||||||
EXTRA_OPTIONS=""
|
EXTRA_OPTIONS=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Visiting a commit older than v1.0.0 must fail (this test is expensive
|
# Visiting a commit older than v0.16.0 must fail (this test is expensive
|
||||||
# because it clones the whole repository).
|
# because it clones the whole repository).
|
||||||
guix time-machine -q --commit=v0.15.0 $EXTRA_OPTIONS -- describe && false
|
guix time-machine -q --commit=v0.15.0 $EXTRA_OPTIONS -- describe && false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user