Skip to content

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

Closed
nagisa opened this issue Jul 1, 2016 · 6 comments
Closed
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@nagisa
Copy link
Member

nagisa commented Jul 1, 2016

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.

@steveklabnik
Copy link
Member

/cc @ashleygwilliams

On Jul 1, 2016, 13:28 -0400, Simonas [email protected], wrote:

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.


You are receiving this because you are subscribed to this thread.
Reply to this email directly,view it on GitHub(#381), ormute the thread(https://github.com/notifications/unsubscribe/AABsirTFaS2f77YdVhICY7SEkTLpGQ7kks5qRU5JgaJpZM4JDVhX).

@alexcrichton
Copy link
Member

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...

@steveklabnik steveklabnik added the C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works label Aug 24, 2016
@lambda-fairy
Copy link

This would be useful for cargobot (the crates.io announcer on #rust-bots) as well.

@benaryorg
Copy link

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.

@SimonSapin
Copy link
Contributor

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.

@Turbo87
Copy link
Member

Turbo87 commented Oct 2, 2024

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.

@Turbo87 Turbo87 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

8 participants