Default GITEA_ORG to DBIS for monorepo init script

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-21 16:30:54 -07:00
parent 031aaf9e7b
commit b0ce951c0f

View File

@@ -6,13 +6,13 @@
#
# Usage:
# MONOREPO_ROOT=/path/to/empty/dir ./scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh
# GITEA_TOKEN=... GITEA_ORG=d-bis ./scripts/maintenance/init-monorepo-from-proxmox-gitmodules.sh --create-remote --push
# 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)
# GITEA_URL — default https://gitea.d-bis.org
# GITEA_ORG — default d-bis (this instance has no org slug "DBIS"; create it in Gitea or override)
# GITEA_ORG — default DBIS (override e.g. d-bis if needed)
# GITEA_TOKEN — for API create + HTTPS push
# SHALLOW — if 1, git clone --depth 1 (default 1)
@@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROXMOX_ROOT="${PROXMOX_ROOT:-$(cd "$SCRIPT_DIR/../.." && pwd)}"
MONOREPO_ROOT="${MONOREPO_ROOT:-$HOME/projects/complete-credential}"
GITEA_URL="${GITEA_URL:-https://gitea.d-bis.org}"
GITEA_ORG="${GITEA_ORG:-d-bis}"
GITEA_ORG="${GITEA_ORG:-DBIS}"
SHALLOW="${SHALLOW:-1}"
CREATE_REMOTE=0