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}"