Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp771563ybg; Wed, 10 Jun 2020 13:18:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj0sIUvsI3ExTpxR9ZZHe31YnzQQNPd6c3P+7ibkLVNP6Oj8ozdv0wESx2Dg2cR4rSkue6 X-Received: by 2002:a17:906:a1cb:: with SMTP id bx11mr4933874ejb.526.1591820287174; Wed, 10 Jun 2020 13:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591820287; cv=none; d=google.com; s=arc-20160816; b=ZAvQPoT+kWEzu+4w3TABLJi3h1m5aEEcp26gix5g2EnS9sDVr/NtMqzK8PGq+HDFTa q2cXNd1eAUUqMUG8pwCp0mNS35pVFG5bKJT4NaCaUDwR8fhNE68omd3aYvedR9Y02Kwz OEoDAXw+dFXxXwO1/nx3bOWSYvLLaTVvPpLXXbO3q8UmnwJaO1XdMdOJ2BuKgfbMj5Yt vzY2SesnuBit1pQM6DJq7Oe6ZGLrNKfBYWzaPZS6kXzHuQ1g/BytTwHcbj1Wc4Zw5AiN 4Y0/OseqMcRQPyo5I8oz0cAMw/fTvTi0e+lVxq6i16F8Ara04ix/nk6K2kyBDhN1GVns /upg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:from :references:to:subject; bh=aac95ria8DH3pZYOma6yFJDKa68podvyLean+lIhQao=; b=cWyIvqLOElGyndrCmgmLsSD/XLhWjCba+XF0uqDhsZkyaGKMdRWPHlCkivYu/cgtvW r1PSIrJFL9Ws05Pc7OgF3Yue6838NeEwrBASMFxrQFN8gIN7qdV8PY2ANvXad5h+61FH UKbPk44guLus1SeFdaUUGDv6aqyzoS7kD1WfrmwTcsqz6F9mmw/j1F8D6feiOlVU6KEQ y7cl/7NnLNnw31RVDYdDHIhGnBL0UZeza30ZQoIz16nK3WgJQ8dlgyLQtZIExjZmCoA3 dSm61Hoi8Ndz0vi+uk3igpbbQ2Fdq7KIy4RLzyR8fOZFH+nfBdKhBXKX+cK6jdCPNFFk zA+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz28si347261edb.384.2020.06.10.13.17.43; Wed, 10 Jun 2020 13:18:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728610AbgFJSLs (ORCPT + 99 others); Wed, 10 Jun 2020 14:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728505AbgFJSLs (ORCPT ); Wed, 10 Jun 2020 14:11:48 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A63AC03E96B; Wed, 10 Jun 2020 11:11:48 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 9520AFDA8D; Wed, 10 Jun 2020 18:11:40 +0000 (UTC) Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/it_IT To: Federico Vaga , Jonathan Corbet , Mauro Carvalho Chehab , David Sterba , Randy Dunlap , Theodore Ts'o , "Darrick J. Wong" , Pankaj Bharadiya , Kees Cook , Jacob Huisman , =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= , Rob Herring , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com References: <20200609201241.81518-1-grandmaster@al2klimov.de> <4235548.LvFx2qVVIh@harkonnen> From: "Alexander A. Klimov" Message-ID: Date: Wed, 10 Jun 2020 20:11:39 +0200 MIME-Version: 1.0 In-Reply-To: <4235548.LvFx2qVVIh@harkonnen> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spamd-Bar: + X-Spam-Level: * Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 10.06.20 um 10:57 schrieb Federico Vaga: > On Tuesday, June 9, 2020 10:12:41 PM CEST Alexander A. Klimov wrote: >> Rationale: >> Reduces attack surface on kernel devs opening the links for MITM >> as HTTPS traffic is much harder to manipulate. >> >> Deterministic algorithm: >> For each file: >> For each line: >> If doesn't contain `\bxmlns\b`: >> For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: >> If both the HTTP and HTTPS versions >> return 200 OK and serve the same content: >> Replace HTTP with HTTPS. >> >> Signed-off-by: Alexander A. Klimov >> --- >> .../translations/it_IT/admin-guide/README.rst | 2 +- >> .../translations/it_IT/doc-guide/parse-headers.rst | 2 +- >> .../translations/it_IT/doc-guide/sphinx.rst | 10 +++++----- >> .../translations/it_IT/process/2.Process.rst | 12 ++++++------ >> .../translations/it_IT/process/3.Early-stage.rst | 2 +- >> .../translations/it_IT/process/4.Coding.rst | 4 ++-- >> .../it_IT/process/7.AdvancedTopics.rst | 8 ++++---- >> .../translations/it_IT/process/8.Conclusion.rst | 14 +++++++------- >> .../translations/it_IT/process/adding-syscalls.rst | 4 ++-- >> .../translations/it_IT/process/changes.rst | 6 +++--- >> .../translations/it_IT/process/clang-format.rst | 2 +- >> .../translations/it_IT/process/coding-style.rst | 2 +- >> Documentation/translations/it_IT/process/howto.rst | 2 +- >> .../it_IT/process/maintainer-pgp-guide.rst | 2 +- >> .../it_IT/process/submitting-patches.rst | 4 ++-- >> .../it_IT/process/volatile-considered-harmful.rst | 4 ++-- >> 16 files changed, 40 insertions(+), 40 deletions(-) >> > > >> diff --git a/Documentation/translations/it_IT/doc-guide/sphinx.rst >> b/Documentation/translations/it_IT/doc-guide/sphinx.rst index >> f1ad4504b734..0aaeb0297661 100644 >> --- a/Documentation/translations/it_IT/doc-guide/sphinx.rst >> +++ b/Documentation/translations/it_IT/doc-guide/sphinx.rst >> @@ -14,7 +14,7 @@ Per generare la documentazione in HTML o PDF, usate >> comandi ``make htmldocs`` o ``make pdfdocs``. La documentazione così >> generata sarà disponibile nella cartella ``Documentation/output``. >> >> -.. _Sphinx: http://www.sphinx-doc.org/ >> +.. _Sphinx: https://www.sphinx-doc.org/ >> .. _reStructuredText: http://docutils.sourceforge.net/rst.html > > It is not part of the deterministic algorithm but you may consider this as > well > > -.. _reStructuredText: http://docutils.sourceforge.net/rst.html > +.. _reStructuredText: https://docutils.sourceforge.io/rst.html > > > > I'll think about analyzing such almost-matches, extending the algo and supplying a second round of patches once all [1] of this round arrive in torvalds/master. [1]: ➜ linux git:(feature/https-links-3) ✗ git diff --shortstat 1963 files changed, 2882 insertions(+), 2882 deletions(-) ➜ linux git:(feature/https-links-3) ✗