stable

Clone or download

Read-only

Add a query for project/:id/svn

This is part of story #10214 manage svn "commit rules" with REST API The query helps the user to find an SVN repository by its name. The query format is in JSON and must be like {"name": "repository"} Change-Id: Icec4b960c7ee53eac26da17a7bedc94c5fa37ecf

Modified Files

Name
M plugins/svn/include/REST/v1/ProjectResource.php +57 −7 Go to diff View file
A plugins/svn/include/REST/v1/RepositoryRepresentationPaginatedCollection.php +56 −0 Go to diff View file
M plugins/svn/include/Svn/Dao.class.php +21 −2 Go to diff View file
M plugins/svn/include/Svn/Repository/RepositoryManager.class.php +22 −3 Go to diff View file
A plugins/svn/include/Svn/Repository/RepositoryPaginatedCollection.php +56 −0 Go to diff View file
M plugins/svn/include/autoload.php +4 −2 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +4 −3 Go to diff View file
M plugins/svn/tests/rest/SVN/ProjectTest.php +28 −0 Go to diff View file
M plugins/svn/tests/rest/_fixtures/project/project.xml +1 −0 Go to diff View file
M src/common/REST/Event/ProjectGetSvn.php +11 −1 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +34 −4 Go to diff View file