summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Harm Bekkema <mbekkema97@gmail.com>2018-08-03 23:01:34 +1000
committerJörg Thalheim <Mic92@users.noreply.github.com>2018-08-03 14:01:34 +0100
commita6c7132abc972b91826db1cf6f820d6b1b454ba0 (patch)
treee6cf939d171e83b6f9e8d19c7ab6ab3ad01e51b5
parent83cc1e3d38100fac3f2937bfcd9bb12616671df2 (diff)
downloadnixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar
nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.gz
nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.bz2
nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.lz
nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.xz
nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.zst
nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.zip
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.
-rw-r--r--README.md2
-rw-r--r--doc/quick-start.xml2
-rw-r--r--nixos/doc/manual/configuration/adding-custom-packages.xml2
-rw-r--r--nixos/doc/manual/development/sources.xml4
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 @@
     <para>
      Checkout the Nixpkgs source tree:
 <screen>
-$ git clone git://github.com/NixOS/nixpkgs.git 
+$ git clone https://github.com/NixOS/nixpkgs
 $ cd nixpkgs</screen>
     </para>
    </listitem>
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</link>. In short, you clone Nixpkgs:
 <screen>
-$ git clone git://github.com/NixOS/nixpkgs.git
+$ git clone https://github.com/NixOS/nixpkgs
 $ cd nixpkgs
 </screen>
   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:
 <screen>
-$ 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
 </screen>
   This will check out the latest Nixpkgs sources to