On 2025-05-30 Fri 09:23, Luca Barbato wrote:
It would be very nice to have it run over the PRs we are already receiving on github...

This requires different functionality than what is done for pre-receive
hook support more in line with what the pkgcruft github action[1]
already provides.

Of course, if it was integrated with pkgcruft-git it could be more
efficient to support features such as scan diffing, i.e. only showing
new results introduced by a PR, which the action already provides using
cache files.

On the other hand, the core functionality of pkgcraft and pkgcruft are
probably efficient enough to run directly on github CI for that task in
a reasonable amount of time if limited to the target packages assuming
the reports snapshot required for diffing is requested from an external
pkgcruft-git service.

In either case, before adding to the ever-growing mountain of potential
work, I'd prefer to see if the base git hook functionality is useful in
any fashion or what else it needs to become so.

Thanks,
Tim

[1]: https://github.com/pkgcraft/pkgcruft-action

Reply via email to