guix-play/guix/scripts
Ludovic Courtès b2b9571935
offload: Gracefully handle 'guix repl' protocol errors.
Fixes <https://issues.guix.gnu.org/59447>.
Reported by Mathieu Othacehe <othacehe@gnu.org>.

Previously, if a machine had a buggy 'guix repl', 'guix offload' would
crash with a backtrace instead of just ignoring the machine.

* guix/scripts/offload.scm (remote-inferior*): New procedure.
(check-machine-availability)[if-true]: New procedure.
Use 'remote-inferior*' and 'if-true'.
(check-machine-status): Use 'remote-inferior*'.
2022-11-22 09:43:54 +01:00
..
container scripts: container: Fix typo. 2019-09-23 11:56:40 -07:00
git Add 'guix git authenticate'. 2020-07-11 12:33:01 +02:00
home home: import: Use (guix read-print) to render the config file. 2022-09-20 19:24:31 +02:00
import import: gem: Support importing a specific version of a gem. 2022-09-17 19:09:27 +02:00
system scripts: Use translations for guix.pot for service descriptions. 2022-11-20 16:01:08 +01:00
archive.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
authenticate.scm authenticate: Encode strings as ISO-8859-1. 2020-09-15 14:40:20 +02:00
build.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
challenge.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
container.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
copy.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
deploy.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
describe.scm scripts: describe: Add branch information to recutils output. 2022-11-19 19:54:15 +01:00
discover.scm scripts: discover: Report Avahi errors. 2021-05-22 14:04:19 +02:00
download.scm scripts: download: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
edit.scm edit: Extract 'spawn-editor' procedure. 2022-06-04 12:04:24 +02:00
environment.scm shell: Detect --symlink spec problems early. 2022-11-15 14:15:11 -05:00
gc.scm guix gc: Add '--vacuum-database'. 2022-11-06 14:02:08 +02:00
git.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
graph.scm scripts: Add --list-systems and --list-targets options. 2022-05-22 15:15:33 +02:00
hash.scm guix hash: Allow '-r' as a non-deprecated alias. 2022-01-10 19:31:02 +01:00
home.scm scripts: Use translations for guix.pot for service descriptions. 2022-11-20 16:01:08 +01:00
import.scm guix import: Add a blank line after each package definition. 2022-10-11 16:05:31 +02:00
install.scm transformations: Show '--help-transform' only where applicable. 2020-11-21 12:39:14 +01:00
lint.scm lint: Add '-e'. 2022-08-08 11:22:31 +02:00
offload.scm offload: Gracefully handle 'guix repl' protocol errors. 2022-11-22 09:43:54 +01:00
pack.scm pack: Remove use of GOOPS in 'deb' backend. 2022-11-19 19:54:14 +01:00
package.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
perform-download.scm download: Use Disarchive as a last resort. 2021-04-29 11:24:48 -04:00
processes.scm processes: Add '--format' and the "normalized" format. 2020-11-29 23:55:57 +01:00
publish.scm publish: Send uncached narinfo replies from the main thread. 2022-04-29 18:07:17 +02:00
pull.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
refresh.scm refresh: Repurpose '-L' for '--load-path'. 2022-06-22 23:43:22 +02:00
remove.scm scripts: Use 'define-command' and have 'guix help' use that. 2020-09-10 12:27:24 +02:00
repl.scm scripts: repl: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
search.scm scripts: search: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
shell.scm shell: Detect --symlink spec problems early. 2022-11-15 14:15:11 -05:00
show.scm scripts: show: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
size.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
style.scm style: '-f' reads input files as UTF-8 by default. 2022-11-20 23:20:31 +01:00
substitute.scm substitute: Retry downloading when a nar is unavailable. 2022-09-28 22:28:27 +02:00
system.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
time-machine.scm inferior: 'cached-channel-instance' no longer calls 'show-what-to-build'. 2021-08-09 18:14:37 +02:00
upgrade.scm upgrade: Allow several regexps. 2020-12-01 11:34:10 +01:00
weather.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00