stable

Clone or download

Read-only

Take into account project mirror restriction

This task is part of story #8734 have new git repositories automatically mirrored When the mirror becomes restricted, this mirror is removed from all default mirror list. When a project that was previously allowed to use the mirror is removed in the authorized list for the mirror, then the mirror is no more defined and selected in the project default mirrors list Change-Id: I9946d518dedeaa0cde82b204d4ffb33fee834e8c

Modified Files

Name
M plugins/git/include/Git/AdminMirrorController.class.php +8 −2 Go to diff View file
M plugins/git/include/Git/Mirror/DefaultProjectMirrorDao.php +11 −0 Go to diff View file
M plugins/git/include/Git/Mirror/MirrorDataMapper.class.php +4 −0 Go to diff View file