From be14693184f1d8f9c5f31c7e10959a9ce2180ac7 Mon Sep 17 00:00:00 2001 From: defiQUG Date: Sat, 21 Mar 2026 17:24:31 -0700 Subject: [PATCH] init-monorepo script: default MONOREPO_ROOT to proxmox-submodules-mirror (not Complete Credential) Made-with: Cursor --- .../maintenance/init-monorepo-from-proxmox-gitmodules.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh b/scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh index d0ecb0b..300d678 100755 --- a/scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh +++ b/scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh @@ -5,12 +5,12 @@ # Optional: create empty repo on Gitea under an org and push (needs GITEA_TOKEN). # # Usage: -# MONOREPO_ROOT=/path/to/empty/dir ./scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh +# MONOREPO_ROOT=/path/to/mirror/dir ./scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh # GITEA_TOKEN=... GITEA_ORG=DBIS ./scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh --create-remote --push # # Env: # PROXMOX_ROOT — repo with .gitmodules (default: parent of scripts/maintenance/../../) -# MONOREPO_ROOT — target directory (default: $HOME/projects/complete-credential) +# MONOREPO_ROOT — target directory (required, or default: $HOME/projects/proxmox-submodules-mirror — NOT Complete Credential product repo) # GITEA_URL — default https://gitea.d-bis.org # GITEA_ORG — default DBIS (override e.g. d-bis if needed) # GITEA_TOKEN — for API create + HTTPS push @@ -20,7 +20,7 @@ set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROXMOX_ROOT="${PROXMOX_ROOT:-$(cd "$SCRIPT_DIR/../.." && pwd)}" -MONOREPO_ROOT="${MONOREPO_ROOT:-$HOME/projects/complete-credential}" +MONOREPO_ROOT="${MONOREPO_ROOT:-$HOME/projects/proxmox-submodules-mirror}" GITEA_URL="${GITEA_URL:-https://gitea.d-bis.org}" GITEA_ORG="${GITEA_ORG:-DBIS}" SHALLOW="${SHALLOW:-1}"