Skip to contentSkip to conversation

configure: Clarify URL to source downloads

PATCH In review Peter Maydell 4 participants 5 messages Jul 18, 2019 – Jul 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Clarify URL to source downloads

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.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index eb635c3b9a5..bf79bbd0e8d 100755
@@ -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."
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Peter Maydell

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.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index eb635c3b9a5..bf79bbd0e8d 100755

configure else · line 328

Quoted 8 lines
configure +1 -1
@@ -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 Tested-by on v1 1/1
#2 lore raw
In reply to Peter Maydell
Quoted 21 lines · Peter Maydell

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.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index eb635c3b9a5..bf79bbd0e8d 100755

configure else · line 325

Quoted 5 lines
configure +1 -1
@@ -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.

Quoted 4 lines
configure +0 -0
         echo
         echo "Developers working with GIT can use scripts/archive-source.sh"
         echo "if they need to create valid source archives."
Reviewed-by
#3 lore raw

Am 18.07.2019 um 15:47 schrieb Philippe Mathieu-Daudé:

Quoted 29 lines · Peter Maydell
Quoted 21 lines

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.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index eb635c3b9a5..bf79bbd0e8d 100755

configure else · line 325

Quoted 5 lines
configure +1 -1
@@ -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.

Quoted 2 lines

Thanks,
Stefan

#4 lore raw
In reply to Peter Maydell
Quoted 10 lines · Peter Maydell

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.

Quoted 6 lines
---
 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