From da06d4f56afa72ae832238f91358b9aeaeaf0da5 Mon Sep 17 00:00:00 2001 From: dev Date: Sun, 15 Nov 2026 13:54:31 +0000 Subject: Only build the access control executable 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. --- container/git-http-backend.cgi | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 container/git-http-backend.cgi (limited to 'container/git-http-backend.cgi') 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" -- cgit v1.2.3