stable

Clone or download

Read-only

feat: The pull request creation do the checks on branches

This is part of story #27175 Have more flexibility in pull request creation proces The checks done before a pull request is no more done on SHA1 but on branches and repositories. An already merged or abandonned pull request cannot be recreated. Change-Id: I9a018902067daa6af8fd054c7b9ca53cc7ffffe1

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Dao.php +7 −5 Go to diff View file
M plugins/pullrequest/include/PullRequest/Exception/PullRequestAlreadyExistsException.php +1 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/PullRequestCreator.php +8 −33 Go to diff View file
A plugins/pullrequest/include/PullRequest/PullRequestCreatorChecker.php +114 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +2 −1 Go to diff View file
A plugins/pullrequest/tests/unit/PullRequestCreatorCheckerTest.php +198 −0 Go to diff View file