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

Validate crates package ownership #2381

Open
ryscheng opened this issue Oct 23, 2024 · 1 comment
Open

Validate crates package ownership #2381

ryscheng opened this issue Oct 23, 2024 · 1 comment

Comments

@ryscheng
Copy link
Member

What is it?

If a user enters a crate into oss-directory, we should validate ownership first in our GitHub app.

We can either use the Crates API here
https://doc.rust-lang.org/cargo/reference/registry-web-api.html#owners

Or if we need to, we can use a database dump in our BQ #2380

@ryscheng
Copy link
Member Author

FYI, the API is rate limited to 1 request per second
https://crates.io/data-access

They aggressively block if you abuse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant