-
Notifications
You must be signed in to change notification settings - Fork 205
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
Consider using some sort of webhook to monitor for crate uploads #14
Comments
Triage: I've messed around with the GitHub api some, I think this could be a viable thing to do because if done right we could just treat github updates as another web request. It'd allow us to respond to crate uploads in a shorter span of time as well as making less requests to github, which is just considerate. Maybe implement this after the hyper transition, I think it'd be best fit in an async world and would make the transition itself less work |
@Kixiron This refers to uploads to crates.io, not anything on github. We'd need crates.io to add a webhook API first: rust-lang/crates.io#381 |
Using a github hook would have a similar effect until the crates.io one was implemented, as github would send post requests to us whenever the index repo was updated. I do agree though, using crates.io themselves would be a preferable situation |
Yeah, we can definitely use the GitHub webhook on the repository index. I can set it up when we are ready. |
Corresponding crates.io issue: rust-lang/crates.io#381
The text was updated successfully, but these errors were encountered: