stable

Clone or download

Read-only

Display last commit status in PR commits

Part of story #11664: display list of commits of a pull request Given CI has reported build status for commits in a PR, When you display the list of those commits, There is a badge for each commit that has a status success or failure. Change-Id: I0fa9120c85e4fa7c79379cce8fb7493a0f9a2a34

Modified Files

Name
M plugins/git/include/CommitStatus/CommitStatusUnknown.php +3 −1 Go to diff View file
M plugins/git/include/REST/v1/GitCommitRepresentation.php +13 −1 Go to diff View file
A plugins/git/include/REST/v1/GitCommitRepresentationBuilder.php +57 −0 Go to diff View file
A plugins/git/include/REST/v1/GitCommitStatusRepresentation.php +43 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +18 −14 Go to diff View file
M plugins/git/tests/rest/Git/RepositoryTest.php +6 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsCommitRepresentationFactory.php +13 −16 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +18 −7 Go to diff View file
M plugins/pullrequest/www/scripts/package-lock.json +5 −0 Go to diff View file
M plugins/pullrequest/www/scripts/package.json +1 −0 Go to diff View file
M plugins/pullrequest/www/scripts/po/fr.po +12 −0 Go to diff View file
M plugins/pullrequest/www/scripts/po/template.pot +12 −0 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/commits/commits-controller.js +32 −2 Go to diff View file
M plugins/pullrequest/www/scripts/src/app/commits/commits.tpl.html +13 −0 Go to diff View file
M plugins/pullrequest/www/themes/BurningParrot/css/includes/_commits.scss +13 −1 Go to diff View file