1

Any ideas on connecting GitHub with a locally hosted Trac 0.12 instance? We were thinking of using GitHub's email service hook to shoot off an email anytime GitHub is pushed to, which would fire off a script to have our local repo pull from GitHub, and also tell Trac to re-sync the repo. Any ideas to improve on what we were thinking? If you need any more background info, let me know. Thanks!

Josh A.
  • 11
  • 1
  • your question is a bit too general, because we don't know your requirements. But take a look at http://stackoverflow.com/questions/623130/git-and-trac-or-similar, maybe that will help – wimh Jul 22 '11 at 22:35

2 Answers2

0

You should use a webhook, not the email service.

http://help.github.com/post-receive-hooks/

Tekkub
  • 30,739
  • 2
  • 30
  • 20
0

We were trying to avoid opening a port on on our firewall, so we thought an email might be easier than using the post-receive url service hook. If we had a publicly hosted Trac instance, we would definitely go the rout of the post-receive url, but since we are hosted internally, this is not an option.

  • 1
    This should be written as a comment on Tekkub's answer, not as an answer itself. – bta Jul 26 '11 at 00:00