Open ryscheng opened 1 month ago
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 https://github.com/opensource-observer/oso/issues/2380
FYI, the API is rate limited to 1 request per second https://crates.io/data-access
They aggressively block if you abuse
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 https://github.com/opensource-observer/oso/issues/2380