[go: up one dir, main page]

Skip to content

Recalculate repository/group size (project/namespace statistics) from UI

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Currently, refreshing incorrect repository size statistics requires using the Rails Console. This feature adds the ability to recalculate project and group sizes directly through the Admin UI or via a rake task, making repository size management more accessible.

Problem to solve

Administrators need to use Rails Console to refresh repository statistics when they are displayed incorrectly in the GUI (https://docs.gitlab.com/ee/user/project/repository/repository_size.html#incorrect-repository-statistics-shown-in-the-gui). A more user-friendly solution is needed.

Proposal

Add functionality to recalculate repository statistics through:

  1. A button in the Admin UI that allows administrators to trigger repository size recalculation for specific projects or groups
  2. A rake task as an alternative method for command-line oriented administrators, allowing to pass multiple group/project ID's as an argument

This will provide a more accessible way to manage repository statistics without requiring Rails Console access.

Intended users

Feature Usage Metrics

Track:

  • Number of times the recalculation button is used in Admin UI

Does this feature require an audit event?

No

Edited by 🤖 GitLab Bot 🤖