#4675 Fix checking if the user is a committer of the repo the PR originates from
Merged by pingou. Opened by pingou.
fix_committer_check  into  master

Download 4675.patch

There are a few cases where if the PR originates from the same repo that it
targets the project_from attribute of the PullRequest object is
None.
Therefore, we need to check if the user is a committer of either the
project_from if there is one and otherwise the target repo.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

This should superseed: https://pagure.io/pagure/pull-request/4295#

rebased onto 7ae4892c023cc1025d4d70e1ca39cc8d3627407b

:thumbsup:

pretty please pagure-ci rebuild

rebased onto 8b8907452361a9d1240c48ec99310a0a301b7ae1

rebased onto 78d1ae2310a54e47927737529e584aa1ce90d59f

rebased onto 78d1ae2310a54e47927737529e584aa1ce90d59f

Thanks for your reviews pals! :)

Pull-Request has been merged by pingou

Metadata