-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronize push mirror on push #18220
Comments
I think you're really asking for an API that would cause a push mirror to sync. Now the issue here is who that API should be available and how often it can be called. |
Seems similar to #16579 |
I'm coming from Bitbucket and I was using this plugin: https://github.com/ef-labs/stash-hook-mirror/wiki |
I think this feature request means Gitea sync the repo with the "push mirror" every time new commits are pushed to Gitea, rather than syncing on scheduled intervals. So it's not a public API. |
Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror. Related Issues: #18220 Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror. Related Issues: go-gitea#18220 Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
If this interpretation is correct, I suspect that this issue is a duplicate of my issue #16579. (I have now closed the other issue) |
I believe this issue is resolved as #19411 has been merged |
Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror. Related Issues: go-gitea#18220 Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror. Related Issues: go-gitea#18220 Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Feature Description
Allow a push mirror to synchronize on the push event like a web hook.
Make this the default behavior?
see also #18175
this would also provide a work around for #13539, as it would allow to trigger github actions on a mirror timely.
Screenshots
No response
The text was updated successfully, but these errors were encountered: