stable
Clone or download
Read-only
part of: story #18320 native support of pull requests in tuleap branch source jenkins plugin We need this information to query the `/git/:id/files` route. This commit adds a head object in pullrequets representations: ``` { ... "head": { "id": "a1b2c3d4e5f6" } } ``` How to test: - in the following routes, you can find this info: - `/pull_requests/:id` - `/git/:id/pull_requests` (in each pullrequest representation in the collection field) Change-Id: I7a162a0a77fa169362b2f8f8b1987a1674aa1fea
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/pullrequest/include/PullRequest/PullRequest.php | +5 | −2 | Go to diff View file |
A | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestHEADRepresentation.php | +41 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/PullRequestMinimalRepresentation.php | +5 | −0 | Go to diff View file |
M | plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php | +1 | −1 | Go to diff View file |