From a6c7132abc972b91826db1cf6f820d6b1b454ba0 Mon Sep 17 00:00:00 2001 From: Matthew Harm Bekkema Date: Fri, 3 Aug 2018 23:01:34 +1000 Subject: [PATCH] doc: change git:// links to https:// (#44395) The server is not verified over the git:// transfer protocol. If you clone a repository over git://, you should check if the latest commit's hash is correct. On the other hand, https:// will always verify the server automatically, using certificate authorities. --- README.md | 2 +- doc/quick-start.xml | 2 +- nixos/doc/manual/configuration/adding-custom-packages.xml | 2 +- nixos/doc/manual/development/sources.xml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 96902b9ab33e..86bc8534b3c4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ build daemon as so-called channels. To get channel information via git, add [nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels.git) as a remote: ``` -% git remote add channels git://github.com/NixOS/nixpkgs-channels.git +% git remote add channels https://github.com/NixOS/nixpkgs-channels.git ``` For stability and maximum binary package support, it is recommended to maintain diff --git a/doc/quick-start.xml b/doc/quick-start.xml index 0cba3a4769c4..b9e6d789404a 100644 --- a/doc/quick-start.xml +++ b/doc/quick-start.xml @@ -9,7 +9,7 @@ Checkout the Nixpkgs source tree: -$ git clone git://github.com/NixOS/nixpkgs.git +$ git clone https://github.com/NixOS/nixpkgs $ cd nixpkgs diff --git a/nixos/doc/manual/configuration/adding-custom-packages.xml b/nixos/doc/manual/configuration/adding-custom-packages.xml index b59287a622e6..028a94275345 100644 --- a/nixos/doc/manual/configuration/adding-custom-packages.xml +++ b/nixos/doc/manual/configuration/adding-custom-packages.xml @@ -14,7 +14,7 @@ xlink:href="http://nixos.org/nixpkgs/manual">Nixpkgs manual. In short, you clone Nixpkgs: -$ git clone git://github.com/NixOS/nixpkgs.git +$ git clone https://github.com/NixOS/nixpkgs $ cd nixpkgs Then you write and test the package as described in the Nixpkgs manual. diff --git a/nixos/doc/manual/development/sources.xml b/nixos/doc/manual/development/sources.xml index c7b64cb84beb..eec9b56b1c07 100644 --- a/nixos/doc/manual/development/sources.xml +++ b/nixos/doc/manual/development/sources.xml @@ -11,9 +11,9 @@ modify NixOS, however, you should check out the latest sources from Git. This is as follows: -$ git clone git://github.com/NixOS/nixpkgs.git +$ git clone https://github.com/NixOS/nixpkgs $ cd nixpkgs -$ git remote add channels git://github.com/NixOS/nixpkgs-channels.git +$ git remote add channels https://github.com/NixOS/nixpkgs-channels $ git remote update channels This will check out the latest Nixpkgs sources to