feat(configs): point hermes at gitea admin/hermes repos #27

Closed
hermes wants to merge 1 commits from hermes/brencher:feat/migrate-hermes-to-multi-remote into main_corrupted
Contributor

Summary

Migrates backend/configs/hermes.py from the legacy url= form (pointing at github.com/rudolf1/uber_backup.git) to the new remotes=[{name, url}, ...] form introduced by #3.

Source repo is rudolf1/uber_backup, so the three remotes point at:

  • github → https://github.com/rudolf1/uber_backup.git
  • gitea_admin → https://gitea.rudolf.keenetic.link/admin/uber_backup
  • gitea_hermes → https://gitea.rudolf.keenetic.link/hermes/uber_backup

branchNamePrefix="ansible" is preserved (only applies to remotes named origin, so it's a no-op here — same pattern used by hermes_infra.py after PR #8).

Diff

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

Prerequisites (not done in this PR)

Same as #26 (gmail_mcp migration): brencher will fail-loop on gitea_admin/reverseproxy-style 401s until admin/uber_backup and hermes/uber_backup exist on gitea.rudolf.keenetic.link. See #25.

Parallel issue

This work overlaps with #11 (same scope, opened earlier). Both should be closed once one is merged — keeping both per user preference ("better more issues than less").

Refs #21
Refs #11 (parallel, same scope)
Part of #18
Depends on #25 (mirror creation)

## Summary Migrates `backend/configs/hermes.py` from the legacy `url=` form (pointing at `github.com/rudolf1/uber_backup.git`) to the new `remotes=[{name, url}, ...]` form introduced by #3. Source repo is `rudolf1/uber_backup`, so the three remotes point at: - `github` → `https://github.com/rudolf1/uber_backup.git` - `gitea_admin` → `https://gitea.rudolf.keenetic.link/admin/uber_backup` - `gitea_hermes` → `https://gitea.rudolf.keenetic.link/hermes/uber_backup` `branchNamePrefix="ansible"` is preserved (only applies to remotes named `origin`, so it's a no-op here — same pattern used by `hermes_infra.py` after PR #8). ## Diff ```diff -clone = GitClone(url="https://github.com/rudolf1/uber_backup.git", branchNamePrefix="ansible") +clone = GitClone(remotes=[ + {"name": "github", "url": "https://github.com/rudolf1/uber_backup.git"}, + {"name": "gitea_admin", "url": "https://gitea.rudolf.keenetic.link/admin/uber_backup"}, + {"name": "gitea_hermes", "url": "https://gitea.rudolf.keenetic.link/hermes/uber_backup"}, +], branchNamePrefix="ansible") ``` ## Prerequisites (not done in this PR) Same as #26 (`gmail_mcp` migration): brencher will fail-loop on `gitea_admin/reverseproxy`-style 401s until `admin/uber_backup` and `hermes/uber_backup` exist on `gitea.rudolf.keenetic.link`. See #25. ## Parallel issue This work overlaps with #11 (same scope, opened earlier). Both should be closed once one is merged — keeping both per user preference ("better more issues than less"). Refs #21 Refs #11 (parallel, same scope) Part of #18 Depends on #25 (mirror creation)
hermes added 1 commit 2026-08-30 22:07:57 +02:00
feat(configs): point hermes at gitea admin/hermes repos
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.12.3) (pull_request) Successful in 32s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.13) (pull_request) Successful in 30s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.14) (pull_request) Successful in 39s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.12.3) (pull_request) Successful in 38s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.13) (pull_request) Successful in 36s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.14) (pull_request) Successful in 35s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.12.3) (pull_request) Successful in 1m44s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.13) (pull_request) Successful in 1m44s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.14) (pull_request) Successful in 1m46s
Python package / build (pip list, 3.12.3) (pull_request) Successful in 37s
Python package / build (pip list, 3.13) (pull_request) Successful in 37s
Python package / build (pip list, 3.14) (pull_request) Successful in 34s
Python package / build (python -c "import sys; print(f'Python {sys.version}'); print(f'Build: {sys.version_info}'); print(f'Implementation: {sys.implementation}')", 3.12.3) (pull_request) Successful in 33s
Python package / build (python -c "import sys; print(f'Python {sys.version}'); print(f'Build: {sys.version_info}'); print(f'Implementation: {sys.implementation}')", 3.13) (pull_request) Successful in 53s
Python package / build (python -c "import sys; print(f'Python {sys.version}'); print(f'Build: {sys.version_info}'); print(f'Implementation: {sys.implementation}')", 3.14) (pull_request) Successful in 44s
cb3b6896f5
Migrates backend/configs/hermes.py from the legacy single-remote
url= form to the remotes=[{name, url}, ...] form introduced by #3.

Source repo is rudolf1/uber_backup; branchNamePrefix='ansible' is
preserved (only applies to remotes named 'origin', so it's a no-op
here, matching the pattern used by hermes_infra.py and brencher.py).

Refs #21
Refs #11 (parallel issue, same scope)
hermes closed this pull request 2026-08-30 22:12:32 +02:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/brencher#27