On 30/05/25 10:46, Tim Harder wrote:
For anyone interested,
I've hacked up an initial, rough implementation of a pkgcruft-git
service that enables verifying ebuild commits during git's pre-receive
hook phase.
Currently it comes with a simple script that runs a local demo instance
targeting the gentoo repo by default.
You can find the code and demo instructions in the pkgcruft-git crate
directory of the pkgcraft repo [1].
If I can find the time, I'll try to write up a dev blog post about the
service design in more detail as well as next steps if there is interest
in trying to use it in any official fashion in the future.
Thanks,
Tim
[1]: https://github.com/pkgcraft/pkgcraft/tree/main/crates/pkgcruft-git
It would be very nice to have it run over the PRs we are already
receiving on github, personally I prefer a rebase-only workflow so merge
queue that imply actual git merges with all the problems they bring on
bisecting and reading the history are an hard no for me.
lu