stable
Clone or download
Read-only
request #8805: Strength migration to Gerrit
For all new migrations (no change for already migrated repo): * When there is an error, users see the error message on repository * Git admin has access to the error stack trace * Requester get an email to inform him about the error * Permissions on Tuleap/git are not modified (previously, gerrit had RW+ access, hence a gerrit user could force replication gerrit side and nuke the repository) Change-Id: I8c5284059bc91efb4a24629b69ebe48663181402
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/db/install.sql | +1 | −0 | Go to diff View file |
A | plugins/git/db/mysql/updates/2016/201601271109_add_remote_servers_migration.php | +59 | −0 | Go to diff View file |
M | plugins/git/include/Git.class.php | +1 | −1 | Go to diff View file |
A | plugins/git/include/Git/Driver/Gerrit/ProjectCreatorStatus.php | +96 | −0 | Go to diff View file |
A | plugins/git/include/Git/Driver/Gerrit/ProjectCreatorStatusDao.php | +39 | −0 | Go to diff View file |
M | plugins/git/include/Git/Gitolite/ConfigPermissionsSerializer.class.php | +15 | −3 | Go to diff View file |
M | plugins/git/include/Git/SystemEventManager.class.php | +2 | −2 | Go to diff View file |
M | plugins/git/include/GitActions.class.php | +6 | −3 | Go to diff View file |
M | plugins/git/include/GitDao.class.php | +23 | −5 | Go to diff View file |
M | plugins/git/include/GitForkPermissionsManager.class.php | +8 | −1 | Go to diff View file |
M | plugins/git/include/GitRepository.class.php | +9 | −0 | Go to diff View file |
M | plugins/git/include/GitViews/RepoManagement/Pane/Gerrit.class.php | +48 | −18 | Go to diff View file |
M | plugins/git/include/GitViews/ShowRepo/Content.class.php | +10 | −20 | Go to diff View file |
A | plugins/git/include/GitViews/ShowRepo/ContentGerrit.php | +98 | −0 | Go to diff View file |
M | plugins/git/include/Git_Backend_Gitolite.class.php | +4 | −1 | Go to diff View file |
M | plugins/git/include/Git_GitoliteDriver.class.php | +3 | −0 | Go to diff View file |
M | plugins/git/include/autoload.php | +5 | −2 | Go to diff View file |
M | plugins/git/include/events/SystemEvent_GIT_GERRIT_MIGRATION.class.php | +56 | −10 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +4 | −0 | Go to diff View file |
M | plugins/git/site-content/en_US/git.tab | +5 | −0 | Go to diff View file |
M | plugins/git/site-content/fr_FR/git.tab | +5 | −0 | Go to diff View file |
A | plugins/git/tests/Git/Driver/Gerrit/ProjectCreatorStatusTest.php | +139 | −0 | Go to diff View file |
M | plugins/git/tests/Git/Gitolite/ConfigPermissionsSerializerTest.php | +139 | −4 | Go to diff View file |
M | plugins/git/tests/Git/Gitolite/ProjectSerializerTest.php | +5 | −0 | Go to diff View file |
M | plugins/git/tests/Git/SystemEventManagerTest.php | +3 | −4 | Go to diff View file |
M | plugins/git/tests/GitActionsTest.php | +5 | −4 | Go to diff View file |
M | plugins/git/tests/GitTest.php | +1 | −1 | Go to diff View file |
M | plugins/git/tests/GitXmlImporterTest.php | +5 | −3 | Go to diff View file |
M | plugins/git/tests/Git_GitoliteDriverTest.php | +1 | −0 | Go to diff View file |
M | plugins/git/tests/Git_GitoliteTestCase.class.php | +1 | −0 | Go to diff View file |
M | plugins/git/tests/events/SystemEvent_GIT_GERRIT_MIGRATIONTest.php | +7 | −2 | Go to diff View file |
M | plugins/svn/include/autoload.php | +2 | −4 | Go to diff View file |