[libvirt PATCH] docs: Update download location for Go packages

Andrea Bolognani posted 1 patch 4 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200130171355.202917-1-abologna@redhat.com
docs/downloads.html.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[libvirt PATCH] docs: Update download location for Go packages
Posted by Andrea Bolognani 4 years, 2 months ago
We haven't ever made releases of the Go components, which makes
sense because that's just not how that specific ecosystem works.

For people who are looking to use libvirt from Go, the brief
introductory pages located at the same URLs used to import the
packages are a much better entry point than an empty directory
listing, so let's send them there instead.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 docs/downloads.html.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index e84455ca04..7cbf3cadc0 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -61,7 +61,7 @@
         <tr>
           <td>Go</td>
           <td>
-            <a href="https://libvirt.org/sources/go/">libvirt</a>
+            <a href="https://libvirt.org/libvirt-go">libvirt</a>
           </td>
           <td>
             <a href="https://libvirt.org/git/?p=libvirt-go.git;a=summary">libvirt</a>
@@ -196,7 +196,7 @@
         <tr>
           <td>Go XML</td>
           <td>
-            <a href="https://libvirt.org/sources/go/">libvirt</a>
+            <a href="https://libvirt.org/libvirt-go-xml">libvirt</a>
           </td>
           <td>
             <a href="https://libvirt.org/git/?p=libvirt-go-xml.git;a=summary">libvirt</a>
-- 
2.24.1

Re: [libvirt PATCH] docs: Update download location for Go packages
Posted by Ján Tomko 4 years, 2 months ago
On Thu, Jan 30, 2020 at 06:13:55PM +0100, Andrea Bolognani wrote:
>We haven't ever made releases of the Go components, which makes
>sense because that's just not how that specific ecosystem works.
>
>For people who are looking to use libvirt from Go, the brief
>introductory pages located at the same URLs used to import the
>packages are a much better entry point than an empty directory
>listing, so let's send them there instead.
>

Yeah, it's a slight improvement.

>Signed-off-by: Andrea Bolognani <abologna@redhat.com>
>---
> docs/downloads.html.in | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano