Show size of repositories of a user and group optimized
requested to merge kelvinmutuma/gitlab-ce:show-total-repo-size-on-group-and-user-optimized into master
Shows the total repository size of a group's and a user's repositories in response to this feature request.
This is an edit to this pull request that is more scalable since instead of passing an ActiveRelation array of group projects I pass a group/current user and the repo's size it calculates from database using the ActiveRecord sum function.