I have 2 servers
- Server 1: Contains my central git repos the second
- Server 2: Contains my edgewell Trac enviroment
I am trying to get trac to update tickets based on git commit messages.
I know that there is a post-receive hook but that will only work on the server 1
How do I tell server 2 to run the trac-admin changeset added cmd?
Also if I created a clone of the git repo on server 2 then I am to use git pull cmds which in turn would call the post-merge hook but this doesn't seem to get called with the same stdin parameters that the post-receive hook has.
Is there a way of setting up server 1 to run an ssh cmd or send a data payload to a web cgi script on server 2 that performs a pull request on the cloned repo and proceeds to perform the trac-admin changeset added cmd?