stable

Clone or download

Read-only

story #8021 - write conf on a per mirror basis if %HOSTNAME is set in .gitolite.rc file

Should handle: * all repositories and project actions * update of mirrors Does not handle: * Mirror creation * Mirror deletion my sanity: (╯°□°)╯︵ ┻━┻) Change-Id: Ia4d636a4b9df4950085c9816d46ac8fbdae68c37

Modified Files

Name
M plugins/git/include/Git/Gitolite/ConfigPermissionsSerializer.class.php +10 −0 Go to diff View file
M plugins/git/include/Git/Gitolite/GitModifications.php +15 −8 Go to diff View file
M plugins/git/include/Git/Gitolite/GitoliteConfWriter.php +247 −18 Go to diff View file
M plugins/git/include/Git/Gitolite/ProjectSerializer.class.php +13 −0 Go to diff View file
M plugins/git/include/Git/Mirror/MirrorDao.class.php +23 −1 Go to diff View file
M plugins/git/include/Git/Mirror/MirrorDataMapper.class.php +45 −6 Go to diff View file
M plugins/git/include/Git/SystemEventManager.class.php +10 −0 Go to diff View file
M plugins/git/include/GitViews.class.php +4 −2 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/RepoManagement.class.php +9 −14 Go to diff View file
M plugins/git/include/GitViews/ShowRepo.class.php +7 −13 Go to diff View file
M plugins/git/include/Git_Exec.class.php +8 −0 Go to diff View file
M plugins/git/include/Git_GitoliteDriver.class.php +80 −39 Go to diff View file
M plugins/git/include/autoload.php +3 −2 Go to diff View file
M plugins/git/include/events/SystemEvent_GIT_DUMP_ALL_MIRRORED_REPOSITORIES.php +1 −1 Go to diff View file
A plugins/git/include/events/SystemEvent_GIT_RENAME_MIRROR.php +63 −0 Go to diff View file
M plugins/git/include/gitPlugin.class.php +16 −2 Go to diff View file
A plugins/git/templates/gitolite/gitolite-includes-for-hostname.conf.mustache +3 −0 Go to diff View file
M plugins/git/tests/Git_GitoliteDriverTest.php +32 −8 Go to diff View file
M plugins/git/tests/Git_GitoliteTestCase.class.php +4 −1 Go to diff View file