stable

Clone or download

Read-only

fix: stop leaking RepositoryPullRequestRepresentation in Git plugin

part of story #35821 Pull request new home page - Filter on Authors The `GET git/:id/pull_requests` endpoint has been moved to the pullrequest plugin. It allows us to: - stop leaking RepositoryPullRequestRepresentation in the Git plugin. - stop relying on the REST_GIT_PULL_REQUEST_GET_FOR_REPOSITORY legacy event. - Stop checking for the pullrequest plugin availability, on the git plugin's side. -- no functional change expected Change-Id: I843d332d20a35990c3904a13c062051c928a790a

Modified Files

Name
M plugins/git/include/REST/v1/RepositoryResource.class.php +0 −103 Go to diff View file
M plugins/git/include/constants.php +0 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/ResourcesInjector.class.php +3 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php +107 −4 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +0 −19 Go to diff View file