# svn-git-mirror configuration # Full reference: see README.md data_dir: /var/svn-mirror mirrors: - id: my-project enabled: true # ── SVN remote ────────────────────────────────────────── svn: url: https://svn.example.com/svn/myproject layout: std # "std" or "custom" username: # SVN login (omit if anonymous) password: # SVN password # For non-standard layout: # layout: custom # trunk: trunk # branches: branches # tags: tags # ── 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 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 # 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) webhook_secret: "change-me-to-a-random-secret" webhook_host: "0.0.0.0" webhook_port: 8080 # ── Author mapping (SVN username → Git author) ────────── authors: "john": "John Doe " "jane": "Jane Doe " # ── SVN poll interval (seconds) ───────────────────────── sync_interval: 120