stable

Clone or download

Read-only

Closes request #31185: Drop unusable GrokMirror feature

No functional changes expected on the other features. Updated Psalm's baseline to clean the errors that were caused by the removed code. Change-Id: Id6112ec117f8f1a18024a1050bd54a6170275803

Modified Files

Name
M plugins/git/bin/gl-rename-project.php +0 −3 Go to diff View file
M plugins/git/db/install.sql +0 −30 Go to diff View file
M plugins/git/db/uninstall.sql +0 −5 Go to diff View file
M plugins/git/etc/config.inc.dist +0 −5 Go to diff View file
M plugins/git/etc/nginx/git.conf +0 −4 Go to diff View file
D plugins/git/etc/systemd/tuleap-process-system-events-grokmirror.service +0 −11 Go to diff View file
D plugins/git/etc/systemd/tuleap-process-system-events-grokmirror.timer +0 −11 Go to diff View file
M plugins/git/hooks/post-receive.php +0 −4 Go to diff View file
M plugins/git/include/Git.class.php +0 −97 Go to diff View file
M plugins/git/include/Git/AdminAllowedProjectsGerritPresenter.class.php +3 −9 Go to diff View file
D plugins/git/include/Git/AdminAllowedProjectsPresenter.class.php +0 −183 Go to diff View file
D plugins/git/include/Git/AdminMirrorAddPresenter.class.php +0 −48 Go to diff View file
D plugins/git/include/Git/AdminMirrorController.class.php +0 −365 Go to diff View file
D plugins/git/include/Git/AdminMirrorEditPresenter.class.php +0 −88 Go to diff View file
D plugins/git/include/Git/AdminMirrorListPresenter.class.php +0 −113 Go to diff View file
D plugins/git/include/Git/AdminMirrorPresenter.class.php +0 −117 Go to diff View file
M plugins/git/include/Git/AdminPresenter.class.php +0 −7 Go to diff View file
M plugins/git/include/Git/AdminRouter.class.php +0 −20 Go to diff View file
M plugins/git/include/Git/DefaultSettings/IndexController.php +2 −25 Go to diff View file
D plugins/git/include/Git/DefaultSettings/Pane/Mirroring.php +0 −85 Go to diff View file
D plugins/git/include/Git/DefaultSettings/Pane/MirroringPresenter.php +0 −54 Go to diff View file
M plugins/git/include/Git/GitRepositoryBrowserController.php +0 −7 Go to diff View file
M plugins/git/include/Git/Gitolite/ConfigPermissionsSerializer.class.php +0 −19 Go to diff View file
M plugins/git/include/Git/Gitolite/GitoliteConfWriter.php +0 −239 Go to diff View file
M plugins/git/include/Git/Gitolite/Presenter/GitoliteConfPresenter.class.php +1 −20 Go to diff View file
D plugins/git/include/Git/Mirror/CreateException.class.php +0 −23 Go to diff View file
D plugins/git/include/Git/Mirror/DefaultProjectMirrorDao.php +0 −124 Go to diff View file
D plugins/git/include/Git/Mirror/HostnameAlreadyUsedException.php +0 −23 Go to diff View file
D plugins/git/include/Git/Mirror/HostnameIsReservedException.php +0 −23 Go to diff View file
D plugins/git/include/Git/Mirror/ManifestFileGenerator.class.php +0 −210 Go to diff View file
D plugins/git/include/Git/Mirror/ManifestManager.class.php +0 −98 Go to diff View file
D plugins/git/include/Git/Mirror/Mirror.class.php +0 −60 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorDao.class.php +0 −260 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorDataMapper.class.php +0 −441 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorNoChangesException.class.php +0 −23 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorNotFoundException.class.php +0 −23 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorPresenter.php +0 −86 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorResourceRestrictor.class.php +0 −106 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorSystemEventQueue.class.php +0 −49 Go to diff View file
D plugins/git/include/Git/Mirror/MirrorUpdater.php +0 −57 Go to diff View file
D plugins/git/include/Git/Mirror/MissingDataException.class.php +0 −23 Go to diff View file
D plugins/git/include/Git/Mirror/RestrictedMirrorDao.class.php +0 −89 Go to diff View file
M plugins/git/include/Git/Repository/GitRepositoryHeaderDisplayerBuilder.php +0 −23 Go to diff View file
M plugins/git/include/Git/Repository/RepositoryCreator.php +1 −13 Go to diff View file
M plugins/git/include/Git/Repository/View/ClonePresenter.php +0 −32 Go to diff View file
M plugins/git/include/Git/Repository/View/CloneURLs.php +0 −24 Go to diff View file
M plugins/git/include/Git/Repository/View/RepositoryHeaderPresenterBuilder.php +0 −10 Go to diff View file
M plugins/git/include/Git/SystemCheck.class.php +4 −12 Go to diff View file
M plugins/git/include/Git/SystemEventManager.class.php +0 −88 Go to diff View file
M plugins/git/include/GitActions.class.php +0 −131 Go to diff View file
M plugins/git/include/GitPresenters/AdminDefaultSettingsPresenter.php +2 −2 Go to diff View file
M plugins/git/include/GitPresenters/AdminGerritTemplatesPresenter.class.php +1 −2 Go to diff View file
M plugins/git/include/GitPresenters/AdminGitAdminsPresenter.class.php +1 −2 Go to diff View file
D plugins/git/include/GitPresenters/AdminMassUpdateMirroringPresenter.php +0 −59 Go to diff View file
D plugins/git/include/GitPresenters/AdminMassUpdatePresenter.class.php +0 −115 Go to diff View file
D plugins/git/include/GitPresenters/AdminMassUpdateSelectRepositoriesPresenter.class.php +0 −70 Go to diff View file
M plugins/git/include/GitPresenters/AdminPresenter.php +1 −5 Go to diff View file
D plugins/git/include/GitPresenters/MirrorPresenter.php +0 −45 Go to diff View file
D plugins/git/include/GitPresenters/MirroredRepositoryPresenter.php +0 −45 Go to diff View file
D plugins/git/include/GitPresenters/MirroringPresenter.php +0 −83 Go to diff View file
M plugins/git/include/GitRepository.class.php +4 −22 Go to diff View file
M plugins/git/include/GitRepositoryManager.class.php +1 −45 Go to diff View file
M plugins/git/include/GitViews.class.php +2 −96 Go to diff View file
D plugins/git/include/GitViews/RepoManagement/Pane/Mirroring.class.php +0 −95 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/RepoManagement.class.php +0 −7 Go to diff View file
M plugins/git/include/GitViews/ShowRepo/Content.class.php +4 −25 Go to diff View file
M plugins/git/include/GitXmlImporter.class.php +1 −1 Go to diff View file
M plugins/git/include/Git_GitoliteDriver.class.php +0 −85 Go to diff View file
M plugins/git/include/Hook/PostReceive.php +0 −4 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +0 −16 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_DELETE_MIRROR.php +0 −66 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_DUMP_ALL_MIRRORED_REPOSITORIES.php +0 −50 Go to diff View file
M plugins/git/include/SystemEvents/SystemEvent_GIT_EDIT_SSH_KEYS.class.php +0 −7 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_GROKMIRROR_MANIFEST_CHECK.class.php +0 −43 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_GROKMIRROR_MANIFEST_REPODELETE.class.php +0 −49 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_GROKMIRROR_MANIFEST_UPDATE.class.php +0 −71 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_GROKMIRROR_MANIFEST_UPDATE_FOLLOWING_A_GIT_PUSH.class.php +0 −37 Go to diff View file
M plugins/git/include/SystemEvents/SystemEvent_GIT_PROJECTS_UPDATE.class.php +3 −9 Go to diff View file
M plugins/git/include/SystemEvents/SystemEvent_GIT_REPO_DELETE.class.php +0 −6 Go to diff View file
M plugins/git/include/SystemEvents/SystemEvent_GIT_REPO_RESTORE.class.php +1 −7 Go to diff View file
M plugins/git/include/SystemEvents/SystemEvent_GIT_REPO_UPDATE.class.php +0 −17 Go to diff View file
D plugins/git/include/SystemEvents/SystemEvent_GIT_UPDATE_MIRROR.php +0 −67 Go to diff View file
M plugins/git/include/gitPlugin.php +0 −114 Go to diff View file
D plugins/git/scripts/legacy/src/mass-update.js +0 −113 Go to diff View file
M plugins/git/scripts/legacy/themes/style.scss +0 −200 Go to diff View file
M plugins/git/scripts/legacy/webpack.common.mjs +0 −1 Go to diff View file
D plugins/git/scripts/siteadmin/src/mirror/index.ts +0 −41 Go to diff View file
M plugins/git/scripts/siteadmin/themes/git.scss +0 −55 Go to diff View file
M plugins/git/scripts/siteadmin/vite.config.ts +0 −1 Go to diff View file
M plugins/git/site-content/en_US/git.tab +0 −1 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +0 −316 Go to diff View file
M plugins/git/site-content/fr_FR/git.tab +0 −1 Go to diff View file
M plugins/git/site-content/pt_BR/LC_MESSAGES/tuleap-git.po +0 −277 Go to diff View file
M plugins/git/templates/admin-default-settings.mustache +0 −5 Go to diff View file
M plugins/git/templates/admin-gerrit-templates.mustache +0 −5 Go to diff View file
M plugins/git/templates/admin-git-admins.mustache +0 −5 Go to diff View file
D plugins/git/templates/admin-mass-update-select-repositories.mustache +0 −59 Go to diff View file
D plugins/git/templates/admin-mass-update.mustache +0 −119 Go to diff View file
D plugins/git/templates/admin-plugin-list-repositories.mustache +0 −36 Go to diff View file
D plugins/git/templates/admin-plugin-mirror-configuration-modal.mustache +0 −22 Go to diff View file
D plugins/git/templates/admin-plugin-mirror-modal-delete.mustache +0 −32 Go to diff View file
D plugins/git/templates/admin-plugin-mirror-modal-edit.mustache +0 −72 Go to diff View file
D plugins/git/templates/admin-plugin-mirror-modal.mustache +0 −42 Go to diff View file
D plugins/git/templates/admin-plugin-mirrors.mustache +0 −164 Go to diff View file
M plugins/git/templates/admin-plugin.mustache +0 −4 Go to diff View file
D plugins/git/templates/default-mirroring.mustache +0 −47 Go to diff View file
M plugins/git/templates/gitolite/gitolite-with-hostname.conf.mustache +0 −10 Go to diff View file
M plugins/git/templates/gitolite/gitolite.conf.mustache +0 −10 Go to diff View file
D plugins/git/templates/mirroring.mustache +0 −49 Go to diff View file
M plugins/git/templates/repository/clone-bar.mustache +0 −10 Go to diff View file
M plugins/git/tests/integration/GitXmlImporterTest.php +0 −9 Go to diff View file
M plugins/git/tests/integration/Gitolite/GitoliteDriverTest.php +0 −9 Go to diff View file
M plugins/git/tests/integration/Gitolite/GitoliteTestCase.php +0 −13 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerFineGrainedPermissionsTest.php +0 −3 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerGerritTest.php +0 −3 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerGitoliteConfTest.php +2 −37 Go to diff View file
D plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerMirrorsTest.php +0 −123 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ConfigPermissionsSerializerTest.php +0 −4 Go to diff View file
M plugins/git/tests/unit/Git/Gitolite/ProjectSerializerTest.php +0 −5 Go to diff View file
D plugins/git/tests/unit/Git/Gitolite/_fixtures/mirrors_gitolite.conf +0 −14 Go to diff View file
D plugins/git/tests/unit/Git/Mirror/ManifestFileGeneratorTest.php +0 −340 Go to diff View file
D plugins/git/tests/unit/Git/Mirror/ManifestManagerTest.php +0 −127 Go to diff View file
M plugins/git/tests/unit/Git/SystemCheckTest.php +5 −19 Go to diff View file
M plugins/git/tests/unit/GitActionsDeleteTest.php +0 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsFetchConfigTest.php +0 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsForkTest.php +0 −2 Go to diff View file
M plugins/git/tests/unit/GitActionsTest.php +0 −2 Go to diff View file
M plugins/git/tests/unit/GitGerritRouteTest.php +0 −3 Go to diff View file
M plugins/git/tests/unit/GitPluginPostSystemEvents.php +0 −16 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerCreateTest.php +5 −7 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerDeleteAllRepositoriesTest.php +0 −6 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerForkTest.php +0 −12 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerRepositoryNameTest.php +2 −14 Go to diff View file
M plugins/git/tests/unit/GitRoutingTest.php +0 −2 Go to diff View file
M plugins/git/tests/unit/Gitolite/Git_Gitolite_ConfigPermissionsSerializerTest.php +0 −3 Go to diff View file
M plugins/git/tests/unit/Hook/PostReceiveTest.php +0 −20 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_EDIT_SSH_KEYSTest.php +0 −10 Go to diff View file
D plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_GROKMIRROR_MANIFEST_CHECKTest.php +0 −50 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_REPO_DELETETest.php +0 −9 Go to diff View file
M plugins/git/tests/unit/SystemEvents/SystemEvent_GIT_REPO_UPDATETest.php +0 −13 Go to diff View file
M plugins/gitlab/include/Admin/GitLabLinkGroupController.php +0 −3 Go to diff View file
M plugins/gitlab/include/Admin/GitLabLinkGroupPanePresenter.php +1 −2 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +0 −1 Go to diff View file
M plugins/gitlab/templates/admin/git-administration-panes.mustache +0 −3 Go to diff View file
M plugins/gitlab/tests/unit/Admin/GitLabLinkGroupControllerTest.php +0 −5 Go to diff View file
M plugins/gitlab/tests/unit/Admin/LinkedGroupPresenterTest.php +1 −1 Go to diff View file
M plugins/hudson_git/include/HudsonGit/Git/Administration/AdministrationController.php +0 −3 Go to diff View file
M plugins/hudson_git/include/HudsonGit/Git/Administration/AdministrationPresenter.php +1 −2 Go to diff View file
M plugins/hudson_git/include/hudson_gitPlugin.php +0 −1 Go to diff View file
M plugins/hudson_git/templates/git-administration/git-administration-jenkins.mustache +0 −5 Go to diff View file
M plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AdministrationControllerTest.php +0 −10 Go to diff View file
M src/utils/cron.d/codendi +0 −1 Go to diff View file
M tests/psalm/tuleap-baseline.xml +2 −1026 Go to diff View file
M tests/rest/lib/TestDataBuilder.php +0 −5 Go to diff View file
M tools/docker/tuleap-aio/fix-owners.sh +0 −1 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +8 −6 Go to diff View file
M tools/setup/el7/include/plugins.sh +0 −10 Go to diff View file