Suggestion and button to move content to LFS
Problem to solve
Working with LFS can be painful, especially for content that already exists within the repo.
While we should provide documentation for how to move content manually, we should also provide tools to make this process as easy as possible for our users.
To problems we could solve here:
- Knowing which files are good candidates to move into LFS (large binary files)
- A single button to click to perform the move and clean the git history
Intended users
Further details
Proposal
We should do two things to make it easier to work with LFS and manage the size of your git repo:
- We should suggest files that are good candidates to move into LFS. We could do this two ways:
- We could have a list that appears when a repo is running out of space
- We could also show a tag in the file listing for files that should be moved
- We then should have a single button to perform the move, rather than require users to run through a non-trivial process with a third party tool to perform the action: https://gitlab.com/gitlab-org/gitlab-ce/issues/58911, https://confluence.atlassian.com/bitbucket/use-bfg-to-migrate-a-repo-to-git-lfs-834233484.html