[libvirt PATCH 3/3] docs: point to GitLab as the primary git hosting

Ján Tomko jtomko at redhat.com
Wed Jun 3 10:47:12 UTC 2020

We still point to git repositories hosted on libvirt.org in various
places. Replace the links to their gitlab.com equivalents.

Note that GitLab is trying to be smart here and
redirects to
when doing a 'git clone' and vice-versa when visiting from the
browser, so I only kept the .git suffix in places that explicitly
mentioned 'git clone'.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
 ChangeLog                    |  4 ++--
 docs/aclpolkit.html.in       |  2 +-
 docs/bindings.html.in        |  2 +-
 docs/csharp.html.in          | 12 ++----------
 docs/dbus.html.in            | 12 ++----------
 docs/hacking.rst             |  4 ++--
 docs/java.html.in            | 12 ++----------
 docs/php.html.in             | 10 ++--------
 docs/securityprocess.html.in |  2 +-
 docs/testapi.html.in         |  2 +-
 docs/testsuites.html.in      |  4 ++--
 docs/testtck.html.in         |  2 +-
 12 files changed, 19 insertions(+), 49 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 55eb05c5ce..897f38e56d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,9 +7,9 @@ archives.
 If you're interested in the full list of changes made to libvirt since
 the project was started, you can clone the git repository from
-  https://libvirt.org/git/libvirt.git
+  https://gitlab.com/libvirt/libvirt/
 and browse them locally using your favorite git history viewer or,
 alternatively, browse them online at
-  https://libvirt.org/git/?p=libvirt.git;a=log
+  https://gitlab.com/libvirt/libvirt/-/commits/master
diff --git a/docs/aclpolkit.html.in b/docs/aclpolkit.html.in
index 3e5d30a5dd..8bd8b58e02 100644
--- a/docs/aclpolkit.html.in
+++ b/docs/aclpolkit.html.in
@@ -459,7 +459,7 @@ polkit.addRule(function(action, subject) {
-    <a href="https://libvirt.org/git/?p=libvirt.git;a=tree;f=examples/polkit;hb=HEAD">source code</a>
+    <a href="https://gitlab.com/libvirt/libvirt/-/tree/master/examples/polkit">source code</a>
     for a more complex example.
diff --git a/docs/bindings.html.in b/docs/bindings.html.in
index 46930cd6f6..8a482015b9 100644
--- a/docs/bindings.html.in
+++ b/docs/bindings.html.in
@@ -49,7 +49,7 @@
           <strong>Python</strong>: Libvirt's python bindings are split to a
-          separate <a href="https://libvirt.org/git/?p=libvirt-python.git">package</a>
+          separate <a href="https://gitlab.com/libvirt/libvirt-python">package</a>
           since version 1.2.0, older versions came with direct support for the
           Python language.
diff --git a/docs/csharp.html.in b/docs/csharp.html.in
index df1db49bec..89b3957904 100644
--- a/docs/csharp.html.in
+++ b/docs/csharp.html.in
@@ -33,19 +33,11 @@
       The C# bindings source code is maintained in a <a
       href="http://git-scm.com/">git</a> repository available on
-      <a href="https://libvirt.org/git/">libvirt.org</a>:
+      <a href="https://gitlab.com/libvirt/libvirt-csharp">gitlab.com</a>:
-git clone https://libvirt.org/git/libvirt-csharp.git
-    <p>
-      They can also be browsed online:
-    </p>
-<a href="https://libvirt.org/git/?p=libvirt-csharp.git;a=summary">https://libvirt.org/git/?p=libvirt-csharp.git;a=summary</a>
+git clone https://gitlab.com/libvirt/libvirt-csharp.git
     <h2><a id="usage">Usage</a></h2>
diff --git a/docs/dbus.html.in b/docs/dbus.html.in
index 4dfe4ca427..99f191a685 100644
--- a/docs/dbus.html.in
+++ b/docs/dbus.html.in
@@ -17,19 +17,11 @@
       The D-Bus bindings source code is maintained in a
       <a href="https://git-scm.com/">git</a> repository available on
-      <a href="https://libvirt.org/git/">libvirt.org</a>:
+      <a href="https://gitlab.com/libvirt/libvirt-dbus">gitlab.com</a>:
-git clone https://libvirt.org/git/libvirt-dbus.git
-    <p>
-      They can also be browsed online:
-    </p>
-<a href="https://libvirt.org/git/?p=libvirt-dbus.git">https://libvirt.org/git/?p=libvirt-dbus.git</a>
+git clone https://gitlab.com/libvirt/libvirt-dbus.git
     <h2><a id="usage">Usage</a></h2>
diff --git a/docs/hacking.rst b/docs/hacking.rst
index 61ae6452e1..51ff862e8f 100644
--- a/docs/hacking.rst
+++ b/docs/hacking.rst
@@ -9,9 +9,9 @@ Repositories and external resources
 The official upstream repository is kept in git
-(``https://libvirt.org/git/libvirt.git``) and is browsable
+(``https://gitlab.com/libvirt/libvirt``) and is browsable
 along with other libvirt-related repositories (e.g.
-libvirt-python) `online <https://libvirt.org/git/>`__.
+libvirt-python) `online <https://gitlab.com/libvirt>`__.
 Patches to translations are maintained via the `zanata
 project <https://fedora.zanata.org/>`__. If you want to fix a
diff --git a/docs/java.html.in b/docs/java.html.in
index 147b11c166..fa3fe8f900 100644
--- a/docs/java.html.in
+++ b/docs/java.html.in
@@ -26,19 +26,11 @@ which you can use to include this in your maven projects.</p>
 <h2>GIT source repository</h2>
 <p> The Java bindings code source is now maintained in a <a
 href="http://git-scm.com/">git</a> repository available on
-<a href="https://libvirt.org/git/">libvirt.org</a>:
+<a href="https://gitlab.com/libvirt/libvirt-java/">gitlab.com</a>:
-git clone https://libvirt.org/git/libvirt-java.git
+git clone https://gitlab.com/libvirt/libvirt-java.git
-It can also be browsed at
-<a href="https://libvirt.org/git/?p=libvirt-java.git;a=summary">https://libvirt.org/git/?p=libvirt-java.git;a=summary</a>
 <p>The code is built using ant, and assumes that you have the jna jar installed. Once you have downloaded
diff --git a/docs/php.html.in b/docs/php.html.in
index 1febab7eaf..1605175976 100644
--- a/docs/php.html.in
+++ b/docs/php.html.in
@@ -11,16 +11,10 @@
 <h2>Getting the source</h2>
 <p> The PHP bindings code source is now maintained in a <a
 href="http://git-scm.com/">git</a> repository available on
-<a href="https://libvirt.org/git/">libvirt.org</a>:
+<a href="https://gitlab.com/libvirt/libvirt-php">gitlab.com</a>:
-git clone https://libvirt.org/git/libvirt-php.git
-It can also be browsed at
-<a href="https://libvirt.org/git/?p=libvirt-php.git;a=summary">https://libvirt.org/git/?p=libvirt-php.git;a=summary</a>
+git clone https://gitlab.com/libvirt/libvirt-php.git
diff --git a/docs/securityprocess.html.in b/docs/securityprocess.html.in
index adf30259b0..aaab803b2f 100644
--- a/docs/securityprocess.html.in
+++ b/docs/securityprocess.html.in
@@ -42,7 +42,7 @@
       Information for all historical security issues is maintained in
       machine parsable format in the
-      <a href="https://libvirt.org/git/?p=libvirt-security-notice.git;a=log">libvirt-security-notice GIT repository</a> and
+      <a href="https://gitlab.com/libvirt/libvirt-security-notice">libvirt-security-notice GIT repository</a> and
       <a href="https://security.libvirt.org">published online</a>
       in text, HTML and XML formats. Security notices are published
       on the <a href="https://libvirt.org/contact.html#email">libvirt-announce mailing list</a>
diff --git a/docs/testapi.html.in b/docs/testapi.html.in
index dd0552c8fd..e7cd9453ee 100644
--- a/docs/testapi.html.in
+++ b/docs/testapi.html.in
@@ -28,7 +28,7 @@
            and test scenarios.</li>
     <p> Libvirt-test-API is maintained using
-        <a href="https://libvirt.org/git/?p=libvirt-test-API.git">a GIT
+        <a href="https://gitlab.com/libvirt/libvirt-test-API">a GIT
         repository</a>, and comment, patches and reviews are carried
         on the <a href="contact.html">libvir-list</a> development list.</p>
diff --git a/docs/testsuites.html.in b/docs/testsuites.html.in
index 0bf4e38544..a619e6d000 100644
--- a/docs/testsuites.html.in
+++ b/docs/testsuites.html.in
@@ -23,7 +23,7 @@
           <a href="ftp://libvirt.org/libvirt/tck/">download</a>, as a
           <a href="http://rpmfind.net/linux/rpm2html/search.php?query=libvirt-tck">package</a>
           in Fedora distributions, but best is probably to get
-          the <a href="https://libvirt.org/git/?p=libvirt-tck.git">version
+          the <a href="https://gitlab.com/libvirt/libvirt-tck">version
           from GIT</a>.
       <li>the <a href="testapi.html">libvirt-test-API</a> is also a functional
@@ -32,7 +32,7 @@
           of libvirt. It is available separately as a
           <a href="ftp://libvirt.org/libvirt/libvirt-test-API/">download</a>,
           or directly get
-          the <a href="https://libvirt.org/git/?p=libvirt-test-API.git">version
+          the <a href="https://gitlab.com/libvirt/libvirt-test-API/">version
           from GIT</a>.
diff --git a/docs/testtck.html.in b/docs/testtck.html.in
index 021b56e665..c4a4ca0bcb 100644
--- a/docs/testtck.html.in
+++ b/docs/testtck.html.in
@@ -33,7 +33,7 @@
            Fedora Feature.</li>
     <p> Libvirt-TCK is maintained using
-        <a href="https://libvirt.org/git/?p=libvirt-tck.git">a GIT
+        <a href="https://gitlab.com/libvirt/libvirt-tck">a GIT
         repository</a>, and comment, patches and reviews are carried
         on the <a href="contact.html">libvir-list</a> development list.</p>

More information about the libvir-list mailing list