Subject: Post-Receive Hooks not Firing?

Original Post ben's Avatar

ben

06 Jul, 2009 07:25 PM

Hi; I'm trying to develop an add-on to our app to receive your post receive hooks. However, I seem to be running into some issues:

So, it didn't seem to be working, so I added a line to my script that e-mailed me with the post data anytime the script was requested. I requested it manually, worked fine. However, I haven't received any of theses e-mails from a github request. I dug a little deeper and found that GitHub (according to my logs) has not requested the file.

So I have a few questions:

1) Is Post-Receive Hooks not active when you have a free account?
2) Are they not active on public repos?
3) Do they remove get parameters from the URL you submit? 4) What is the payload when you click the test button?

Thanks!

  1. 2 Posted by ben on 06 Jul, 2009 09:37 PM

    ben's Avatar

    Ok; sot it appears that any GET in the URL is loped off and converted to a post. I now have it fixed. You really should document that behavior on the post-receive site.

  2. 3 Posted by Dustin Sallings on 07 Jul, 2009 05:32 AM

    Dustin Sallings's Avatar

    It's unclear what you mean. URLs don't have GET or POST. Those are methods for accessing URLs.

  3. Support Staff 4 Posted by defunkt on 07 Jul, 2009 06:43 AM

    defunkt's Avatar

    Sorry it was unclear ben.

    Chris

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

Recent Discussions

25 Nov, 2009 03:07 AM
25 Nov, 2009 01:41 AM
25 Nov, 2009 01:27 AM
24 Nov, 2009 10:56 PM
24 Nov, 2009 10:54 PM