-
Notifications
You must be signed in to change notification settings - Fork 643
Provide some push-notification/webhook service for crate upload notifications #381
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
Comments
/cc @ashleygwilliams On Jul 1, 2016, 13:28 -0400, Simonas [email protected], wrote:
|
Yeah I think we definitely want the ability to register webhooks here, but for a fully-featured workflow we'd also need an automated way of registering webhooks (e.g. an API to register webhooks), and that may be somewhat tricky... |
This would be useful for cargobot (the crates.io announcer on #rust-bots) as well. |
I proposed the #439 issue regarding VersionEye integration. I myself have never used VersionEye, but I think it at least partially offers the functionality that is under discussion here so one might think of implementing that first and see if people really have more demanding requirements. |
I’ve heard of some unrelated projects (ab)using Twitter to get broadcast notifications of various kinds of events. GitHub’s integration with Twitter could be enabled for https://github.com/rust-lang/crates.io-index so that a tweet is sent for every push or ever commit. Then services like crates.fyi / docs.rs can use Twitter’s streaming APIs to get notified. This has downsides (such as being tied to a another closed platform owned by a for-profit company), but it would allow getting something running without building new infrastructure. |
FWIW we have RSS feeds for crates.io now (see https://blog.rust-lang.org/2024/07/29/crates-io-development-update.html#rss-feeds), which serve a roughly similar purpose, but are a lot easier to support on our side. While these RSS feeds are pull-based, they do include all data from a certain timeframe, so if polls happen within that timeframe nothing should be missed. Building and maintaining a push-based system is currently not on our roadmap and I don't expect that to change for the foreseeable future. |
With projects like crates.fyi coming out it is becoming a desirable service to have a capability to receive some notification about new crate uploads. It could be either implemented as traditional webhook service or a long lived TCP connection-style-subscription thing.
The text was updated successfully, but these errors were encountered: