Feature request to include the issues during repo migration/mirroring #2676

Closed
opened 2025-11-02 04:44:15 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @pankajazad on GitHub (Dec 22, 2018).

  • Gitea version (or commit ref):1.6.1
  • Git version:2.20
  • Operating system: windows 10 x64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

... The repo migration or mirroring process in gitea clones only the repository and not the issues associated with that. I think if gitea is used for migration or mirroring it can copy the relevant relational tables from .db file pertaining to that repo and make them available at the location where the repo is being migrated or mirrored. And why stop at that, the other information like wiki etc. can also be taken along.
I am aware that it might not be very simple but it'll definitely be worthwhile to at least consider it. Any other views are welcome.

Screenshots

Originally created by @pankajazad on GitHub (Dec 22, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref):1.6.1 - Git version:2.20 - Operating system: windows 10 x64 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description ... The repo migration or mirroring process in gitea clones only the repository and not the issues associated with that. I think if gitea is used for migration or mirroring it can copy the relevant relational tables from .db file pertaining to that repo and make them available at the location where the repo is being migrated or mirrored. And why stop at that, the other information like wiki etc. can also be taken along. I am aware that it might not be very simple but it'll definitely be worthwhile to at least consider it. Any other views are welcome. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:44:15 -06:00
Author
Owner

@kolaente commented on GitHub (Dec 22, 2018):

The mirror feature only mirrors git repos. There are a lot of platforms which don't have issues/prs/wikis associated with git repos.

I'd recomend you to use a tool like https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator if you want to migrate repos with issues and prs. Maybe one could extend that to provide a morror function.

@kolaente commented on GitHub (Dec 22, 2018): The mirror feature only mirrors git repos. There are a lot of platforms which don't have issues/prs/wikis associated with git repos. I'd recomend you to use a tool like https://git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator if you want to migrate repos with issues and prs. Maybe one could extend that to provide a morror function.
Author
Owner

@pankajazad commented on GitHub (Dec 23, 2018):

for keeping gitea compatible with other platforms which lack support for issues/prs/wikis associated with git repos this is fine but if we have gitea servers at both ends then its is good feature to have. Maybe the gitea-github-migrator tool can be added to gitea as a plugin or as third party library thereby making gitea a complete repo hosting solution.

@pankajazad commented on GitHub (Dec 23, 2018): for keeping gitea compatible with other platforms which lack support for issues/prs/wikis associated with git repos this is fine but if we have gitea servers at both ends then its is good feature to have. Maybe the gitea-github-migrator tool can be added to gitea as a plugin or as third party library thereby making gitea a complete repo hosting solution.
Author
Owner

@techknowlogick commented on GitHub (Jan 31, 2019):

Closing as per @kolaente message.

@techknowlogick commented on GitHub (Jan 31, 2019): Closing as per @kolaente message.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2676