Subscribe 2

Ticket #621 (open enhancement)

Integrate build status

  • Created: 2012-02-13 00:36:33
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 2.3
  • Component: tracker
  • Priority: normal

Travis, our build service, has Webhook support, essentially notifying us of build status.

This would be nice to integrate with commits, tickets and review (probably in combination with #594).

For reference, the payload Travis would deploy would look something like this:
https://gist.github.com/1225015

History

daris 2012-02-13 10:17:46

I was thinking about this too, but we can't guarantee that users will not trigger that url manually (as it will be in public .travis.yml file).

A solution for this might be to only allowing set the build status when has not been set already or check whether the given POST request was send by travis.ci (http_referer?)

Franz 2012-02-13 11:31:04

Referers can be faked.

I think only allowing setting the build status when it has not been set for a commit leaves the attack vector small enough.

Franz 2012-02-17 14:01:19

  • Owner set to Franz.

Franz 2012-02-28 14:30:17

  • Description changed. (Diff)