Add rake task to update the statistics for all projects
What does this MR do?
Adds a new rake task "gitlab:update_statistics" to update statistics for all projects.
Why was this MR needed?
Sometimes it is necessary to make changes to the repositories outside of GitLab which may lead to invalid commit count or total file size of a repo. Or sometimes it just happens, as users have noted in several issues.
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together