guix-play/guix/scripts
Ludovic Courtès 69ffe875c3
http-client, substitute: Gracefully handle GnuTLS EAGAIN/EINTR.
Partly fixes <https://bugs.gnu.org/47867>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

In GnuTLS up to 3.7.1 included, GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED
are not handled by 'write_to_session_record_port' and could be thrown at
the caller.  This patch works around that by dropping connections
altogether and restarting when this happens.

* guix/http-client.scm (false-if-networking-error): Swallow ERROR/AGAIN
and ERROR/INTERRUPTED.
* guix/scripts/substitute.scm (call-with-cached-connection): Likewise.
2021-04-25 14:36:40 +02:00
..
container
git
import import: Remove Nix importer. 2021-04-25 14:34:09 +02:00
system guix system: Adjust 'upgrade-shepherd-services' to shepherd service change. 2021-01-30 18:23:52 +01:00
archive.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
authenticate.scm
build.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
challenge.scm guix: Split (guix substitutes) from (guix scripts substitute). 2021-03-05 21:06:03 +00:00
container.scm
copy.scm scripts: Scripts that defaulted to -v2 now default to -v3. 2021-03-31 16:08:05 +02:00
deploy.scm deploy: Let key-and-args exceptions through. 2020-11-26 23:39:15 +01:00
describe.scm scripts: describe: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
discover.scm scripts: discover: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
download.scm scripts: download: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
edit.scm scripts: edit: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
environment.scm environment: Allow compilation with Guile 2.2. 2021-03-01 17:45:50 +01:00
gc.scm
git.scm
graph.scm transformations: Show '--help-transform' only where applicable. 2020-11-21 12:39:14 +01:00
hash.scm guix hash: Honor '-H' when used alongside '-r'. 2021-01-04 11:51:48 +01:00
import.scm import: Remove Nix importer. 2021-04-25 14:34:09 +02:00
install.scm transformations: Show '--help-transform' only where applicable. 2020-11-21 12:39:14 +01:00
lint.scm scripts: lint: Display result of checkers on stdout. 2020-11-21 10:23:08 +00:00
offload.scm ssh: Use 'guix repl' instead of 'guile'. 2020-12-23 16:03:32 +01:00
pack.scm profiles: 'package->manifest-entry' preserves transformations by default. 2021-03-05 12:49:27 +01:00
package.scm guix package: Autoload Guile-JSON and (guix describe). 2021-03-19 13:23:27 +01:00
perform-download.scm
processes.scm processes: Add '--format' and the "normalized" format. 2020-11-29 23:55:57 +01:00
publish.scm scripts: publish: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:54 +02:00
pull.scm pull: Expand help text for --{url,commit,branch}. 2021-03-05 19:07:31 +01:00
refresh.scm guix: refresh: Do not use argument jumping with ngettext. 2020-11-18 20:58:51 +01:00
remove.scm
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
show.scm scripts: show: Replace 'args-fold*' by 'parse-command-line'. 2021-04-01 14:58:55 +02:00
size.scm
substitute.scm http-client, substitute: Gracefully handle GnuTLS EAGAIN/EINTR. 2021-04-25 14:36:40 +02:00
system.scm scripts: system: Default to -v3 when building a system. 2021-04-11 22:13:17 -04:00
time-machine.scm time-machine: Fail when unrecognized option. 2021-03-11 23:19:53 +01:00
upgrade.scm upgrade: Allow several regexps. 2020-12-01 11:34:10 +01:00
weather.scm weather: Only show request statistics when requests were made. 2021-03-17 23:12:31 +00:00