From df0e64f7d82bd2a59d4f60f6f5da7710a49ab22d Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 22 Feb 2024 15:46:42 +0100 Subject: [PATCH] Fix incorrect pushURL set on the submodules --- build_files/utils/make_update.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py index 4c1a7baaea1..4391923a70d 100755 --- a/build_files/utils/make_update.py +++ b/build_files/utils/make_update.py @@ -535,12 +535,13 @@ def add_submodule_push_url(args: argparse.Namespace): push_url = check_output((args.git_command, "config", "--file", str(config), "--get", "remote.origin.pushURL"), exit_on_error=False) - if push_url: + if push_url and push_url != "https://projects.blender.org/blender/lib-darwin_arm64.git": # Ignore modules which have pushURL configured. + # Keep special exception, as some debug code sneaked into the production for a short + # while. continue url = make_utils.git_get_config(args.git_command, "remote.origin.url", str(config)) - url = "https://projects.blender.org/blender/lib-darwin_arm64.git" # XXX if not url.startswith("https:"): # Ignore non-URL URLs. continue