This PR adds a default hook, installed into all the new projects which cleans the merge status of all open PRs of a project upon pushes.
Fixes #1359
We can start the review of this PR but I'll add unit-tests for its install/remove.
3 new commits added
1 new commit added
Forgot to edit this one
This can be a required field, no ? I know it doesn't affect much. just a thought.
why this ?
This will be pagure's 3rd Mail hook . :tongue:
Mail hook
A few stupid comments. Else: :thumbsup:
Boolean fields cannot be required as they only have two states: present/absent, So if you ask them to be Required, it means they will always be present (and thus True).
copy/paste for the win :-p
Because since we fixed the field with the coerce, it can return None and None object cannot be strip()
None
strip()
:thumbsup:
thanks for the review :)
Pull-Request has been merged by pingou
This PR adds a default hook, installed into all the new projects which cleans the merge
status of all open PRs of a project upon pushes.
Fixes #1359