stable
Clone or download
Read-only
Ensure the namespace in the Git repo is available before updating "reserved" references
A previous contribution has reserved Git reference ID for all existing pull requests. This contribution ensure the reserved namespace is available in the Git repo before using it. This is part of story #11477: have a dedicated references for pullrequests Change-Id: If1dc90079761361dfddc9a1ec26fa3adc932d8e4
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReference.php | +17 | −1 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReferenceCreator.php | +11 | −12 | Go to diff View file |
A | plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReferenceNamespaceAvailabilityChecker.php | +31 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReferenceUpdater.php | +34 | −4 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php | +10 | −4 | Go to diff View file |
M | plugins/pullrequest/include/pullrequestPlugin.class.php | +12 | −4 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceCreatorTest.php | +11 | −11 | Go to diff View file |
A | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceNamespaceAvailabilityCheckerTest.php | +51 | −0 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceTest.php | +8 | −0 | Go to diff View file |
M | plugins/pullrequest/phpunit/GitReference/GitPullRequestReferenceUpdaterTest.php | +45 | −5 | Go to diff View file |