diff mbox series

[for-4.1] configure: Clarify URL to source downloads

Message ID 20190718131659.20783-1-peter.maydell@linaro.org
State New
Headers show
Series [for-4.1] configure: Clarify URL to source downloads | expand

Commit Message

Peter Maydell July 18, 2019, 1:16 p.m. UTC
If configure detects that it's being run on a source tree which
is missing git modules, it prints an error messages suggesting
that the user downloads a correct source archive from the project
website. However https://www.qemu.org/download/ is a link to a
page with multiple tabs, with the default being the one telling
users how to get binaries from their distro. Clarify the URL
we print to include the #source anchor, so that the browser will
go directly to the source-tarball instructions.

Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Suggested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Huth July 18, 2019, 1:18 p.m. UTC | #1
On 18/07/2019 15.16, Peter Maydell wrote:
> If configure detects that it's being run on a source tree which
> is missing git modules, it prints an error messages suggesting
> that the user downloads a correct source archive from the project
> website. However https://www.qemu.org/download/ is a link to a
> page with multiple tabs, with the default being the one telling
> users how to get binaries from their distro. Clarify the URL
> we print to include the #source anchor, so that the browser will
> go directly to the source-tarball instructions.
> 
> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Suggested-by: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index eb635c3b9a5..bf79bbd0e8d 100755
> --- a/configure
> +++ b/configure
> @@ -322,7 +322,7 @@ else
>          echo "to acquire QEMU source archives. Non-GIT builds are only"
>          echo "supported with source archives linked from:"
>          echo
> -        echo "  https://www.qemu.org/download/"
> +        echo "  https://www.qemu.org/download/#source"
>          echo
>          echo "Developers working with GIT can use scripts/archive-source.sh"
>          echo "if they need to create valid source archives."
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>
Philippe Mathieu-Daudé July 18, 2019, 1:47 p.m. UTC | #2
On 7/18/19 3:16 PM, Peter Maydell wrote:
> If configure detects that it's being run on a source tree which
> is missing git modules, it prints an error messages suggesting
> that the user downloads a correct source archive from the project
> website. However https://www.qemu.org/download/ is a link to a
> page with multiple tabs, with the default being the one telling
> users how to get binaries from their distro. Clarify the URL
> we print to include the #source anchor, so that the browser will
> go directly to the source-tarball instructions.
> 
> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Suggested-by: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index eb635c3b9a5..bf79bbd0e8d 100755
> --- a/configure
> +++ b/configure
> @@ -322,7 +322,7 @@ else
>          echo "to acquire QEMU source archives. Non-GIT builds are only"
>          echo "supported with source archives linked from:"
>          echo
> -        echo "  https://www.qemu.org/download/"
> +        echo "  https://www.qemu.org/download/#source"

Thanks Peter and Stefan.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

>          echo
>          echo "Developers working with GIT can use scripts/archive-source.sh"
>          echo "if they need to create valid source archives."
>
Stefan Weil July 18, 2019, 2:52 p.m. UTC | #3
Am 18.07.2019 um 15:47 schrieb Philippe Mathieu-Daudé:
> On 7/18/19 3:16 PM, Peter Maydell wrote:
>> If configure detects that it's being run on a source tree which
>> is missing git modules, it prints an error messages suggesting
>> that the user downloads a correct source archive from the project
>> website. However https://www.qemu.org/download/ is a link to a
>> page with multiple tabs, with the default being the one telling
>> users how to get binaries from their distro. Clarify the URL
>> we print to include the #source anchor, so that the browser will
>> go directly to the source-tarball instructions.
>>
>> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> Suggested-by: Stefan Weil <sw@weilnetz.de>
>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>> ---
>>  configure | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configure b/configure
>> index eb635c3b9a5..bf79bbd0e8d 100755
>> --- a/configure
>> +++ b/configure
>> @@ -322,7 +322,7 @@ else
>>          echo "to acquire QEMU source archives. Non-GIT builds are only"
>>          echo "supported with source archives linked from:"
>>          echo
>> -        echo "  https://www.qemu.org/download/"
>> +        echo "  https://www.qemu.org/download/#source"
> Thanks Peter and Stefan.
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>


Reviewed-by: Stefan Weil <sw@weilnetz.de>

Thanks,
Stefan
Peter Maydell July 22, 2019, 10:46 a.m. UTC | #4
On Thu, 18 Jul 2019 at 14:17, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> If configure detects that it's being run on a source tree which
> is missing git modules, it prints an error messages suggesting
> that the user downloads a correct source archive from the project
> website. However https://www.qemu.org/download/ is a link to a
> page with multiple tabs, with the default being the one telling
> users how to get binaries from their distro. Clarify the URL
> we print to include the #source anchor, so that the browser will
> go directly to the source-tarball instructions.
>
> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Suggested-by: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I'll put this in master via my target-arm.next tree, since
I'm doing a pullreq anyway today.

thanks
-- PMM
diff mbox series

Patch

diff --git a/configure b/configure
index eb635c3b9a5..bf79bbd0e8d 100755
--- a/configure
+++ b/configure
@@ -322,7 +322,7 @@  else
         echo "to acquire QEMU source archives. Non-GIT builds are only"
         echo "supported with source archives linked from:"
         echo
-        echo "  https://www.qemu.org/download/"
+        echo "  https://www.qemu.org/download/#source"
         echo
         echo "Developers working with GIT can use scripts/archive-source.sh"
         echo "if they need to create valid source archives."