guix-play/guix/scripts
Ludovic Courtès ddc9d66f2b
substitute: Retry nar download upon networking error.
This allows ‘guix substitute’ to gracefully handle errors like:

  TLS error in procedure 'write_to_session_record_port': Error in the push function

instead of exiting (“`guix substitute' died unexpectedly”).

* guix/scripts/substitute.scm (download-nar)[try-fetch]: Catch
‘network-error?’ too.

Reported-by: Ada Stevenson <adanskana@gmail.com>
Change-Id: I91b92183b0165832645ee37d50c13445f9322525
2024-03-30 01:01:31 +01:00
..
container container: Correctly report exit status. 2023-01-30 22:24:27 +01:00
git git authenticate: Document ‘--end’. 2024-03-19 17:02:14 +01:00
home ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
import scripts: import: elpa: Unquote-splice package sexp contents. 2024-03-06 11:09:55 +01:00
system reconfigure: Skip starting new shepherd services with auto-start? #f 2024-03-21 17:43:16 +01:00
archive.scm scripts: archive: Handle EPIPE errors when displaying help. 2023-10-17 14:51:53 +02:00
authenticate.scm authenticate: Encode strings as ISO-8859-1. 2020-09-15 14:40:20 +02:00
build.scm scripts: build: Handle EPIPE errors when displaying help. 2023-10-17 14:51:54 +02:00
challenge.scm challenge: Use the same substitute URLs as guix-daemon. 2023-12-11 23:18:57 +01:00
container.scm scripts: container: Handle EPIPE errors when displaying help. 2023-10-17 14:51:54 +02:00
copy.scm scripts: copy: Handle EPIPE errors when displaying help. 2023-10-17 14:51:55 +02:00
deploy.scm scripts: deploy: Handle EPIPE errors when displaying help. 2023-10-17 14:51:55 +02:00
describe.scm scripts: describe: Support 'channels-sans-intro' format for local checkouts. 2024-01-24 23:28:38 +01:00
discover.scm scripts: discover: Handle EPIPE errors when displaying help. 2023-10-17 14:51:56 +02:00
download.scm guix: download: Add support for git repositories. 2024-01-22 10:02:28 -05:00
edit.scm scripts: edit: Fix relative file-name with 'load-path' option. 2023-11-05 16:11:17 +01:00
environment.scm shell: ‘--development’ honors ‘--system’. 2023-12-06 23:50:04 +01:00
gc.scm scripts: gc: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
git.scm scripts: git: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
graph.scm scripts: graph: Handle EPIPE errors when displaying help. 2023-10-17 14:51:57 +02:00
hash.scm scripts: hash: Handle EPIPE errors when displaying help. 2023-10-17 14:51:58 +02:00
home.scm scripts: home: Handle EPIPE errors when displaying help. 2023-10-17 14:51:58 +02:00
import.scm import: Discard args after --version and --help. 2024-02-23 19:02:38 +01:00
install.scm scripts: install: Handle EPIPE errors when displaying help. 2023-10-17 14:51:59 +02:00
lint.scm scripts: lint: Handle EPIPE errors when displaying help. 2023-10-17 14:51:59 +02:00
locate.scm locate: Gracefully handle busy-database error conditions. 2023-11-26 23:34:48 +01:00
offload.scm scripts: offload: Handle EPIPE errors when displaying help. 2023-10-17 14:52:00 +02:00
pack.scm scripts: pack: Set correct default value for entry-point-argument. 2024-01-13 15:39:09 +01:00
package.scm scripts: package: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
perform-download.scm download: Honor ‘GUIX_DOWNLOAD_METHODS’ environment variable. 2024-03-09 18:55:50 +01:00
processes.scm scripts: processes: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
publish.scm scripts: publish: Handle EPIPE errors when displaying help. 2023-10-17 14:52:01 +02:00
pull.scm scripts: pull: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
refresh.scm scripts: refresh: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
remove.scm scripts: remove: Handle EPIPE errors when displaying help. 2023-10-17 14:52:02 +02:00
repl.scm scripts: repl: Handle EPIPE errors when displaying help. 2023-10-17 14:52:03 +02:00
search.scm scripts: search: Handle EPIPE errors when displaying help. 2023-10-17 14:52:03 +02:00
shell.scm shell: Disable caching for ‘guix shell -f guix.scm’. 2023-11-22 23:55:12 +01:00
show.scm scripts: show: Handle EPIPE errors when displaying help. 2023-10-17 14:52:04 +02:00
size.scm scripts: size: Fix guix size with --system argument. 2024-01-12 17:26:31 +01:00
style.scm style: ‘guix style -f’ warns when passed zero arguments. 2023-11-22 16:51:45 +01:00
substitute.scm substitute: Retry nar download upon networking error. 2024-03-30 01:01:31 +01:00
system.scm scripts: system: Build layered images. 2024-01-08 21:22:44 +03:00
time-machine.scm time-machine: Allow time travels to v0.16.0. 2024-03-11 22:12:34 +01:00
upgrade.scm scripts: upgrade: Handle EPIPE errors when displaying help. 2023-10-17 14:52:06 +02:00
weather.scm weather: Add ‘-e’. 2024-01-24 23:28:38 +01:00