guix-play/guix/scripts
Maxim Cournoyer 79ec651a28
scripts: time-machine: Error when attempting to visit too old commits.
* doc/guix.texi (Invoking guix time-machine): Document limitation.
* guix/inferior.scm (cached-channel-instance): New VALIDATE-CHANNELS
argument.  Use it to validate channels when there are no cache hit.
* guix/scripts/time-machine.scm
(%options): Tag the given reference with 'tag-or-commit instead of 'commit.
(%oldest-possible-commit): New variable.
(guix-time-machine) <validate-guix-channel>: New nested procedure.  Pass it to
the 'cached-channel-instance' call.
* tests/guix-time-machine.sh: New test.
* Makefile.am (SH_TESTS): Register it.

Suggested-by: Simon Tournier <zimon.toutoune@gmail.com>
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Reviewed-by: Simon Tournier <zimon.toutoune@gmail.com>
2023-08-16 21:34:13 -04:00
..
container container: Correctly report exit status. 2023-01-30 22:24:27 +01:00
git
home ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
import scripts: import: elpa: Return consistent error code. 2023-05-17 22:22:22 +02:00
system reconfigure: Use let* from srfi-71. 2023-08-12 23:07:40 +02:00
archive.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
authenticate.scm
build.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
challenge.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
container.scm
copy.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
deploy.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
describe.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
discover.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
download.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
edit.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
environment.scm environment: Fix unbound-variable bug with '--symlink'. 2023-06-02 16:57:17 +02:00
gc.scm guix gc: Round MiBs in user feedback. 2023-05-31 22:45:35 +02:00
git.scm
graph.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
hash.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
home.scm guix home: Create /tmp in container if needed. 2023-08-16 22:09:38 +02:00
import.scm import: Gracefully handle EPIPE. 2023-06-08 22:06:00 +02:00
install.scm
lint.scm lint: Add '-e'. 2022-08-08 11:22:31 +02:00
locate.scm locate: Ignore unreadable manifests. 2023-07-11 15:47:55 +02:00
offload.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pack.scm pack: Move common build code to (guix build pack). 2023-07-18 16:56:06 -04:00
package.scm Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
perform-download.scm download: Use Disarchive as a last resort. 2021-04-29 11:24:48 -04:00
processes.scm
publish.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pull.scm pull: Tag commit argument with 'tag-or-commit. 2023-08-16 21:34:13 -04:00
refresh.scm refresh: Add --target-version option. 2023-08-15 09:38:29 -04:00
remove.scm
repl.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
search.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
shell.scm shell: Really take system into account in the cache key. 2023-07-13 17:20:02 +02:00
show.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
size.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
style.scm diagnostics: Factorize 'absolute-location'. 2023-05-31 23:25:25 +02:00
substitute.scm substitute: Gracefully retry after failed partial downloads. 2023-06-08 22:54:58 +02:00
system.scm system: Do not check initrd modules for pseudo file systems. 2023-08-08 18:01:54 +02:00
time-machine.scm scripts: time-machine: Error when attempting to visit too old commits. 2023-08-16 21:34:13 -04:00
upgrade.scm
weather.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00