Skip to content

Add Release Callback Interface #9

theory opened this Issue Apr 23, 2011 · 2 comments

2 participants

PostgreSQL Extension Network member
theory commented Apr 23, 2011

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

PostgreSQL Extension Network member
theory commented May 14, 2011

Another suggestion from Hitoshi Harada:

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

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

@theory theory modified the milestone: v0.20, v0.16 Aug 31, 2015
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.