Skip to contentSkip to conversation

Update README.rst to specify secure protocols where possible

PATCH Applied Rebecca Cran 2 participants 5 messages Jul 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update README.rst to specify secure protocols where possible

Change git clone commands to specify https instead of git or http. GitHub has removed support for the git protocol
(https://github.blog/changelog/2022-03-15-removed-unencrypted-git-protocol-and-certain-ssh-keys/)
and http accesses will normally redirect to https.

Update links to use https where possible: all the sites with updated links automatically redirect http accesses to https.

---
 README.rst | 27 ++++++--------------
 1 file changed, 8 insertions(+), 19 deletions(-)
README.rst +8 -19
index 527f33ab..ce5c0707 100644
@@ -27,31 +27,20 @@ Source
 
 Fio resides in a git repo, the canonical place is:
 
-	git://git.kernel.dk/fio.git
-
-When inside a corporate firewall, git:// URL sometimes does not work.
-If git:// does not work, use the http protocol instead:
-
-	http://git.kernel.dk/fio.git
+	https://git.kernel.dk/fio.git
 
 Snapshots are frequently generated and :file:`fio-git-*.tar.gz` include the git
 meta data as well. Other tarballs are archives of official fio releases.
 Snapshots can download from:
 
-	http://brick.kernel.dk/snaps/
+	https://brick.kernel.dk/snaps/
 
 There are also two official mirrors. Both of these are automatically synced with
 the main repository, when changes are pushed. If the main repo is down for some
 reason, either one of these is safe to use as a backup:
 
-	git://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git
-
 	https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio.git
 
-or
-
-	git://github.com/axboe/fio.git
-
 	https://github.com/axboe/fio.git
 
 
@@ -70,7 +59,7 @@ email to [email protected] with
 
 in the body of the email. Archives can be found here:
 
-	http://www.spinics.net/lists/fio/
+	https://www.spinics.net/lists/fio/
 
 or here:
 
@@ -97,12 +86,12 @@ Binary packages
 
 Debian:
 	Starting with Debian "Squeeze", fio packages are part of the official
-	Debian repository. http://packages.debian.org/search?keywords=fio .
+	Debian repository. https://packages.debian.org/search?keywords=fio .
 
 Ubuntu:
 	Starting with Ubuntu 10.04 LTS (aka "Lucid Lynx"), fio packages are part
 	of the Ubuntu "universe" repository.
-	http://packages.ubuntu.com/search?keywords=fio .
+	https://packages.ubuntu.com/search?keywords=fio .
 
 Red Hat, Fedora, CentOS & Co:
 	Starting with Fedora 9/Extra Packages for Enterprise Linux 4, fio
@@ -176,7 +165,7 @@ directory.
 
 How to compile fio on 64-bit Windows:
 
- 1. Install Cygwin (http://www.cygwin.com/). Install **make** and all
+ 1. Install Cygwin (https://www.cygwin.com/). Install **make** and all
     packages starting with **mingw64-x86_64**. Ensure
     **mingw64-x86_64-zlib** are installed if you wish
     to enable fio's log compression functionality.
@@ -205,8 +194,8 @@ browser to :file:`./doc/output/html/index.html`.  To build manual page run
 ``make -C doc man`` and then ``man doc/output/man/fio.1``.  To see what other
 output formats are supported run ``make -C doc help``.
 
-.. _reStructuredText: http://www.sphinx-doc.org/rest.html
-.. _Sphinx: http://www.sphinx-doc.org
+.. _reStructuredText: https://www.sphinx-doc.org/rest.html
+.. _Sphinx: https://www.sphinx-doc.org
 
 
 Platforms
Signature · 1 line
2.25.1
#1 lore raw
Quoted 18 lines · Rebecca Cran

Change git clone commands to specify https instead of git or http. GitHub has removed support for the git protocol
(https://github.blog/changelog/2022-03-15-removed-unencrypted-git-protocol-and-certain-ssh-keys/)
and http accesses will normally redirect to https.

Update links to use https where possible: all the sites with updated links automatically redirect http accesses to https.

---
 README.rst | 27 ++++++--------------
 1 file changed, 8 insertions(+), 19 deletions(-)
README.rst +0 -0
index 527f33ab..ce5c0707 100644

README.rst Source · line 30

Quoted 10 lines
README.rst +1 -6
@@ -27,31 +27,20 @@ Source
 
 Fio resides in a git repo, the canonical place is:
 
-	git://git.kernel.dk/fio.git
-
-When inside a corporate firewall, git:// URL sometimes does not work.
-If git:// does not work, use the http protocol instead:
-
-	http://git.kernel.dk/fio.git
+	https://git.kernel.dk/fio.git

I don't think you checked that one... I've fixed it up, looks like the cgit redirect doesn't always work reliably.

Apart from that, looks fine - applied, thanks.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 22 lines · Jens Axboe
Quoted 21 lines · Rebecca Cran

Change git clone commands to specify https instead of git or http. GitHub has removed support for the git protocol
(https://github.blog/changelog/2022-03-15-removed-unencrypted-git-protocol-and-certain-ssh-keys/)
and http accesses will normally redirect to https.

Update links to use https where possible: all the sites with updated links automatically redirect http accesses to https.

---
 README.rst | 27 ++++++--------------
 1 file changed, 8 insertions(+), 19 deletions(-)
README.rst +0 -0
index 527f33ab..ce5c0707 100644
@@ -27,31 +27,20 @@ Source
 
 Fio resides in a git repo, the canonical place is:
 
Quoted 10 lines

README.rst Source · line 30

Quoted 7 lines
README.rst +1 -6
-	git://git.kernel.dk/fio.git
-
-When inside a corporate firewall, git:// URL sometimes does not work.
-If git:// does not work, use the http protocol instead:
-
-	http://git.kernel.dk/fio.git
+	https://git.kernel.dk/fio.git

I don't think you checked that one... I've fixed it up, looks like the cgit redirect doesn't always work reliably.

I did check it: cloning worked, but accessing it in a web browser didn’t work, and since accessing git:// in a web browser also doesn’t work I decided to update it.

Rebecca

#3 lore raw
Quoted 34 lines · Rebecca Cran
Quoted 22 lines · Jens Axboe
Quoted 21 lines · Rebecca Cran

Change git clone commands to specify https instead of git or http. GitHub has removed support for the git protocol
(https://github.blog/changelog/2022-03-15-removed-unencrypted-git-protocol-and-certain-ssh-keys/)
and http accesses will normally redirect to https.

Update links to use https where possible: all the sites with updated links automatically redirect http accesses to https.

---
 README.rst | 27 ++++++--------------
 1 file changed, 8 insertions(+), 19 deletions(-)
README.rst +0 -0
index 527f33ab..ce5c0707 100644
@@ -27,31 +27,20 @@ Source
 
 Fio resides in a git repo, the canonical place is:
 
Quoted 10 lines

README.rst Source · line 30

Quoted 7 lines
README.rst +1 -6
-	git://git.kernel.dk/fio.git
-
-When inside a corporate firewall, git:// URL sometimes does not work.
-If git:// does not work, use the http protocol instead:
-
-	http://git.kernel.dk/fio.git
+	https://git.kernel.dk/fio.git

I don't think you checked that one... I've fixed it up, looks like the cgit redirect doesn't always work reliably.

Quoted 3 lines

I did check it: cloning worked, but accessing it in a web browser didn?t work, and since accessing git:// in a web browser also doesn?t work I decided to update it.

https://git.kernel.dk/cgit/fio/

should work for both cloning and in a browser, which is why I made the update.

Signature · 1 line
Jens Axboe
Applied
#4 lore raw
In reply to Rebecca Cran
Quoted 9 lines · Rebecca Cran

Change git clone commands to specify https instead of git or http. GitHub has removed support for the git protocol
(https://github.blog/changelog/2022-03-15-removed-unencrypted-git-protocol-and-certain-ssh-keys/)
and http accesses will normally redirect to https.

Update links to use https where possible: all the sites with updated links automatically redirect http accesses to https.

[...]

Applied, thanks!

[1/1] Update README.rst to specify secure protocols where possible

      commit: d6225c1550827077c0c0f9e1b8816b4f35cd5304

Best regards,

Signature · 1 line
Jens Axboe