mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-07 21:17:16 -05:00
[GH-ISSUE #168] Mirror interval not match #1700
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MMMMMoris on GitHub (Jan 20, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/168
Problem 1
I have made my gitea mirror settings as follow:
I dont want to make a frequent sync, so I set
MIN_INTERVAL = 24h. But after setting this, gitea-mirror cannot finish any job with a default interval as 8hr.It seems that settings here make no differences.
Even though I changed the mirror interval from 8hr to 48hr manually in the mirrored gitea repository settings, it would be reset to 8hr by gitea-mirror after next scheduled sync, again.
I am really appreciated if this problem can resolved as soon as possible.
Problem 2
Is it possible to sync project description?
Every mirrored repository has no description, it's kind of wired to me.
Any support is thankful.
Problem 3
In the repository page, when you are operation, choose to sync or mirror or whatever, there will be a popping up message on the right bottom, which shadows the
add repositorybutton entirely.They should not be place in the same location. At least do something to make
add repositorybutton available while message pops up. Now I have to wait until the message disappears to add another repository.Obviously, pop up message can be placed on the left bottom, or just center top.
@MMMMMoris commented on GitHub (Jan 20, 2026):
Problem 1 seems cannot be resolved by adding env
GITEA_MIRROR_INTERVAL. I already have my gitea-mirror instance running.@arunavo4 commented on GitHub (Jan 21, 2026):
@MMMMMoris Thanks for the details for the problems. I will take a look this weeked and finish up a lot of pending issues
@MMMMMoris commented on GitHub (Jan 21, 2026):
Hi there! Thanks for your attention. There’s another thoughtful feature: making repository issue syncing optional. This means I can decide which repositories will sync issues. Some repositories are updated via issues, similar to a BBS, where the issues matter more than the code. However, since most repositories primarily update code, making issue syncing customizable per repository is a great option.
@arunavo4 commented on GitHub (Jan 22, 2026):
@MMMMMoris currently we have sync / dont sync for each repo but you want more control at each repo like for 1 repo dont sync issues, for another only sync code?
@MMMMMoris commented on GitHub (Jan 22, 2026):
Yes. Most repos choose code sync only as a default option, some other repos can choose to sync both code and issues.
@MMMMMoris commented on GitHub (Jan 24, 2026):
One more mistake. The author of the original repo seems to be duplicated unnecessarily.
@arunavo4 commented on GitHub (Feb 24, 2026):
Thanks for the detailed report. I opened a fix PR here: https://github.com/RayLabsHQ/gitea-mirror/pull/182
What is included:
About interval behavior:
Recommended setup is to set Gitea Mirror interval greater than or equal to server MIN_INTERVAL.