Skip to content

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?

What are the relevant issue numbers?

#2040 (closed), #2089 (closed), #19188 (moved)

Merge request reports