laskoviymishka opened a new pull request, #2777:
URL: https://github.com/apache/iceberg-go/pull/2777

   `dev/check-license` downloads the RAT jar with a plain `curl`, so when Maven 
Central returns an error the error page is saved as the jar and the check fails 
with no retry. This makes curl fail on HTTP errors and retry three times 
(`--fail --retry 3 --retry-all-errors`), writing with `-o` so a retry starts 
the file over instead of appending to it, and `--show-error` so the reason 
shows up in the log. The wget fallback gets `--tries=3`. The rest of the script 
is unchanged.
   
   Checked from a clean tree with no `lib/`: the jar downloads and RAT passes. 
With the URL pointed at a missing file and at a host that does not resolve, 
curl retries, prints its error and the script ends with the same "Our attempt 
to download rat" message and exit code as before.
   
   > AI-assisted, reviewed by a human.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to