vatsrahul1001 commented on code in PR #60284:
URL: https://github.com/apache/airflow/pull/60284#discussion_r2673617350
##########
dev/breeze/src/airflow_breeze/commands/release_command.py:
##########
@@ -27,19 +29,41 @@
from airflow_breeze.utils.console import console_print
from airflow_breeze.utils.path_utils import AIRFLOW_ROOT_PATH
from airflow_breeze.utils.run_utils import run_command
+from airflow_breeze.utils.shared_options import get_dry_run
# Pattern to match Airflow release versions (e.g., "3.0.5")
RELEASE_PATTERN =
re.compile(r"^(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)$")
-def clone_asf_repo(working_dir):
+SVN_NUM_TRIES = 3
+
+
+def clone_asf_repo(working_dir, num_tries=SVN_NUM_TRIES):
if confirm_action("Clone ASF repo?"):
run_command(["rm", "-rf", f"{working_dir}/asf-dist"], check=True)
- run_command(
- ["svn", "checkout", "--depth=immediates",
"https://dist.apache.org/repos/dist", "asf-dist"],
- check=True,
- dry_run_override=False,
- )
+
+ # SVN checkout with retries
+ while True:
Review Comment:
Done
--
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]