diff options
| author | dev <dev@example> | 2026-11-15 13:54:31 +0000 |
|---|---|---|
| committer | dev <dev@example> | 2026-11-15 13:54:31 +0000 |
| commit | da06d4f56afa72ae832238f91358b9aeaeaf0da5 (patch) | |
| tree | 7ead0d915bf4e388dcc55d3b63b4fc0628ef895b /container/git-http-backend.cgi | |
| parent | 85b7fa7f8456c84f65a0d81b760c430098ae7fd8 (diff) | |
| download | access-control-main.tar.gz access-control-main.zip | |
The container image and all the server configuration (Dockerfile, entrypoint,
cgitrc, sshd, lighttpd, create-repo, git-host-key) move to the git-host project.
This repo is now just the program: cmd/, src/, test/, the Makefile that builds
git-authz and installs it, and the example policy - the same cmd/src/test/obj
layout the reference projects use.
The CI pipeline keeps the compile-and-test gate (strict, test, sanitizer,
install) and drops the container-build job, which belongs to git-host now.
Diffstat (limited to 'container/git-http-backend.cgi')
| -rw-r--r-- | container/git-http-backend.cgi | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/container/git-http-backend.cgi b/container/git-http-backend.cgi deleted file mode 100644 index c69758b..0000000 --- a/container/git-http-backend.cgi +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# A .cgi-named door onto the stock backend, because mod_cgi dispatches by -# extension. No policy in here: writes are decided by the pre-receive hook. -# -# It must stay a plain exec. REMOTE_USER is the identity the hooks authorise -# from, and rewriting the environment here denies every push. -set -eu - -BACKEND="${GIT_HOST_HTTP_BACKEND:-/usr/libexec/git-core/git-http-backend}" -[ -x "$BACKEND" ] || { printf 'Status: 500 Internal Server Error\r\n\r\n' >&2; exit 1; } - -exec "$BACKEND" |
