AlanCui4080 opened a new issue, #23934:
URL: https://github.com/apache/doris/issues/23934

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   While run the build.sh, it will call internal script: 
`thirdparty/download-thirdparty.sh` to get packages and apply patches to them.
   
   However, it show no output during downloading, that could be confused about 
how is the progress (also ` wget`  exited faultily after quite a long time when 
network is misconfigured ),  especially with a poor internet connection at a 
low speed.
   
   So add  `--show-progress` before wget options to make it. 
   
   I don't exactly know if a tiny patch worth a Pull Request, so i put the 
patch below and i'm grateful to you for any advice.
   
   ### Solution
   
   Apply patch below.
   
   Signed-off-by: AlanCui4080 <m...@alancui.cc>
   ```
   diff --git a/thirdparty/download-thirdparty.sh 
b/thirdparty/download-thirdparty.sh
   index e31871f25d..884576fec0 100755
   --- a/thirdparty/download-thirdparty.sh
   +++ b/thirdparty/download-thirdparty.sh
   @@ -108,7 +108,7 @@ download_func() {
                rm -f "${DESC_DIR}/${FILENAME}"
            else
                echo "Downloading ${FILENAME} from ${DOWNLOAD_URL} to 
${DESC_DIR}"
   -            if wget --no-check-certificate -q "${DOWNLOAD_URL}" -O 
"${DESC_DIR}/${FILENAME}"; then
   +            if wget --show-progress --no-check-certificate -q 
"${DOWNLOAD_URL}" -O "${DESC_DIR}/${FILENAME}"; then
                    if md5sum_func "${FILENAME}" "${DESC_DIR}" "${MD5SUM}"; then
                        STATUS=0
                        echo "Success to download ${FILENAME}"
   ```
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to