I have a git repository at SourceForge and now I need to move the repository from SourceForge to Github. I did it using Github import option given in following link.
Going forward I'm going to use the Github repository as the main repository where changes will push but I don't want to discontinue my SourceForge repository. Even though I will not push to SourceForge repository I want to setup an automated mechanism to synchronize changes for each push from Github to SourceForge. I found a Git option which can achieve this called “post-update” hooks and it works without any issue for repositories hosted in my internal servers.
http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
But Github seems not supporting for post-update hooks for security reasons and instead of that it supports for “Webhooks”
How to run post-receive hook on GitHub
But if I use Webhooks, I may have to setup an intermediate server which listen for these Webhook notifications and push the changes to SourceForge.
Question:
Is there any other setup I can follow to achieve directly synchronize a Github repository to a SourceForge repository without maintaining an intermediate repository as I explained with Webhooks?
Note: Setting up Github repo and the SourceForge repo both as remotes in the developers local repository won't work in my case because there will be dozens of developers involve in contributing to the project and we don't have control over it.