Updating remote mirrors when there is a new push or tag
Hi,
Current gitlab version update remote mirrors hourly. Also, you can pull changes from the upstream repo manually.
I suggest adding some triggerring options for updating remote mirror. For example, the remote repo can be automatically updated when there is a push or when it is tagged.
How: There will be settings under the mirror settings page for when to update the remote mirror.
- Update remote mirror when there is a push
- Update remote mirror when a tag created
- Update remote mirror hourly/daily/weekly
Why: We are using gitlab.com for our repos/projects. Plus, we have gitlab-ce installed on our servers for deployment purposes.
During build and deployment operations which take place in our servers, we want to clone the repo from our servers (located in the same datacenter) due to speed and performance.
However, in current mirroring settings, we need to wait for about an hour to see the repo has been updated from gitlab.com or we need manually to make/trigger it update itself (from gitlab.com) on our gitlab-ce.
Instead of this, gitlab.com can update our gitlab-ce when it detects a push or tag to the repo on gitlab.com
This will prevent waiting to see our own gitlab-ce has been updated from the upstream repo (gitlab.com). Or wait about an hour to see it has been updated.
I myself especially liked the mirroring feature and find it very useful for many usecases.
And I think such extra triggering options will make the mirroring feature more complete and usable.
Thanks,