<feed xmlns='http://www.w3.org/2005/Atom'>
<title>access-control/container/lighttpd.conf, branch ai/test-branch</title>
<subtitle>Unnamed repository
</subtitle>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/access-control/'/>
<entry>
<title>Only build the access control executable</title>
<updated>2026-11-15T13:54:31+00:00</updated>
<author>
<name>dev</name>
<email>dev@example</email>
</author>
<published>2026-11-15T13:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/access-control/commit/?id=da06d4f56afa72ae832238f91358b9aeaeaf0da5'/>
<id>da06d4f56afa72ae832238f91358b9aeaeaf0da5</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>container: the host, built from the program's own install</title>
<updated>2026-11-13T21:32:38+00:00</updated>
<author>
<name>dev</name>
<email>dev@example</email>
</author>
<published>2026-11-13T21:32:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/access-control/commit/?id=47c9b98ea3fb91833d6d0847fa4345fa23593a97'/>
<id>47c9b98ea3fb91833d6d0847fa4345fa23593a97</id>
<content type='text'>
The image is two stages: one compiles, runs the suite and installs into a
staging root, the other is the host and receives that staging root whole.  The
reason for the copy-whole is that the paths in the image are then the paths
`make install` produces - including the hook symlink and its relative target -
rather than a second list of destinations kept in a Dockerfile, which is how an
image and a build start to disagree about where the hook is.

The build stage is Alpine so the binary is musl-linked like the rest of the
runtime image; a glibc binary would fail as "no such file" about a file that is
plainly there.  `make test` runs in that stage, so an image built from a tree
whose tests fail does not get to exist.

The lighttpd config, sshd config, CGI shim, cgitrc and the two operator tools
come from the shell implementation, with the comments corrected: there is no
refcheck any more, and the hook the comments point at is now a symlink to this
binary.  Nothing about the wiring changed, which is the point - the C program
drops into a host that was already built around one hook and one policy file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The image is two stages: one compiles, runs the suite and installs into a
staging root, the other is the host and receives that staging root whole.  The
reason for the copy-whole is that the paths in the image are then the paths
`make install` produces - including the hook symlink and its relative target -
rather than a second list of destinations kept in a Dockerfile, which is how an
image and a build start to disagree about where the hook is.

The build stage is Alpine so the binary is musl-linked like the rest of the
runtime image; a glibc binary would fail as "no such file" about a file that is
plainly there.  `make test` runs in that stage, so an image built from a tree
whose tests fail does not get to exist.

The lighttpd config, sshd config, CGI shim, cgitrc and the two operator tools
come from the shell implementation, with the comments corrected: there is no
refcheck any more, and the hook the comments point at is now a symlink to this
binary.  Nothing about the wiring changed, which is the point - the C program
drops into a host that was already built around one hook and one policy file.
</pre>
</div>
</content>
</entry>
</feed>
