guix-devel/guix/scripts
Ludovic Courtès 702c3c7dab
lint: 'check-github-url' uses our own 'open-connection-for-uri'.
Fixes <https://bugs.gnu.org/35053>.
Reported by Efraim Flashner <efraim@flashner.co.il>.

Previously 'check-github-url' would let Guile 2.2's (web client) module
take care of opening the connection.  Consequently, it wouldn't use the
TLS priority strings that we use in (guix build download),
'open-connection-for-uri'.  In particular, it would not disable TLSv1.3,
which would trigger <https://bugs.gnu.org/34102> for github.com.

* guix/scripts/lint.scm (check-github-url): Add #:timeout parameter.
[follow-redirect]: Change parameter name to 'url' and pass it to
'string->uri'.  Call 'guix:open-connection-for-uri' to open the
connection and pass it to 'http-head' via #:port.
2019-04-18 17:43:56 +02:00
..
container
import import: opam: Add recursive option. 2019-01-07 22:05:43 +01:00
system
archive.scm Avoid name clash with 'build' from (guix store) and (guix status). 2019-02-11 23:23:28 +01:00
authenticate.scm
build.scm guix build: Fix relative file name canonicalization for '--root'. 2019-04-15 16:57:12 +02:00
challenge.scm store: Rename '&nix-error' to '&store-error'. 2019-01-21 23:09:55 +01:00
container.scm
copy.scm Avoid name clash with 'build' from (guix store) and (guix status). 2019-02-11 23:23:28 +01:00
describe.scm describe: Warn about 'GUIX_PACKAGE_PATH' in json and recutils format. 2019-03-18 10:51:05 +01:00
download.scm scripts: Fix typo. 2019-01-17 17:58:35 +01:00
edit.scm edit: Use 'specification->location' to read information from the cache. 2019-01-15 20:24:09 +01:00
environment.scm scripts: More commands default to verbosity level 1. 2019-04-04 17:47:02 +02:00
gc.scm guix gc: '-d' does not attempt to delete non-user-owned roots. 2019-04-11 18:18:13 +02:00
graph.scm graph: Factorize calls to 'fold-packages'. 2019-03-23 18:15:36 +01:00
hash.scm
import.scm
lint.scm lint: 'check-github-url' uses our own 'open-connection-for-uri'. 2019-04-18 17:43:56 +02:00
offload.scm offload: 'status' reports the time difference. 2019-01-22 23:04:05 +01:00
pack.scm scripts: More commands default to verbosity level 1. 2019-04-04 17:47:02 +02:00
package.scm guix package: Use absolute file names in search path recommendations. 2019-04-10 12:40:58 +02:00
perform-download.scm
processes.scm
publish.scm publish: Add a 'Cache-Control' header on /nar responses. 2018-12-17 23:33:42 +01:00
pull.scm pull: '--url', '--commit', and '--branch' apply to the 'guix' channel. 2019-04-17 13:56:40 +02:00
refresh.scm refresh: Update the source code URL. 2019-03-27 14:59:42 +01:00
repl.scm repl: Load user's initialization file. 2018-12-03 08:04:51 +03:00
size.scm size: Optimize dependency size computation. 2019-04-07 11:36:00 +02:00
substitute.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
system.scm scripts: More commands default to verbosity level 1. 2019-04-04 17:47:02 +02:00
weather.scm weather: Add '--coverage'. 2019-01-25 14:06:37 +01:00