Skip to content
This repository

Add Release Callback Interface #9

Open
theory opened this Issue April 22, 2011 · 2 comments

2 participants

David E. Wheeler Hitoshi Harada
David E. Wheeler
Owner

Right now, tweets are sent out on successful release from within the controller. There are a few problems with this, though:

  • The user can get an error on tweet failure, even though upload and release was successful
  • One might want to send out other notifications on successful upload (e.g., IRC, identi.ca, etc.)
  • One might want to do other things on successful download, such as execute a command-line utility (e.g, pgxn_api_sync).

So create an interface for adding callbacks on successful release, but where the user doesn't get an error if any callbacks fail. They should be configurable in the configuration file, and easy to implement. Perhaps use Plack middleware as a model.

David E. Wheeler
Owner
theory commented May 13, 2011

Another suggestion from Hitoshi Harada:

  • Send an email on successful release. Perhaps to a mail list?
Hitoshi Harada

In terms of fail tolerant system, I'd suggest MQ. But for customizability of users I don't know which direction should go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.