mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 12:17:13 +00:00
Mark the merged best-effort '|| true' sites (guide EXIT trap, baseline fetch fallback) with shell-or-true nocheck reasons, parenthesize the implicitly concatenated message strings ISC004 enforces since the ruff 0.16 pin, and drop the regex narration comments the comment lint flags on the now-changed test files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
15 lines
667 B
Bash
Executable File
15 lines
667 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Output: application roles new on this branch (absent at origin/main), space-separated; empty when none or the baseline is unavailable.
|
|
set -euo pipefail
|
|
|
|
PYTHON="${PYTHON:-python3}"
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd "$SCRIPT_DIR/../../../.." && pwd)"
|
|
cd "$REPO_ROOT"
|
|
|
|
git fetch --quiet --no-tags --prune --depth=50 origin main >/dev/null 2>&1 ||
|
|
git fetch --quiet --no-tags --prune origin main >/dev/null 2>&1 || true # nocheck: shell-or-true -- baseline fetch is best-effort; a missing origin/main means "no new roles" by contract
|
|
|
|
"${PYTHON}" -m cli.meta.roles.applications.new_in_branch origin/main
|