Allow users to free some space
In the context of &886 I've spent some time thinking about deletion strategies.
Here are my findings.
What can be deleted now?
|Feature||Status||Issues / Merge Requests|
|Discussion Storage||Not implemented at all|
Out of scope
Deleting a file from git will not save space and it requires rewriting history. So the following git operations are out of scope:
- Git LFS
- Design documents
- I can't see an easy way to harmonize all this kind of storages, each one may need a proper storage manager designed around the feature
- I don't think we should implement deletion for storages based on
git LFS, it's a dangerous operation that will rewrite the repo history. (Design documents could be an exception)
- CI related storages may have a shared expiry policy also for traces. It will slowly free up some spaces once build logs gets older.