| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
git-host is now the single home of the git repo configuration. The Dockerfile
grew a build stage that installs git-authz from its own repository (the
access-control / git-host-c project) via `make install`, so the image carries
the executable, its example policy and the pre-receive hook symlink, all placed
by the program's own installer rather than copied by hand.
The server configuration is the git-authz-aware set that used to live beside the
program: the entrypoint sets core.hooksPath and refuses to serve on a policy the
hook cannot use, sshd carries PermitUserEnvironment and ForceCommand so a key's
identity survives to the hook, create-repo prints the policy line to add, and
git-host-key manages keys that name their user. cgitrc keeps the corrected
ordering (repo-scoped settings above scan-path).
|