From 49268a467471760a1d30184ec60d73f8be22f170 Mon Sep 17 00:00:00 2001 From: S Date: Sun, 1 Mar 2026 10:05:45 -0500 Subject: [PATCH] refactor: use REPO_NAMES in phase4_teardown.sh Co-Authored-By: Claude Opus 4.6 --- phase4_teardown.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phase4_teardown.sh b/phase4_teardown.sh index 32b81a1..f1fb047 100755 --- a/phase4_teardown.sh +++ b/phase4_teardown.sh @@ -15,11 +15,11 @@ load_env require_vars GITEA_ADMIN_TOKEN GITEA_BACKUP_ADMIN_TOKEN \ GITEA_INTERNAL_URL GITEA_BACKUP_INTERNAL_URL \ GITEA_ORG_NAME GITEA_ADMIN_USER \ - REPO_1_NAME REPO_2_NAME REPO_3_NAME + REPO_NAMES log_warn "=== Phase 4 Teardown: Repos + Mirrors ===" -REPOS=("$REPO_1_NAME" "$REPO_2_NAME" "$REPO_3_NAME") +read -ra REPOS <<< "$REPO_NAMES" printf 'This will DELETE all migrated repos and mirrors. Continue? [y/N] ' read -r confirm