Skip to content

Consider using some sort of webhook to monitor for crate uploads #14

New issue

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

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

Already on GitHub? # to your account

Open
nagisa opened this issue Jul 1, 2016 · 4 comments
Open

Consider using some sort of webhook to monitor for crate uploads #14

nagisa opened this issue Jul 1, 2016 · 4 comments
Labels
E-medium Effort: This requires a fair amount of work P-low Low priority issues

Comments

@nagisa
Copy link
Member

nagisa commented Jul 1, 2016

Corresponding crates.io issue: rust-lang/crates.io#381

@onur onur added the wishlist label Aug 29, 2016
@Kixiron
Copy link
Member

Kixiron commented May 27, 2020

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

@jyn514
Copy link
Member

jyn514 commented May 27, 2020

@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

@Kixiron
Copy link
Member

Kixiron commented May 27, 2020

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

@pietroalbini
Copy link
Member

Yeah, we can definitely use the GitHub webhook on the repository index. I can set it up when we are ready.

@jyn514 jyn514 added E-medium Effort: This requires a fair amount of work P-medium Medium priority and removed wishlist labels Jun 27, 2020
@syphar syphar added P-low Low priority issues E-medium Effort: This requires a fair amount of work and removed E-medium Effort: This requires a fair amount of work P-medium Medium priority labels Oct 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
E-medium Effort: This requires a fair amount of work P-low Low priority issues
Projects
None yet
Development

No branches or pull requests

6 participants