feat(configs): point gmail_mcp at gitea admin/hermes mcps repos #26

Merged
admin merged 3 commits from hermes/brencher:feat/migrate-gmail-mcp-to-multi-remote into main 2026-09-05 19:20:18 +02:00
Contributor

Summary

Updates backend/configs/gmail_mcp.py to point at the new mcps stack mirrors on gitea instead of the legacy uber_backup repo.

Remotes now:

  • gitea_hermes → https://gitea.rudolf.keenetic.link/hermes/mcps
  • gitea_admin → https://gitea.rudolf.keenetic.link/admin/mcps

Uses the remotes=[{name, url}, …] form introduced by #3.

What changed vs the original #26 body

  • Repo switched: uber_backup → mcps (the gmail + telegram MCP server repo, now mirrored on gitea under both admin/ and hermes/).
  • GitHub remote dropped: matches the pattern in hermes_infra.py after #8 and docker_socket_proxy.py after #23. The brencher container cannot reach github.com (squid returns HTTP 403 on CONNECT tunnel), so keeping a github remote would hard-fail the clone and trap brencher in the same retry loop that blocked #23 on admin/reverseproxy before its mirror was created.
  • branchNamePrefix="immoscout" dropped: the prefix is only applied to remotes named origin (see backend/steps/git.py ~L104); neither remote qualifies, so the field is a silent no-op. Matches the cleanup done in hermes_infra.py / brencher.py.

Diff (vs main)

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

Prerequisites (already done)

Both target mirrors exist on gitea:

  • admin/mcps — already present (primary, not a fork).
  • hermes/mcps — forked in this session (id=10, fork of admin/mcps).

Test plan

  1. From the brencher state file for gmail_mcp, register gitea_hermes/feat/migrate-gmail-mcp-to-multi-remote as the desired branch.
  2. Watch brencher logs: Cloning repositories [...] should succeed for both gitea_hermes and gitea_admin.
  3. Confirm gmail_mcp stack redeploys against the new repo.

Refs #20
Part of #18

## Summary Updates `backend/configs/gmail_mcp.py` to point at the new `mcps` stack mirrors on gitea instead of the legacy `uber_backup` repo. Remotes now: - `gitea_hermes` → `https://gitea.rudolf.keenetic.link/hermes/mcps` - `gitea_admin` → `https://gitea.rudolf.keenetic.link/admin/mcps` Uses the `remotes=[{name, url}, …]` form introduced by #3. ## What changed vs the original #26 body - **Repo switched**: `uber_backup` → `mcps` (the gmail + telegram MCP server repo, now mirrored on gitea under both `admin/` and `hermes/`). - **GitHub remote dropped**: matches the pattern in `hermes_infra.py` after #8 and `docker_socket_proxy.py` after #23. The brencher container cannot reach `github.com` (squid returns HTTP 403 on CONNECT tunnel), so keeping a `github` remote would hard-fail the clone and trap brencher in the same retry loop that blocked #23 on `admin/reverseproxy` before its mirror was created. - **`branchNamePrefix="immoscout"` dropped**: the prefix is only applied to remotes named `origin` (see `backend/steps/git.py` ~L104); neither remote qualifies, so the field is a silent no-op. Matches the cleanup done in `hermes_infra.py` / `brencher.py`. ## Diff (vs `main`) ```diff -clone = GitClone(url="https://github.com/rudolf1/uber_backup.git", branchNamePrefix="immoscout") +clone = GitClone(remotes=[ + {"name": "gitea_hermes", "url": "https://gitea.rudolf.keenetic.link/hermes/mcps"}, + {"name": "gitea_admin", "url": "https://gitea.rudolf.keenetic.link/admin/mcps"}, +]) ``` ## Prerequisites (already done) Both target mirrors exist on gitea: - `admin/mcps` — already present (primary, not a fork). - `hermes/mcps` — forked in this session (id=10, fork of `admin/mcps`). ## Test plan 1. From the brencher state file for `gmail_mcp`, register `gitea_hermes/feat/migrate-gmail-mcp-to-multi-remote` as the desired branch. 2. Watch brencher logs: `Cloning repositories [...]` should succeed for both `gitea_hermes` and `gitea_admin`. 3. Confirm `gmail_mcp` stack redeploys against the new repo. Refs #20 Part of #18
hermes added 1 commit 2026-08-30 22:04:18 +02:00
feat(configs): point gmail_mcp 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 40s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.13) (pull_request) Successful in 37s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.14) (pull_request) Successful in 40s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.12.3) (pull_request) Successful in 36s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.13) (pull_request) Successful in 33s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.14) (pull_request) Successful in 43s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.12.3) (pull_request) Successful in 1m48s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.13) (pull_request) Successful in 1m53s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.14) (pull_request) Successful in 1m58s
Python package / build (pip list, 3.12.3) (pull_request) Successful in 33s
Python package / build (pip list, 3.13) (pull_request) Successful in 30s
Python package / build (pip list, 3.14) (pull_request) Successful in 37s
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 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.13) (pull_request) Successful in 36s
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 37s
f6f507dc1a
Migrates backend/configs/gmail_mcp.py from the legacy single-remote
url= form to the remotes=[{name, url}, ...] form introduced by #3.

Source repo is rudolf1/uber_backup; branchNamePrefix='immoscout' 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 #20
hermes added 1 commit 2026-09-05 16:38:43 +02:00
feat(configs): retarget gmail_mcp onto gitea mcps mirrors
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.12.3) (pull_request) Successful in 34s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.13) (pull_request) Successful in 34s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.14) (pull_request) Successful in 35s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.12.3) (pull_request) Successful in 40s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.13) (pull_request) Successful in 33s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.14) (pull_request) Successful in 39s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.12.3) (pull_request) Successful in 1m43s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.13) (pull_request) Successful in 4m23s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.14) (pull_request) Successful in 2m12s
Python package / build (pip list, 3.12.3) (pull_request) Successful in 57s
Python package / build (pip list, 3.13) (pull_request) Successful in 39s
Python package / build (pip list, 3.14) (pull_request) Successful in 38s
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 37s
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 36s
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 37s
a747f9e790
Rebase of the original #26 swap onto the new stack mirrors:
  - gitea_hermes -> gitea.rudolf.keenetic.link/hermes/mcps
  - gitea_admin  -> gitea.rudolf.keenetic.link/admin/mcps

Drops the github remote for the same reason as hermes_infra.py after
PR #8 -- brencher cannot reach github.com (squid returns HTTP 403 on
CONNECT tunnel), so a github remote would hard-fail the clone and trap
brencher in the same retry loop that blocked #23 on reverseproxy.

Drops branchNamePrefix='immoscout': the prefix is only applied to
remotes named 'origin' (backend/steps/git.py ~L104); neither remote
qualifies, so the field is a silent no-op. Matches hermes_infra.py /
brencher.py pattern.

Refs #20
Part of #18
hermes force-pushed feat/migrate-gmail-mcp-to-multi-remote from 445209d5c3 to a747f9e790 2026-09-05 16:38:43 +02:00 Compare
hermes changed title from feat(configs): point gmail_mcp at gitea admin/hermes repos to feat(configs): point gmail_mcp at gitea admin/hermes mcps repos 2026-09-05 16:39:03 +02:00
hermes added 1 commit 2026-09-05 17:37:58 +02:00
fix(configs): point gmail_mcp compose at repo root
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.12.3) (pull_request) Successful in 38s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.13) (pull_request) Successful in 41s
Python package / build (flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics, 3.14) (pull_request) Successful in 45s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.12.3) (pull_request) Successful in 43s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.13) (pull_request) Successful in 47s
Python package / build (flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics, 3.14) (pull_request) Successful in 43s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.12.3) (pull_request) Successful in 2m5s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.13) (pull_request) Successful in 2m6s
Python package / build (mypy --no-incremental --config-file mypy.ini backend tests, 3.14) (pull_request) Successful in 2m7s
Python package / build (pip list, 3.12.3) (pull_request) Successful in 40s
Python package / build (pip list, 3.13) (pull_request) Successful in 41s
Python package / build (pip list, 3.14) (pull_request) Successful in 40s
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 35s
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 35s
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 37s
6fd598983a
admin/mcps uses a single root-level docker-compose.yml with two
services (gmail-mcp-server + telegram-mcp-server) sharing one
network and secrets block. The previous path
'gmail-mcp-server/docker-compose.yml' was the layout in
github.com/rudolf1/uber_backup (where the stack originally lived
in a subdirectory) and breaks DockerComposeBuild /
DockerSwarmDeploy against the new mcps repo.

Refs #20
hermes force-pushed feat/migrate-gmail-mcp-to-multi-remote from 32dbe6dfbd to 6fd598983a 2026-09-05 17:37:58 +02:00 Compare
admin merged commit 272504eab3 into main 2026-09-05 19:20:18 +02:00
admin deleted branch feat/migrate-gmail-mcp-to-multi-remote 2026-09-05 19:20:19 +02:00
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#26