Option to limit external repository mirroring to only public projects on Gitea
Feature Description
For hosting providers with limited server resources, the ability to disable the mirroring of external repositories to a private project on Gitea would be greatly beneficial.
Indeed, limiting the creation of a plethora of private and potentially massive mirrors allows the providers to avoid unnecessary traffic and storage usage.
Screenshots
No response
This is already possible. The default is enabled but you can set this in your app.ini and restart your instance
https://docs.gitea.com/administration/config-cheat-sheet#mirror-mirror
Through an exchange with a maintainer of Forgejo (hard-fork of Gitea), I've been told that this feature is actually not implemented.
Apparently, you can either fully enable push/pull mirrors, or fully disable them...
It seems it's useful for some public Gitea instances. But in fact, once users could run Gitea Actions with cron jobs, they can do mirrors easily.
We close issues that need feedback from the author if there were no new comments for a month. :tea: