[PATCH v3 0/2] scripts: Some improvements to build-many-glibcs.py

Carlos O'Donell carlos@redhat.com
Mon Dec 1 14:57:35 GMT 2025


On 11/27/25 7:45 AM, Yury Khrustalev wrote:
> Several improvements to the build-many-glibcs.py script. Mostly supporting
> more stable code checkout experience. If this is OK, I'd like to back-port
> this to earlier releases too.
> 
> Manually tested checkout with and without env variables and with and without
> the --replace-sources option.
> 
> More testing needed to cover other use cases, thanks!

v3 LGTM to me and is an incremental improvement that we should put in ASAP.

It allows me to run with a mirror for the tarballs, and even use another
git mirror for the sources.

I've reviewed the 2 patches in the series.

> ---
> 
> Changes in v3:
>   - Patch 1 from v2 has been merged earlier as a separate change.
>   - Described new env vars at the top of the script.
>   - Added handling of existing Git working copies (suggested by Carlos).
>   - v2: https://inbox.sourceware.org/libc-alpha/20251119125420.10972-1-yury.khrustalev@arm.com/
> 
> Changes in v2:
>   - I don't fix all possible lint warnings beacuse it would make it very hard
>     backport these changes.
>   - I am not changing Git URLs used by default (to use https:// instead of
>     git://) because this would be an orthogonal change, I just retain existing
>     URLs.
>   - Switch to using env variables for the URL for FTP mirror instead of using
>     https://ftpmirror.gnu.org/ by default.
>   - v1: https://inbox.sourceware.org/libc-alpha/20251112114516.1028658-1-yury.khrustalev@arm.com/
> 
> ---
> 
> Yury Khrustalev (2):
>    scripts: Support custom FTP mirror URL in build-many-glibcs.py
>    scripts: Support custom Git URLs in build-many-glibcs.py
> 
>   scripts/build-many-glibcs.py | 72 ++++++++++++++++++++++++++++--------
>   1 file changed, 56 insertions(+), 16 deletions(-)
> 


-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list