[PATCH 2/2] docs: update all GIT repo examples to use https:// protocol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The https:// protocol is much more reliably usable than git:// when
faced with unreasonably strict firewalls. The libvirt.org web server is
now setup to support the smart https:// protocol, which is just as fast
as git://, so change all the docs to use https://

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 README-hacking           | 2 +-
 docs/csharp.html.in      | 2 +-
 docs/devguide.html.in    | 6 +++---
 docs/downloads.html.in   | 9 +++++++++
 docs/hacking.html.in     | 2 +-
 docs/java.html.in        | 2 +-
 docs/php.html.in         | 2 +-
 docs/virshcmdref.html.in | 2 +-
 8 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/README-hacking b/README-hacking
index 165d6d59cc..ec04271c6a 100644
--- a/README-hacking
+++ b/README-hacking
@@ -25,7 +25,7 @@ few prerequisites, later, a plain `git pull && make' should be sufficient.
 
 You can get a copy of the source repository like this:
 
-        $ git clone git://libvirt.org/libvirt
+        $ git clone https://libvirt.org/git/libvirt.git
         $ cd libvirt
 
 As an optional step, if you already have a copy of the gnulib git
diff --git a/docs/csharp.html.in b/docs/csharp.html.in
index fcca255072..aee0b75eb8 100644
--- a/docs/csharp.html.in
+++ b/docs/csharp.html.in
@@ -50,7 +50,7 @@
     </p>
 
 <pre>
-git clone git://libvirt.org/libvirt-csharp.git
+git clone https://libvirt.org/git/libvirt-csharp.git
 </pre>
 
     <p>
diff --git a/docs/devguide.html.in b/docs/devguide.html.in
index f460f1dd58..2668e6f29e 100644
--- a/docs/devguide.html.in
+++ b/docs/devguide.html.in
@@ -29,13 +29,13 @@
 
     <pre>
 # C language
-$ git clone <a href="https://libvirt.org/git/?p=libvirt-appdev-guide.git";>git://libvirt.org/libvirt-appdev-guide.git</a>
+$ git clone <a href="https://libvirt.org/git/?p=libvirt-appdev-guide.git";>https://libvirt.org/git/libvirt-appdev-guide.git</a>
 
 # Python language
-$ git clone <a href="https://libvirt.org/git/?p=libvirt-appdev-guide-python.git";>git://libvirt.org/libvirt-appdev-guide-python.git</a>
+$ git clone <a href="https://libvirt.org/git/?p=libvirt-appdev-guide-python.git";>https://libvirt.org/git/libvirt-appdev-guide-python.git</a>
 
 # Publican Style/Theme
-$ git clone <a href="https://libvirt.org/git/?p=libvirt-publican.git";>git://libvirt.org/libvirt-publican.git</a>
+$ git clone <a href="https://libvirt.org/git/?p=libvirt-publican.git";>https://libvirt.org/git/libvirt-publican.git</a>
     </pre>
 
   </body>
diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index 6657e21d02..a71aa52c9c 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -516,6 +516,15 @@
       Each module can be cloned anonymously using:
     </p>
 
+    <pre>
+git clone https://libvirt.org/git/[module name].git</pre>
+
+    <p>
+      The <code>git://</code> protocol is also available if desired, but
+      <code>https://</code> is encouraged, since it is more reliable when
+      faced with strict firewalls
+    </p>
+
     <pre>
 git clone git://libvirt.org/[module name].git</pre>
 
diff --git a/docs/hacking.html.in b/docs/hacking.html.in
index bb5047d99e..fbeea3eb75 100644
--- a/docs/hacking.html.in
+++ b/docs/hacking.html.in
@@ -15,7 +15,7 @@
 
       <li>
         <p>Official upstream repository is kept in git
-        (<code>git://libvirt.org/libvirt.git</code>) and is browsable
+        (<code>https://libvirt.org/git/libvirt.git</code>) and is browsable
         along with other libvirt-related repositories
         (e.g. libvirt-python) <a href="https://libvirt.org/git/";>online</a>.</p>
       </li>
diff --git a/docs/java.html.in b/docs/java.html.in
index d0da040df1..147b11c166 100644
--- a/docs/java.html.in
+++ b/docs/java.html.in
@@ -29,7 +29,7 @@ href="http://git-scm.com/";>git</a> repository available on
 <a href="https://libvirt.org/git/";>libvirt.org</a>:
 </p>
 <pre>
-git clone git://libvirt.org/libvirt-java.git
+git clone https://libvirt.org/git/libvirt-java.git
 </pre>
 <p>
 It can also be browsed at
diff --git a/docs/php.html.in b/docs/php.html.in
index 2939b4bd17..1febab7eaf 100644
--- a/docs/php.html.in
+++ b/docs/php.html.in
@@ -14,7 +14,7 @@ href="http://git-scm.com/";>git</a> repository available on
 <a href="https://libvirt.org/git/";>libvirt.org</a>:
 </p>
 <pre>
-git clone git://libvirt.org/libvirt-php.git
+git clone https://libvirt.org/git/libvirt-php.git
 </pre>
 <p>
 It can also be browsed at
diff --git a/docs/virshcmdref.html.in b/docs/virshcmdref.html.in
index 731d809f3c..c5d8d39210 100644
--- a/docs/virshcmdref.html.in
+++ b/docs/virshcmdref.html.in
@@ -72,7 +72,7 @@
     </p>
 
 <pre>
-git clone git://libvirt.org/libvirt-virshcmdref.git
+git clone https://libvirt.org/git/libvirt-virshcmdref.git
 </pre>
 
     <p>
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux