summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-18 10:19:54 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-18 17:43:56 +0200
commit702c3c7dab87df674c3d6abc138805895b5d1d32 (patch)
treee1a000929a0d529a5d70bacfaf54cc64cc43fd73 /gnu/packages
parentbd5b6ce0d7562a669d24f710fe62adcd0b8bf67a (diff)
downloadguix-702c3c7dab87df674c3d6abc138805895b5d1d32.tar.gz
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.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions