Housekeeping and repository cleanup should prune unreferenced LFS objects
Problem to solve
Using repository cleanup (https://docs.gitlab.com/ee/user/project/repository/reducing_the_repo_size_using_git.html#using-the-bfg-repo-cleaner) triggers housekeeping, but git gc
doesn't prune loose LFS objects. This means the repo size can't be reduced by removing LFS objects.
Further details
Feature flag: :cleanup_lfs_during_gc
Proposal
-
When running repository cleanup, prune LFS objects included in the uploaded commit map.
-
Ensure notifications take into account LFS space/storage
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.