If I’m reading the code correctly, record is the only available hook. I would like to see post pull or post receive or similar. The use case would be having a remote behind SSH run a build script after it receives pushes; this script could do anything from fill a Nix binary cache for substitution, to render a README.rst for a HTTP front-end, to sending an alert message on XMPP when the build fails like a makeshift CI server, etc.
Git & darcs support this feature.
pmeunier added tag Good first bug on December 25, 2023
If I’m reading the code correctly,
record
is the only available hook. I would like to see post pull or post receive or similar. The use case would be having a remote behind SSH run a build script after it receives pushes; this script could do anything from fill a Nix binary cache for substitution, to render a README.rst for a HTTP front-end, to sending an alert message on XMPP when the build fails like a makeshift CI server, etc.Git & darcs support this feature.