umläute
umläute

Reputation: 31374

automatically pushing sourceforge commits to github

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:

I have searched long and far but haven't found anything satisfying yet...

Any ideas?

Upvotes: 0

Views: 203

Answers (1)

VonC
VonC

Reputation: 1329122

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.

Upvotes: 1

Related Questions