Skip to content

repository: Exclude merge-requests, keep-around, pipelines from size

John Cai requested to merge jc-exclude-keep-around-refs-from-repo-size into master

There are times when we want to exclude certain refs from being included in the size calculation for a repository. Add the ability to do so.

In addition, the RepositorySize RPC is used to determine the disk-usage of the repository that is under the control of the user. There are certain refs like refs/keep-around/, refs/merge-requests/, refs/pipelines/* that GitLab uses internally, so these should not contribute to the overall size of the repository.

Related to: gitlab#357680 (closed)

Changelog: added

Edited by Toon Claes

Merge request reports