Subject: Post receive in github-services

Original Post mantas's Avatar

mantas

04 Nov, 2009 05:47 AM

Hi,

Which of github-services is the same as raw Post-Receive hook? It looks like "forwarding" is sending totally different data...

  1. Support Staff 2 Posted by Tekkub on 04 Nov, 2009 06:00 AM

    Tekkub's Avatar

    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.

  2. 3 Posted by mantas on 04 Nov, 2009 09:10 AM

    mantas's Avatar

    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:

  3. Support Staff 4 Posted by Tekkub on 04 Nov, 2009 10:47 PM

    Tekkub's Avatar

    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.

  4. 5 Posted by mantas on 04 Nov, 2009 10:59 PM

    mantas's Avatar

    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:

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

24 Nov, 2009 08:50 AM
24 Nov, 2009 08:15 AM
24 Nov, 2009 07:22 AM
24 Nov, 2009 05:28 AM
24 Nov, 2009 03:51 AM