stable

Clone or download

Read-only

REST representations of the Git plugin are immutables

This is a technical change, no functional change is expected. Part of request #15111: REST representations should not be mutable Change-Id: Iba58c35c0e709e9eb967faa5d959565a2b7d3614

Modified Files

Name
M plugins/git/include/Git/RemoteServer/GerritServer.class.php +5 −0 Go to diff View file
M plugins/git/include/GitRepository.class.php +7 −2 Go to diff View file
M plugins/git/include/REST/v1/GerritResource.php +1 −2 Go to diff View file
M plugins/git/include/REST/v1/GerritServerRepresentation.php +5 −2 Go to diff View file
M plugins/git/include/REST/v1/GitFileContentRepresentation.php +5 −2 Go to diff View file
M plugins/git/include/REST/v1/GitFileRepresentationFactory.php +2 −4 Go to diff View file
M plugins/git/include/REST/v1/GitProjectResource.php +3 −2 Go to diff View file
M plugins/git/include/REST/v1/GitRepositoryGerritMigratePATCHRepresentation.php +4 −1 Go to diff View file
M plugins/git/include/REST/v1/GitRepositoryListRepresentation.php +11 −0 Go to diff View file
M plugins/git/include/REST/v1/GitRepositoryPermissionRepresentation.class.php +60 −32 Go to diff View file
M plugins/git/include/REST/v1/GitRepositoryRepresentation.class.php +31 −12 Go to diff View file
M plugins/git/include/REST/v1/RepositoryRepresentationBuilder.class.php +14 −23 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryPullRequestRepresentation.php +5 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php +2 −8 Go to diff View file
M src/common/REST/v1/GitRepositoryPermissionRepresentationBase.class.php +6 −4 Go to diff View file