docs: reframe as generic SVN-Git mirror, Gitea as example integration

This commit is contained in:
2026-08-23 19:21:07 +02:00
parent 2b9ef5f2af
commit 86d34cf3b7
3 changed files with 91 additions and 37 deletions
+12 -7
View File
@@ -1,4 +1,4 @@
# gitea-svn-mirror configuration
# svn-git-mirror configuration
# Full reference: see README.md
data_dir: /var/svn-mirror
@@ -19,17 +19,22 @@ mirrors:
# branches: branches
# tags: tags
# ── Gitea integration ───────────────────────────────────
# ── Git server integration ─────────────────────────────
# Works with any Git server exposing bare repos on disk
# (Gitea, Forgejo, GitLab, plain bare repos, etc.).
# The section is named "gitea" for historical reasons.
gitea:
owner: myorg
repo: myproject
# Path to Gitea's on-disk bare repos. Required for
# push_to_gitea, fetch_from_gitea, and the webhook flow.
# Path to bare repos on disk. Required for push/fetch
# and the webhook flow.
# Typical locations:
# Gitea binary → /var/lib/gitea/data/repositories
# Gitea Docker → /data/git/repositories
# git user → /home/git/repositories
# Gitea binary → /var/lib/gitea/data/repositories
# Gitea Docker → /data/git/repositories
# Forgejo → /var/lib/forgejo/data/repositories
# GitLab → /var/opt/gitlab/git-data/repositories
# git user → /home/git/repositories
repos_path: /var/lib/gitea/data/repositories
# Webhook receiver (used by `webhook` command)