[libvirt PATCH 0/3] Point to our gitlab.com repos more

Ján Tomko (3): docs: csharp: remove outdated comment docs: virshcmdref: change repo URL to GitLab docs: point to GitLab as the primary git hosting ChangeLog | 4 ++-- docs/aclpolkit.html.in | 2 +- docs/bindings.html.in | 2 +- docs/csharp.html.in | 25 ++----------------------- 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 +- docs/virshcmdref.html.in | 16 ++-------------- 13 files changed, 21 insertions(+), 76 deletions(-) -- 2.25.4

We've had no tarballs for almost 10 years. Give up and delete the commented out links to them. Signed-off-by: Ján Tomko <jtomko@redhat.com> --- docs/csharp.html.in | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/docs/csharp.html.in b/docs/csharp.html.in index aee0b75eb8..df1db49bec 100644 --- a/docs/csharp.html.in +++ b/docs/csharp.html.in @@ -29,19 +29,6 @@ compiling libvirt for windows. </p> -<!-- 2010-10-19 JC: Commented out until we have C# tarballs to download - <h2><a id="getting">Getting them</a></h2> - - <p> - The latest versions of the libvirt C# bindings can be downloaded from: - </p> - - <ul> - <li><a href="ftp://libvirt.org/libvirt/csharp/">libvirt.org FTP server</a></li> - <li><a href="https://libvirt.org/sources/csharp/">libvirt.org HTTP server</a></li> - </ul> ---> - <h2><a id="git">GIT source repository</a></h2> <p> The C# bindings source code is maintained in a <a -- 2.25.4

Also note that it's archived, because it's definitely not maintained anymore. Signed-off-by: Ján Tomko <jtomko@redhat.com> --- docs/virshcmdref.html.in | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/docs/virshcmdref.html.in b/docs/virshcmdref.html.in index c5d8d39210..3534b6de4e 100644 --- a/docs/virshcmdref.html.in +++ b/docs/virshcmdref.html.in @@ -66,22 +66,10 @@ <h2><a id="git">DocBook source GIT repository</a></h2> <p> - The DocBook source is maintained in a <a + The DocBook source is archived 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-virshcmdref">gitlab.com</a>. </p> -<pre> -git clone https://libvirt.org/git/libvirt-virshcmdref.git -</pre> - - <p> - It can also be browsed online: - </p> - -<pre> -<a href="https://libvirt.org/git/?p=libvirt-virshcmdref.git">https://libvirt.org/git/?p=libvirt-virshcmdref.git</a> -</pre> - </body> </html> -- 2.25.4

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 https://gitlab.com/libvirt/libvirt redirects to https://gitlab.com/libvirt/libvirt.git 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@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) { <p> See - <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. </p> 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 @@ <li> <p> <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. </p> 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 @@ <p> 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>: </p> <pre> -git clone https://libvirt.org/git/libvirt-csharp.git -</pre> - - <p> - They can also be browsed online: - </p> - -<pre> -<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 </pre> <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 @@ <p> 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>: </p> <pre> -git clone https://libvirt.org/git/libvirt-dbus.git -</pre> - - <p> - They can also be browsed online: - </p> - -<pre> -<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 </pre> <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>: </p> <pre> -git clone https://libvirt.org/git/libvirt-java.git +git clone https://gitlab.com/libvirt/libvirt-java.git </pre> -<p> -It can also be browsed at -</p> -<pre> - -<a href="https://libvirt.org/git/?p=libvirt-java.git;a=summary">https://libvirt.org/git/?p=libvirt-java.git;a=summary</a> -</pre> - <h2>Building</h2> <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>: </p> <pre> -git clone https://libvirt.org/git/libvirt-php.git -</pre> -<p> -It can also be browsed at -</p> -<pre> -<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 </pre> <p></p> 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 @@ <p> 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> </ul> <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> </body> 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> <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>. </li> </ul> 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> </ul> <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> </body> -- 2.25.4

On Wed, Jun 03, 2020 at 12:47:12PM +0200, Ján Tomko wrote:
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 https://gitlab.com/libvirt/libvirt redirects to https://gitlab.com/libvirt/libvirt.git 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'.
That's good, because in RHEL-7 version of Git you must have the .git suffix in order to clone.
Signed-off-by: Ján Tomko <jtomko@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) {
<p> See - <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. </p>
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 @@ <li> <p> <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. </p> 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 @@ <p> 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>: </p>
<pre> -git clone https://libvirt.org/git/libvirt-csharp.git -</pre> - - <p> - They can also be browsed online: - </p> - -<pre> -<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 </pre>
<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 @@ <p> 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>: </p>
<pre> -git clone https://libvirt.org/git/libvirt-dbus.git -</pre> - - <p> - They can also be browsed online: - </p> - -<pre> -<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 </pre>
<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>: </p> <pre> -git clone https://libvirt.org/git/libvirt-java.git +git clone https://gitlab.com/libvirt/libvirt-java.git </pre> -<p> -It can also be browsed at -</p> -<pre> - -<a href="https://libvirt.org/git/?p=libvirt-java.git;a=summary">https://libvirt.org/git/?p=libvirt-java.git;a=summary</a> -</pre> -
<h2>Building</h2> <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>: </p> <pre> -git clone https://libvirt.org/git/libvirt-php.git -</pre> -<p> -It can also be browsed at -</p> -<pre> -<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 </pre>
<p></p> 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 @@ <p> 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> </ul> <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> </body> 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> <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>. </li> </ul> 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> </ul> <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> </body> -- 2.25.4
Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

On Wed, Jun 03, 2020 at 12:47:09PM +0200, Ján Tomko wrote:
Ján Tomko (3): docs: csharp: remove outdated comment docs: virshcmdref: change repo URL to GitLab docs: point to GitLab as the primary git hosting
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
participants (2)
-
Daniel P. Berrangé
-
Ján Tomko