Subject: Post receive in github-services
Hi,
Which of github-services is the same as raw Post-Receive hook? It looks like "forwarding" is sending totally different data...
Comments are currently closed for this discussion. You can start a new one.
Not logged in. Log in or Create a profile
Hi,
Which of github-services is the same as raw Post-Receive hook? It looks like "forwarding" is sending totally different data...
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Tekkub on 04 Nov, 2009 06:00 AM
We don't expose the raw hook. The closest you'll get is the web hook: http://help.github.com/post-receive-hooks/. All the services run on the payload for the web hook, they just format it for the corresponding external service and then deliver the data to the service.
3 Posted by mantas on 04 Nov, 2009 09:10 AM
Hm... What would you suggest to test the hook on localhost?
-------------------------------
Mantas Masalskis
Checkout my current project >> http://www.puncht.com
Bio: http://www.google.com/profiles/mantas.masalskis
Skype: mantasm_lt
gTalk/Jabber: mantas@idev.lt
On Wed, Nov 4, 2009 at 6:00 AM, Tekkub <
tender+dcf131a6226034ba43f4320005ae774ab8cbae8f5@tenderapp.com<tender%2Bdcf131a6226034ba43f4320005ae774ab8cbae8f5@tenderapp.com>
> wrote:
Support Staff 4 Posted by Tekkub on 04 Nov, 2009 10:47 PM
What I did was use postbin to catch a push I made, stuck that payload in my test case, and then wrote my handler against that test.
5 Posted by mantas on 04 Nov, 2009 10:59 PM
Thanks!
-------------------------------
Mantas Masalskis
Checkout my current project >> http://www.puncht.com
Bio: http://www.google.com/profiles/mantas.masalskis
Skype: mantasm_lt
gTalk/Jabber: mantas@idev.lt
On Wed, Nov 4, 2009 at 10:48 PM, Tekkub <
tender+dcf131a6226034ba43f4320005ae774ab8cbae8f5@tenderapp.com<tender%2Bdcf131a6226034ba43f4320005ae774ab8cbae8f5@tenderapp.com>
> wrote: