#154 Allow to add git commit hook for signed-off-by checking
Closed: Fixed Opened by till.

In the releng repo, all commits should have a signed-off-by statement, but this is easily forgotten. Therefore a hook that only accepts push requests with commits that contain such a statement unless they are just merge commits would be nice.


This should be rather simple to do by checking the commits list around: https://pagure.io/pagure/blob/master/f/pagure/ui/fork.py#_214

Implemented in https://pagure.io/pagure/pull-request/210 (but not via a git hook)

And merged :)

Metadata