Open
Description
It would be nice if it possible to set a global or user repository size limit. This would be good for Gitea providers providing Gitea for the public with limited disk space to have this option as mentioned in #1029 .
Approaches for restricting repo size
Solution 1
- User gets a notification if a repository exceeded the size limit
- Admin gets a notification if a repository exceeded the size limit (optional)
- Repository gets deleted (after a ultimatum) if a user did not reduced the size of the repository
Solution 2
- The size of every push gets approved (I don't know if that is possible or realistic) and blocked if the push is to large