stable

Clone or download

Read-only

Add REST route for create Git repository

this is part of story #10408 have a burning parrot git repository list How to test: Use new REST route POST /git you should be able to create a new repository create a repository from UI you should be able to create a new repository Change-Id: I6db530fce91f9f42f00da805b5416ff0dcaebf84

Modified Files

Name
M plugins/git/include/Git/CreateRepositoryController.php +13 −106 Go to diff View file
A plugins/git/include/Git/Repository/GitRepositoryNameIsInvalidException.php +27 −0 Go to diff View file
A plugins/git/include/Git/Repository/RepositoryCreator.php +150 −0 Go to diff View file
M plugins/git/include/GitRepositoryManager.class.php +38 −7 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +243 −39 Go to diff View file
M plugins/git/include/exceptions/GitRepositoryAlreadyExistsException.class.php +10 −18 Go to diff View file
M plugins/git/include/exceptions/GitRepositoryException.class.php +10 −17 Go to diff View file
M plugins/git/include/gitPlugin.class.php +20 −10 Go to diff View file