Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/zh_CN

From: Alexander A. Klimov
Date: Mon Jun 08 2020 - 14:08:43 EST




Am 25.05.20 um 22:21 schrieb Alexander A. Klimov:
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.
---
Forget this one. I forgot -s in git commit.

.../translations/zh_CN/process/2.Process.rst | 8 ++++----
.../translations/zh_CN/process/4.Coding.rst | 2 +-
.../zh_CN/process/7.AdvancedTopics.rst | 6 +++---
.../zh_CN/process/8.Conclusion.rst | 10 +++++-----
.../zh_CN/process/coding-style.rst | 2 +-
.../translations/zh_CN/process/howto.rst | 12 ++++++------
.../zh_CN/process/submitting-drivers.rst | 18 +++++++++---------
.../zh_CN/process/submitting-patches.rst | 4 ++--
.../process/volatile-considered-harmful.rst | 4 ++--
9 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/Documentation/translations/zh_CN/process/2.Process.rst b/Documentation/translations/zh_CN/process/2.Process.rst
index ceb733bb0294..ebe2e0254b3e 100644
--- a/Documentation/translations/zh_CN/process/2.Process.rst
+++ b/Documentation/translations/zh_CN/process/2.Process.rst
@@ -212,7 +212,7 @@ Next æ
åå-mm èäååâmmotmâï-mm of the momentïçåäæåïååï
- http://www.ozlabs.org/~akpm/mmotm/
+ https://www.ozlabs.org/~akpm/mmotm/
çèïäçmmotmæåèæäçääæäçäéïåçèåèææçèã
@@ -220,7 +220,7 @@ Next æ
linux-next æäääååçååéåäççåçãlinux-nextæåLinux-kernel å
Linux-next éäåèäååïåääääçäèï
- http://www.kernel.org/pub/linux/kernel/next/
+ https://www.kernel.org/pub/linux/kernel/next/
Linux-next åçæäåæååèçääåæççäéåïåääçåçååçåäåå
çææèäéåèåååçåæåäåçäææéåæåèåLinux-next çææã
@@ -260,7 +260,7 @@ stagingéåçåãåæïåæääååéçäçéåçèäïs
çååäææçLinuxåèçéæåäGitãäéääï
- http://git-scm.com/
+ https://git-scm.com/
éäééææåææåæççæéã
@@ -272,7 +272,7 @@ MercurialäGitåäèåçæïäåæääääçéïèåäè
åääååäèçååæquilt:
- http://savannah.nongnu.org/projects/quilt
+ https://savannah.nongnu.org/projects/quilt
Quilt æääèäççççïèäææäçççççãåääéçæéçæçèèååï
çåïåéåææäæååçäçåèèäççåçææãäääèçåçççæäå
diff --git a/Documentation/translations/zh_CN/process/4.Coding.rst b/Documentation/translations/zh_CN/process/4.Coding.rst
index b82b1dde3122..959a06ba025c 100644
--- a/Documentation/translations/zh_CN/process/4.Coding.rst
+++ b/Documentation/translations/zh_CN/process/4.Coding.rst
@@ -224,7 +224,7 @@ scripts/coccinelleçåäåçæåäçååçåæâèäèäâ
æBlackfinååæïæäçåäæèçèæéãåäåäääçæåäççäx86ççç
ååäåçèåï
- http://www.kernel.org/pub/tools/crosstool/
+ https://www.kernel.org/pub/tools/crosstool/
èääæéåèåäçèäçèååæåäéåäåçååã
diff --git a/Documentation/translations/zh_CN/process/7.AdvancedTopics.rst b/Documentation/translations/zh_CN/process/7.AdvancedTopics.rst
index 956815edbd18..2f0ef750746f 100644
--- a/Documentation/translations/zh_CN/process/7.AdvancedTopics.rst
+++ b/Documentation/translations/zh_CN/process/7.AdvancedTopics.rst
@@ -25,9 +25,9 @@
åæGitåäçåéååæååèçãæèååGitçååäååäåääççäæå
æåäæï
- http://git-scm.com/
+ https://git-scm.com/
- http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
+ https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
ååèäçåäèäåäåäääçäåïçäèåæéèäèççïåGitçåä
æåæääæåçäèãäçGitçååäååèèåèåäçåååçåæïæç
@@ -42,7 +42,7 @@
åæææääåäèéInternetçççïéääçgitåæèçèçèæçæååç
åçåãååïåèçååæçççïäågithubïåååçåççäãæççåå
äååäåkernel.orgäèåääåæïäèäåæåäåææåïæåæåäæï
-èåé http://kernel.org/faq/
+èåé https://kernel.org/faq/
æåçGitåäæçæååèååæçäçãæäæååçéåäåäåççâäé
åæâïåçççæãGitçåæææåäåïææççäåèäçåäãèäïå
diff --git a/Documentation/translations/zh_CN/process/8.Conclusion.rst b/Documentation/translations/zh_CN/process/8.Conclusion.rst
index 2bbd76161e10..90cec3de6106 100644
--- a/Documentation/translations/zh_CN/process/8.Conclusion.rst
+++ b/Documentation/translations/zh_CN/process/8.Conclusion.rst
@@ -17,16 +17,16 @@
èåçïâmake htmldocsâæâmake pdfdocsâåçääHTMLæPDFæåçæèäææï
åçæäåèçæäçtexçæäéååééåïæææçåçææïã
-äåçççååäçèåæäèèåæååãæçäèæèèååèç http://lwn.net/
+äåçççååäçèåæäèèåæååãæçäèæèèååèç https://lwn.net/
ääææïæåèåçååæäéçäæåäéèääçåçlwnåæçåæåï
http://lwn.net/kernel/index/
éæäåïåæååäåçääåèèææï
- http://kernelnewbies.org/
+ https://kernelnewbies.org/
-åçïæääåèåè http://kernel.org/ èæåæååäæçæçäçã
+åçïæääåèåè https://kernel.org/ èæåæååäæçæçäçã
åäåæååæååäï
@@ -42,9 +42,9 @@
æågitçææïèèéï
- http://www.kernel.org/pub/software/scm/git/docs/
+ https://www.kernel.org/pub/software/scm/git/docs/
- http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
+ https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
çè
====
diff --git a/Documentation/translations/zh_CN/process/coding-style.rst b/Documentation/translations/zh_CN/process/coding-style.rst
index eae10bc7f86f..406d43a02c02 100644
--- a/Documentation/translations/zh_CN/process/coding-style.rst
+++ b/Documentation/translations/zh_CN/process/coding-style.rst
@@ -946,7 +946,7 @@ Addison-Wesley, Inc., 1999.
ISBN 0-201-61586-X.
GNU æå - éå K&R æååæææ - cpp, gcc, gcc internals and indent,
-éåää http://www.gnu.org/manual/ æå
+éåää https://www.gnu.org/manual/ æå
WG14 æ C èèçåéæåååäçïURL: http://www.open-std.org/JTC1/SC22/WG14/
diff --git a/Documentation/translations/zh_CN/process/howto.rst b/Documentation/translations/zh_CN/process/howto.rst
index a8e6ab818983..ee3dee476d57 100644
--- a/Documentation/translations/zh_CN/process/howto.rst
+++ b/Documentation/translations/zh_CN/process/howto.rst
@@ -69,7 +69,7 @@ LinuxåææäçéæåGPLïéçååèåèïçäæäååç
éäçéçäåäæååïäèææääçèææåæåã
åäGPLçåèééåèçïèèéääéæï
- http://www.gnu.org/licenses/gpl-faq.html
+ https://www.gnu.org/licenses/gpl-faq.html
ææ
@@ -109,7 +109,7 @@ Linuxåæäçäååæåéçææãèäææåäåäåää
åäåäåäæçåçæèäçäçææåæï
"The Perfect Patch"
- http://www.ozlabs.org/~akpm/stuff/tpp.txt
+ https://www.ozlabs.org/~akpm/stuff/tpp.txt
"Linux kernel patch submission format"
@@ -163,7 +163,7 @@ ReSTæåçææäçæå Documentation/output. çåäã
------------------
åæäåLinuxåæååäææçïäåèèéâLinuxåæææâèåï
- http://kernelnewbies.org
+ https://kernelnewbies.org
åææääåäéåçæåæçåæååééçéäåèïåæéäåäåèèå
ææååçéäïçèæåæäåçåçèçåçééïãåèææääåäèå
@@ -176,7 +176,7 @@ ReSTæåçææäçæå Documentation/output. çåäã
åæäæåååæååçåååååæäääåïåæäåäåéååïåäèé
âLinuxåææçåâèåï
- http://kernelnewbies.org/KernelJanitors
+ https://kernelnewbies.org/KernelJanitors
èææäçèçãåæäääçåçåçäååèïåååæäçäéèèéæ
æçæèææçåæãéèåèèèäèåçååèääååäïääåååèä
@@ -212,7 +212,7 @@ ReSTæåçææäçæå Documentation/output. çåäã
- æåääæçæçåæèååïäæäåçéæçååèæåãåèææéé
çæèåäåLinusæäåæçäæïéåèääæåçèæå-mmåæäåä
ææäãæäåéäæçééæåæäçgitååïåæçäççæççåå
- ïæåçäæåäå http://git-scm.com/ èåïïäèäçæéèääæ
+ ïæåçäæåäå https://git-scm.com/ èåïïäèäçæéèääæ
åäçã
- ääææäå-rc1çæåæååãäååæäåååèååæäåæçåæç
æåèçèäæåèèæåãèææääåæçéåçåïæèæäççïæ
@@ -472,7 +472,7 @@ Linuxåæçååäåæääææåæçäçãäæéèèæå
æäèååäåèçèæåääïèæéääææäçâChangeLogâçèï
âThe Perfect Patchâ
- http://www.ozlabs.org/~akpm/stuff/tpp.txt
+ https://www.ozlabs.org/~akpm/stuff/tpp.txt
èääæææååèæåéãèåääæééåååçåèéèåååæéãèæ
diff --git a/Documentation/translations/zh_CN/process/submitting-drivers.rst b/Documentation/translations/zh_CN/process/submitting-drivers.rst
index d99885c27aed..98341e7cd812 100644
--- a/Documentation/translations/zh_CN/process/submitting-drivers.rst
+++ b/Documentation/translations/zh_CN/process/submitting-drivers.rst
@@ -19,8 +19,8 @@
=============================
èçææåäèéåäåäåçåææçææäèåéåçåãèææïåæäæ
-åèçææåéåçåïääèåèèé XFree86 éç(http://www.xfree86.org/)
-åïæ X.org éç (http://x.org
+åèçææåéåçåïääèåèèé XFree86 éç(https://www.xfree86.org/)
+åïæ X.org éç (https://x.org
åèåé Documentation/translations/zh_CN/process/submitting-patches.rst ææã
@@ -29,7 +29,7 @@
----------
åèåååçèåçäèååääèååæç Linux ååçååéæå LANANAï
-çåæ Torben Mathiasenïèèåéãçèççåæ http://www.lanana.org/ã;
+çåæ Torben Mathiasenïèèåéãçèççåæ https://www.lanana.org/ã;
åääååæäåäæåæçèåéåäéèåèéåéèååãæåèçäæï
èåé Documentation/admin-guide/devices.rstã
@@ -133,22 +133,22 @@ Linux åæéäåèï
[åéèåmajordomo@xxxxxxxxxxxxxxxåéäæèé]
Linux èåéåçåïçäçïæè 2.6.10 çåæïï
- http://lwn.net/Kernel/LDD3/ ïåèçï
+ https://lwn.net/Kernel/LDD3/ ïåèçï
LWN.net:
- æååæååæåæè - http://lwn.net/
+ æååæååæåæè - https://lwn.net/
2.6 çä API çåæï
- http://lwn.net/Articles/2.6-kernel-api/
+ https://lwn.net/Articles/2.6-kernel-api/
åæçåæçéåçåçæå 2.6 çï
- http://lwn.net/Articles/driver-porting/
+ https://lwn.net/Articles/driver-porting/
åæææ(KernelNewbies):
äæçåæååèæäææååå
- http://kernelnewbies.org/
+ https://kernelnewbies.org/
Linux USBéçï
http://www.linux-usb.org/
@@ -157,4 +157,4 @@ Linux USBéçï
http://www.fenrus.org/how-to-not-write-a-device-driver-paper.pdf
åæææå (Kernel Janitor):
- http://kernelnewbies.org/KernelJanitors
+ https://kernelnewbies.org/KernelJanitors
diff --git a/Documentation/translations/zh_CN/process/submitting-patches.rst b/Documentation/translations/zh_CN/process/submitting-patches.rst
index 1bb4271ab420..2e7dbaad4028 100644
--- a/Documentation/translations/zh_CN/process/submitting-patches.rst
+++ b/Documentation/translations/zh_CN/process/submitting-patches.rst
@@ -91,7 +91,7 @@
:ref:`cn_split_changes`
åæäç ``git`` , ``git rebase -i`` åäååäèäçãåæääç ``git``,
-``quilt`` <http://savannah.nongnu.org/projects/quilt> ååääæèçéæã
+``quilt`` <https://savannah.nongnu.org/projects/quilt> ååääæèçéæã
.. _cn_describe_changes:
@@ -649,7 +649,7 @@ pull èæèåèååäææäææïèæèæäåååääï
--------
Andrew Morton, "The perfect patch" (tpp).
- <http://www.ozlabs.org/~akpm/stuff/tpp.txt>
+ <https://www.ozlabs.org/~akpm/stuff/tpp.txt>
Jeff Garzik, "Linux kernel patch submission format".
<https://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html>
diff --git a/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst b/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
index 48b32ce58ef1..ded3b5d0c9a8 100644
--- a/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
+++ b/Documentation/translations/zh_CN/process/volatile-considered-harmful.rst
@@ -94,8 +94,8 @@ bugåäéèåèæçäçéåäçææãéäèåäçvolatile
æé
----
-[1] http://lwn.net/Articles/233481/
-[2] http://lwn.net/Articles/233482/
+[1] https://lwn.net/Articles/233481/
+[2] https://lwn.net/Articles/233482/
èè
----