Feature/remote authenticated clone #24

Merged
mi merged 2 commits from feature/remote-authenticated-clone into main 2026-09-05 14:06:58 +02:00
Showing only changes of commit 9e5885907c - Show all commits
+2
View File
@@ -18,6 +18,8 @@ tools/remote --env-file .env.<instance> werkator repo-add https://gitea.example.
``` ```
It prints the registry entry: add it to `~/.werkator.yml` under `repositories:`, then restart the service. It prints the registry entry: add it to `~/.werkator.yml` under `repositories:`, then restart the service.
The optional `[<name>]` overrides the directory basename: it becomes the route segment (`/repos/<name>/…`) and the UI switcher entry, so it must be unique.
Needed only when the clone directory name is wrong or collides — e.g. `michael.hoennig.de.git` checked out as `michael.hoennig.de`, or two forges serving a repo of the same name.
A **public** repository needs nothing else: the clone runs anonymously. A **public** repository needs nothing else: the clone runs anonymously.
A **private** repository needs shared credentials once on the host, in `~/.werkator.yml` of the service user, before cloning: A **private** repository needs shared credentials once on the host, in `~/.werkator.yml` of the service user, before cloning: