gitea
gitea copied to clipboard
Mirror Summary
- [x] ~~Mirror issues along with the repo #1876~~
- [ ] Mirror new-created wiki when repositories migrated #2309
- [x] Reverse mirroring, from Gitea to remote Github/Gitlab/Gitea and etc. #3480
- [ ] Mirror repositories could not be readonly and Allow to push commits manually #7609
- [ ] Mirror an entire github organization into gitea organization #8424
- [ ] Mirror Topics #14590
- [ ] Mirror Docs
I searched for "Mirror" on https://docs.gitea.io, and I didn't see much describing how mirrors run;
e.g. what happens automatically (git pull, git prune from the origin codebase?)
and what must be updated by a manual process (issues, wiki pages).
Someone visiting gitea.com as an end user will probably need a summary page
of the purpose and mechanisms of mirror repositories.
Maybe a paragraph on the "import repository" page could help people learn more.
Is https://github.com/go-gitea/gitea/issues/3480 a duplicate issue to https://github.com/go-gitea/gitea/issues/7609?
@kdumontnu I think it's not the same. #3480 means a reverse mirror, #7609 means a mirror repository could be not readonly.
I searched for "Mirror" on https://docs.gitea.io, and I didn't see much describing how mirrors run; e.g. what happens automatically (
git pull,git prunefrom the origin codebase?) and what must be updated by a manual process (issues, wiki pages).Someone visiting
gitea.comas an end user will probably need a summary page of the purpose and mechanisms of mirror repositories. Maybe a paragraph on the "import repository" page could help people learn more.
Yes, mirror docs is also needed.
@lunny thx, but the syntax is very confusing then. You say "Reverse mirroring #7609" above, but "#3480 means reverse mirror".
Do you mean then: "Enable pushing to Gitea repo configured as secondary mirror #7609"? And "Enable Gitea as primary in mirror configuration #3480"?
We can use consistent diction for mirrors as "primary (push)" and "secondary (pull)"
Also, I added a bounty to #3480 if you can add the following:
[](https://www.bountysource.com/issues/54827645-ability-to-automatically-push-to-remote-mirror-repository)
@lunny thx, but the syntax is very confusing then. You say "Reverse mirroring #7609" above, but "#3480 means reverse mirror".
Do you mean then: "Enable pushing to Gitea repo configured as secondary mirror #7609"? And "Enable Gitea as primary in mirror configuration #3480"?
We can use consistent diction for mirrors as "primary (push)" and "secondary (pull)"
Also, I added a bounty to #3480 if you can add the following:
[](https://www.bountysource.com/issues/54827645-ability-to-automatically-push-to-remote-mirror-repository)
Thanks, I have updated the issue content. I haven't followed your advise because I think primary and secondary is still confusing. Please let me know if you think it's still confusing. :)
Option to "protect" mirrors (dont sync if it will drop commits or is a completly new history)
suggest add https://gitee.com support, from #15945
@a1012112796 wrong summary issue :)
Do you mean #8689?
I would suggest in addition to the issue #3480 to add the ability to only push certain branch, tags, etc.
see also #18220
ability to only push certain branch, tags, etc
I order to prevent deleted or force-pushed commits from appearing in the GitHub Activity(and again), it would be nice to have some threshold on commit age when scheduled push mirror is enabled. Like once per a day push the only commits (tags, etc.), which older than 8 hours, for example.