From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2K5GLb53WGHNLwEAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 17:16:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uKLWKL53WGEWaAAAB5/wlQ (envelope-from ) for ; Sat, 02 Oct 2021 15:16:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 50EBD318CA for ; Sat, 2 Oct 2021 17:16:14 +0200 (CEST) Received: from localhost ([::1]:51458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWgkH-0004De-Em for larch@yhetil.org; Sat, 02 Oct 2021 11:16:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWgk7-0004Bu-0c for guix-patches@gnu.org; Sat, 02 Oct 2021 11:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWgk5-0000ar-OH for guix-patches@gnu.org; Sat, 02 Oct 2021 11:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWgk5-0005zT-I7 for guix-patches@gnu.org; Sat, 02 Oct 2021 11:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50874] [PATCH] lint: Check if HTTPS version of HTTP URL exists. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Oct 2021 15:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50874 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen Cc: 50874@debbugs.gnu.org Received: via spool by 50874-submit@debbugs.gnu.org id=B50874.163318773822997 (code B ref 50874); Sat, 02 Oct 2021 15:16:01 +0000 Received: (at 50874) by debbugs.gnu.org; 2 Oct 2021 15:15:38 +0000 Received: from localhost ([127.0.0.1]:60281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWgji-0005yr-3g for submit@debbugs.gnu.org; Sat, 02 Oct 2021 11:15:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWgjZ-0005yT-0L for 50874@debbugs.gnu.org; Sat, 02 Oct 2021 11:15:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55020) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWgjT-0008Qr-Ah; Sat, 02 Oct 2021 11:15:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36498 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWgjQ-0000qn-Ke; Sat, 02 Oct 2021 11:15:21 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sat, 02 Oct 2021 17:15:18 +0200 In-Reply-To: (Xinglu Chen's message of "Tue, 28 Sep 2021 21:09:10 +0200") Message-ID: <877devwj95.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633187774; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=aaJi+FRnb6W81mFyuMpBJ/RgwgREurJ6ntlLXR8otfE=; b=KWPXncyKswI36VwZNL6BrIRtYX8mTB4skOfmpFHyUq44NM786m2g+E9NZVvHzQ1CzjasFV NFy4zVlFKtSCnXXCP5O1l7Lwvg6yeg7DQzJID7J3N5x1NeZv6gmbw7Ks5GQGC5ZWAE4bGo FTWI5GaRceKXj6zNLVVW6/3YHlpCp3PZNGHMPE/XdTvn6+BuHffHs3KxoZe/B05oUU99+n Sfm3aXUVsO7Nm91AQ7Dz70v/aGYLFDJitFJjM84qUVzO/eGlJAhkLz6xywfExGeh2iYidU gW3CcZ0pEsBn+gHJG1DSZzI4DKhy777e2PmtYTHd1JyYJijxGCXHrL4T7Q6m0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633187774; a=rsa-sha256; cv=none; b=UJYgyPZtSWwuB31v7aKWemWDpyzLRKqZD195lF6A9H5TVMn+PPW+3zf2EHJgMNme5bykyQ xV+yAJN+ES4phKhuAcihJPZNq739vLeMNf8DJUHQCTHO5aBWhHa+lWD+gTHufWyCXTjLZM Jbo9+8dC1LKkwwWGTePPw9xoeqZTIGSpnL1HF8vJu0Tn+9ctbmAaCuWXiDN0rlfVZdXXqz xTYmfkQFyycIGkjX67oCt+NBN+oOuxmxk82jhLabIfsN+ybSTRrfWqJz+3+CkIfj2Ksrlp AF9hWF/YJ3hXromPL9FjlQHMt/HJxHus1fdWO5d96cl0n0F7cSuJAZAgoJRhhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 50EBD318CA X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: Wo8ZMKapC1k3 Hi, Xinglu Chen skribis: > * guix/lint.scm (check-if-https-uri-exists?): New procedure. > (check-home-page, check-source): Use it. Applied, thanks! > I don=E2=80=99t really know how to test this while making it future-proof= , any > suggestions? I don=E2=80=99t know either, since we don=E2=80=99t have an easy way to spi= n up an HTTPS server. I think it=E2=80=99s okay to leave it as is, for lack of a better = idea. However, this version of the patch leads to test failures in tests/lint.scm (=E2=80=9CConnection refused=E2=80=9D). Ludo=E2=80=99.