I would like my sourceforge git repository be mirrored automatically on github.
Whenever I push (or anybody else with write access) something to sourceforge, the commit should "appear" on github.
There are two restrictions:
the pushing user should not need to do any configuration on their side (e.g. adding two remotes and pushing to both is not a solution)
i would like to go without any intermedia service I have to setup myself (e.g. a server that listens for webhook events from sf, then does a checkout of the updated repo, and pushes the changeset to github)
I have searched long and far but haven't found anything satisfying yet...
Any ideas?
Sourceforge webhooks are generally the right way to put in place some mirroring feature.
But since you don't won't webhook, nor do you want a client-side config, then you would still need to put in place somewhere a "pulling service" that would, on regular interval, fetch from the sourceforge repo and, if any new commit is detected, git push --mirror
to github.
the question was mainly whether sf can talk directly to github to trigger a "pull" on github.
No, Sf does not talk directly to GitHub.