Right now we ignore the size of the repositories and treat <1 MB ones the same as >600 MB ones (ex openui).
We do not check the sizes at all:
One can add a nGB repo and update it constantly to waste our resources.
Right now we ignore the size of the repositories and treat <1 MB ones the same as >600 MB ones (ex openui).
We do not check the sizes at all:
One can add a *n*GB repo and update it constantly to waste our resources.
I'd recommend to set the bar quite high to avoid that legitimate repos (e.g. Linux Kernel) are excluded.
Perhaps it would make sense to add an Admin API route that checks the repo sizes, e.g. via the GitHub API, to regularly assess potential abuses.
I'd recommend to set the bar quite high to avoid that legitimate repos (e.g. Linux Kernel) are excluded.
Perhaps it would make sense to add an Admin API route that checks the repo sizes, e.g. via the GitHub API, to regularly assess potential abuses.
I think we should not closely tie our logic to a specific remote proprietary API.
In my opinion a much better solution would be to store the du -s of a repository that we have already cloned for analysis.
> e.g. via the GitHub API
I think we should not closely tie our logic to a specific remote proprietary API.
In my opinion a much better solution would be to store the `du -s` of a repository that we have already cloned for analysis.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Right now we ignore the size of the repositories and treat <1 MB ones the same as >600 MB ones (ex openui).
We do not check the sizes at all:
One can add a nGB repo and update it constantly to waste our resources.
I'd recommend to set the bar quite high to avoid that legitimate repos (e.g. Linux Kernel) are excluded.
Perhaps it would make sense to add an Admin API route that checks the repo sizes, e.g. via the GitHub API, to regularly assess potential abuses.
I think we should not closely tie our logic to a specific remote proprietary API.
In my opinion a much better solution would be to store the
du -sof a repository that we have already cloned for analysis.