stable

Clone or download

Read-only

request #12976: Identify active Git repositories with objects over the size limit

A new tuleap CLI command is introduced to find in the active repositories the ones with at least one object over the 50 MB limit. Repositories are considered active if at least one push occurred in the last 2 months. Change-Id: I01b9f118091edb0937e23dc32af53749892ee8b8

Modified Files

Name
A plugins/git/include/Git/Repository/GitRepositoryObjectsSizeRetriever.php +32 −0 Go to diff View file
A plugins/git/include/Git/Repository/LargestObjectSizeGitRepository.php +59 −0 Go to diff View file
A plugins/git/include/Git/Repository/RepositoriesWithObjectsOverTheLimitCommand.php +133 −0 Go to diff View file
M plugins/git/include/GitDao.class.php +11 −0 Go to diff View file
M plugins/git/include/GitRepositoryFactory.class.php +15 −0 Go to diff View file
M plugins/git/include/Git_Exec.class.php +18 −1 Go to diff View file
M plugins/git/include/gitPlugin.class.php +8 −1 Go to diff View file
A plugins/git/phpunit/Git/Repository/LargestObjectSizeGitRepositoryTest.php +60 −0 Go to diff View file
A plugins/git/phpunit/Git/Repository/RepositoriesWithObjectsOverTheLimitCommandTest.php +102 −0 Go to diff View file