Github Service Hook

5 years ago
3 years ago


I was thinking about maybe creating the requirements for a Github connect? Let me know if you are interested: "Github Developers API(Git API v3)":

We could even just create a Traq Github application and give it to github: "Deploy A Github Service (Deploy A Github Service)":

Ticket History

5 years and 4 months ago by Jack

  • Changed Type from Enhancement to Feature
  • Changed Milestone from future to 3.0
  • Cleared Version, was future
  • Changed Summary from Github Connect/API to Github Service Hook

A Github service hook is planned as part of the API in 3.0.

5 years and 4 months ago by Devon Hazelett

Ok perfect I'll start with my buddy chuxiao on the python part to give to github When we get finished with that, if you have not finished/started the JavaScript part I'll do that as well.

After I talk with him I'll mark as accepted?

5 years and 4 months ago by Jack

What JavaScript part?

The Github service stuff sends a request to the Traq installation from Githubs servers.

Also, Github uses Ruby, not Python.

5 years and 4 months ago by Devon Hazelett

Perfect then I don't even need Chuxiao, I'm our Ruby guy, but it appears you are too lol. But in regards to the JS, don't we need to handle the request from github on server side? e.g. receive POST (or what ever have not looked the the API docs yet) for commit, and we could insert new Timeline event? Which we could even further the Timeline by categorizing Timeline events or something. The vision on this is still a little blurry to me but I think we need to move to the Forum with this and update the ticket after we have the plans sorted out.

5 years and 4 months ago by Devon Hazelett

Actually I guess that would be PHP receiving the JSON POST from github haha so nevermind, but still to the forum to discuss; I'll await your replies there.

5 years and 4 months ago by Devon Hazelett

Jack take a look at this, github just added this to project administration page's service hooks: "Github: Receive Post Request(Github: Receive Post Request)":

So if we were to just make a handler php side then all we would have to do is, have the admin of a traq install; insert "" to their github page. We'd not need a rb script in that case.

5 years and 2 months ago by Jack

  • Changed Milestone from 4.0 to future