@dblessing We push and pull from GitHub manually every so often.
As you're aware, Repository Mirroring currently only does pull sync, not push. Do they intend to work in both repositories? That's not going to work, and will always be a hard problem to solve.
@dblessing I'm mostly afraid of the effect on load when people start adding mirror repositories to GitLab.com and we're refreshing hundreds of them every five minutes. Even if we don't make it a default, lots of people will choose that option.
@dblessing@DouweM Frequent sync should not be that big problem since the more often you do pull/fetch - the less new data will be downloaded. Agree that we should not allow really small interval. Few options for different kind of workflow should be enough. For example:
Here's our use case - we want to try Gitlab CI, but do not want/can (yet) migrate to GitLab for git.
In order for builds to be triggered in a timely manner, the repo sync should happen pretty often.
5 minutes would be OK, every minute or even 30 seconds would be ideal.
Some other options I can think of:
is there a way to notify GitLab when there is a change in the upstream repo (Bitbucket or Github)?
is there a way to use GitLab CI directly and trigger builds from the upstream repo (Bitbucket or Github)?
The developers can't pull/push to the intermediate server from within the enclave. So the intermediate gateway does the job of pushing/pulling.
And the cycle starts all over again. The enclave is quite often in some other country.
The number of hops times the interval of syncing adds up to a lengthy delay. I think 15 minutes is too long, but bearable. Productivity tends to suffer somewhat. In our case, it would be ideal to have events trigger the sync.