Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforcing total project size limit(user-facing changes) #8129

Merged
merged 24 commits into from
Jun 26, 2020

Conversation

VikramJayanthi17
Copy link
Contributor

@VikramJayanthi17 VikramJayanthi17 commented Jun 18, 2020

As discussed in #7446, I implemented the enforcement of the total project size limit. The enforcement takes place in legacy.py in file_upload and the help url shows them how to create an issue on pypi-support using the existing file_upload_limit issue template(this should be changed to have the appropriate information/steps) to request a larger total project size limit or an exemption. This assumes a default limit of 100GB(as mentioned in #7446 by @di this is up for debate). The ability for admins to change the limit for projects is in a separate PR(#8128).

Please let me know if you all have any suggestions/changes, thanks.

Fixes #7446.

warehouse/templates/pages/help.html Outdated Show resolved Hide resolved
warehouse/admin/templates/admin/projects/detail.html Outdated Show resolved Hide resolved
warehouse/forklift/legacy.py Outdated Show resolved Hide resolved
warehouse/templates/pages/help.html Show resolved Hide resolved
@VikramJayanthi17 VikramJayanthi17 force-pushed the limit-proj-total-size-user-facing branch from 2d3e6f0 to 51200b6 Compare June 24, 2020 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement limit on Project.total_size
3 participants