go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.27k stars 5.51k forks source link

Sync/Mirror Issues and Pull-Requests on migrated repository #18369

Open M4NH3X opened 2 years ago

M4NH3X commented 2 years ago

Feature Description

Feature: Want to sync/mirror Issue/PR on demand or timely interval. Current situation: When migration (remote to gitea) is done and items like Issues/PR are checked, they are pulled perfectly initially. However, it's one-off and there is no way to fetch new issues/PR later on. Workaround: One has to once again initiate a new migration whenever they need to pull new issues/PR which is not idle and efficient. Another solution would be to use Mirror feature, but that only allows branches, tags, and commits. Why: It will help me to be in sync with my remote repository all the time and if in future I want to go Gitea exclusive then it can be done easily.

Version: Gitea Version: 1.15.10 PS: You guys are amazing btw and thank you for all the work and and providing this amazing project for free. :heart:

Screenshots

No response

ghost commented 2 years ago

Being able to sync pull requests and issues would make gitea the perfect alternative to github for me, personally. +1

rekby commented 2 years ago

It need to full backup of repository.

Issues can explain decisions, some regression test in sources contains issues number and if issues lost - it lost some information about fixed error.

For example I want store full private backups of my github repositories - for simple switch to them if my repo in github will blocked/removed.

Benjamin-Loison commented 1 year ago

Note that releases have the same sync issue.

hramrach commented 1 month ago

Is only github mirroring supported?

lunny commented 1 month ago

Please follow #20311

hramrach commented 1 month ago

That's exactly it, #20311 is only addressing github.