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

Limit number of new versions per one crate to 10 per day #5291

Closed
carols10cents opened this issue Oct 7, 2022 · 1 comment · Fixed by #5294
Closed

Limit number of new versions per one crate to 10 per day #5291

carols10cents opened this issue Oct 7, 2022 · 1 comment · Fixed by #5294
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@carols10cents
Copy link
Member

carols10cents commented Oct 7, 2022

Between UTC midnights, only allow up to 10 publishes of new versions of any one particular crate.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-backend ⚙️ labels Oct 9, 2022
@carols10cents
Copy link
Member Author

I analyzed data using the 2022-10-06 database dump and found that there were 205 unique crates that have ever had days where they published more than 10 versions, out of 93,644 crates in that database dump. So 10 versions in a day is the 99.8th percentile.

Here's the list of crates with over 10 versions published in a day: https://gist.github.com/carols10cents/44b2e0de6087d2f6193fd4ef46bd32d6

And here's the query I ran and the other details like what day and how many versions https://gist.github.com/carols10cents/fbb6610030e1a2909300c76a6372f2e7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants