stable

Clone or download

Read-only

Deal with repository in queue for migration

This task is part of story #8887 migrate git to gerrit with REST route When a migration through REST for repository already in queue for migration is sent, REST route will not raise an error but no new system_event will be generated. Change-Id: Ifc53eea9b4c44968c7d5c2b571f75375cf51012b

Modified Files

Name
M plugins/git/include/Git.class.php +10 −2 Go to diff View file
M plugins/git/include/Git/RemoteServer/Gerrit/MigrationHandler.php +29 −1 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +10 −4 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
A plugins/git/include/exceptions/RepositoryAlreadyInQueueForMigrationException.php +30 −0 Go to diff View file
M plugins/git/include/gitPlugin.class.php +8 −1 Go to diff View file
M plugins/git/tests/Git/RemoteServer/MigrationHandlerTest.php +16 −1 Go to diff View file
M plugins/git/tests/GitTest.php +4 −5 Go to diff View file