stable

Clone or download

Read-only

The migration take into account restriction

This is part of story #9634 Restrict Gerrit server by project REST routes will be done in a next commit. Change-Id: I7f6c720d036e9174c43cd8b38e01eaaf3537ef86

Modified Files

Name
M plugins/git/include/Git.class.php +3 −3 Go to diff View file
M plugins/git/include/Git/RemoteServer/Dao.class.php +24 −1 Go to diff View file
M plugins/git/include/Git/RemoteServer/Gerrit/MigrationHandler.php +9 −2 Go to diff View file
M plugins/git/include/Git/RemoteServer/GerritCanMigrateChecker.php +10 −5 Go to diff View file
M plugins/git/include/Git/RemoteServer/GerritServerFactory.class.php +14 −1 Go to diff View file
M plugins/git/include/GitViews.class.php +10 −3 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/Pane/Gerrit.class.php +2 −2 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +4 −1 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
A plugins/git/include/exceptions/RepositoryCannotBeMigratedOnRestrictedGerritServerException.php +32 −0 Go to diff View file
M plugins/git/tests/Git/RemoteServer/GerritCanMigrateCheckerTest.php +30 −20 Go to diff View file
M plugins/git/tests/Git/RemoteServer/MigrationHandlerTest.php +20 −2 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file