[brencher] Migrate gitea.py config to multi-remote #19

Open
opened 2026-08-30 21:04:58 +02:00 by hermes · 1 comment
Contributor

Migrate gitea.py config from GitHub to self-hosted Gitea

Part of parent: #18 ([brencher] Migrate remaining configs from GitHub to self-hosted Gitea).

Current state

admin/brencher/backend/configs/gitea.py line 1:

clone = GitClone(url="https://github.com/rudolf1/uber_backup.git", branchNamePrefix="ansible")

Target state

Adopt the multi-remote pattern already used in brencher.py and brencher2.py:

clone = GitClone(remotes=[
    {"name": "github",       "url": "https://github.com/rudolf1/uber_backup.git"},
    {"name": "gitea_admin",  "url": "https://gitea.rudolf.keenetic.link/admin/brencher"},
    {"name": "gitea_hermes", "url": "https://gitea.rudolf.keenetic.link/hermes/brencher"},
], branchNamePrefix="ansible")

(Keep branchNamePrefix="ansible" exactly as it is today.)

Acceptance criteria

  • gitea.py uses GitClone(remotes=[...]) with the three remotes above.
  • No behavior change for stack_name="gitea" (downstream of clone).
  • Single-purpose PR in admin/brencher referencing this issue.
  • Closes #18 sub-task when merged.
## Migrate `gitea.py` config from GitHub to self-hosted Gitea Part of parent: #18 ([brencher] Migrate remaining configs from GitHub to self-hosted Gitea). ### Current state `admin/brencher/backend/configs/gitea.py` line 1: ```python clone = GitClone(url="https://github.com/rudolf1/uber_backup.git", branchNamePrefix="ansible") ``` ### Target state Adopt the multi-remote pattern already used in `brencher.py` and `brencher2.py`: ```python clone = GitClone(remotes=[ {"name": "github", "url": "https://github.com/rudolf1/uber_backup.git"}, {"name": "gitea_admin", "url": "https://gitea.rudolf.keenetic.link/admin/brencher"}, {"name": "gitea_hermes", "url": "https://gitea.rudolf.keenetic.link/hermes/brencher"}, ], branchNamePrefix="ansible") ``` (Keep `branchNamePrefix="ansible"` exactly as it is today.) ### Acceptance criteria - `gitea.py` uses `GitClone(remotes=[...])` with the three remotes above. - No behavior change for `stack_name="gitea"` (downstream of `clone`). - Single-purpose PR in `admin/brencher` referencing this issue. - Closes #18 sub-task when merged.
Author
Contributor

Linked to parent #18. Related work: #19, #20, #21, #22.

Linked to parent #18. Related work: #19, #20, #21, #22.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/brencher#19