Add rc as a first-class channel: validation, shared repo root, rc build mirror

- helpers/paths.sh: validate_mirror/require_valid_mirror for the edge|rc|stable
  set, and REPO_ROOT (OMARCHY_REPO_ROOT override) so a secondary checkout like
  the rc branch worktree publishes into the same channel tree as the primary
- validate --mirror everywhere it previously accepted any string (sync-repo,
  promote-build, update-repo, clean-repo, remove-package) and widen the
  edge|stable checks in build, deploy, push-build, auto-release
- build/Dockerfile: rc builds compile against rc-mirror.omarchy.org
This commit is contained in:
Ryan Hughes
2026-08-27 01:10:33 -04:00
parent 5a73fd8999
commit e73b843bd2
15 changed files with 55 additions and 26 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ Options:
--release-ring <ring> Filter by release ring, e.g. fast
--repo List packages from the published repo database instead
--arch <arch> Target architecture for --repo (default: x86_64)
--mirror <mirror> Mirror for --repo (edge or stable, default: edge)
--mirror <mirror> Mirror for --repo (edge, rc, or stable, default: edge)
-h, --help Show this help message
Examples: